cURL / Mailing Lists / curl-library / Single Mail

curl-library

curl 7.9.4 build - hp-ux 11i

From: Erick Nuwendam <erick.nuwendam_at_corobor.com>
Date: Mon, 8 Apr 2002 11:42:17 -0000

Hello,

I try to build curl 7.9.4 from the source package using gcc 3.0.4.

I face some problems : see below
Any advices is very welcome.
Thanks.

frost_at_messira:/frost/env/dvlp/curl-7.9.4 > configure
checking for a BSD compatible install... /opt/imake/bin/install -c
checking whether build environment is sane... yes
checking for mawk... no
checking for gawk... no
checking for nawk... no
checking for awk... awk
checking whether make sets ${MAKE}... yes
checking build system type... hppa2.0w-hp-hpux11.11
checking host system type... hppa2.0w-hp-hpux11.11
checking for style of include used by make... GNU
checking for gcc... gcc
checking for C compiler default output... configure: error: C compiler
cannot create executables

frost_at_messira:/frost/env/dvlp/curl-7.9.4 > make
No suffix list.
        make all-recursive
No suffix list.
Making all in docs
Making all in examples
No suffix list.
done
Making all in lib
        /bin/sh ../libtool --mode=compile
cc -DHAVE_CONFIG_H -I. -I. -I.. -I../src -I../include -g -O2 -c -o
file.lo `test -f file.c || echo './'`file.c
rm -f .libs/file.lo
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../src -I../include -g -O2 -c
ile.c -fPIC -DPIC -o .libs/file.lo
In file included from file.c:44:
/usr/include/sys/socket.h:439: parse error before "sendfile"
/usr/include/sys/socket.h:439: parse error before "bsize_t"
/usr/include/sys/socket.h:441: parse error before "sendpath"
/usr/include/sys/socket.h:441: parse error before "bsize_t"
/usr/include/sys/socket.h:456: parse error before "__sendfile64"
/usr/include/sys/socket.h:456: parse error before "bsize_t"
/usr/include/sys/socket.h:457: parse error before "__sendpath64"
/usr/include/sys/socket.h:457: parse error before "bsize_t"
/usr/include/sys/socket.h:459: parse error before "sendfile"
/usr/include/sys/socket.h: In function `sendfile':
/usr/include/sys/socket.h:459: parse error before "bsize_t"
/usr/include/sys/socket.h: At top level:
/usr/include/sys/socket.h:460: parse error before "sendpath"
/usr/include/sys/socket.h: In function `sendpath':
/usr/include/sys/socket.h:460: parse error before "bsize_t"
In file included from /usr/include/sys/mp.h:55,
                 from /usr/include/sys/malloc.h:59,
                 from /usr/include/net/netmp.h:53,
                 from /usr/include/net/if.h:59,
                 from file.c:61:
/usr/include/machine/sys/setjmp.h: At top level:
/usr/include/machine/sys/setjmp.h:45: redefinition of `struct label_t'
*** Error exit code 1

Stop.
*** Error exit code 1

Stop.
*** Error exit code 1

Stop.
Received on 2002-04-08