cURL / Mailing Lists / curl-users / Single Mail

curl-users

Build Problem. (FreeBSD 4.1.1-STABLE)

From: Anders Almman <anders_at_phuket.com>
Date: Wed, 26 Dec 2001 11:29:12 +0700

Trying to build on FreeBSD 4.1.1-STABLE.

cURL v.7.9.2

I get this problem, any clues?

best regards for a quick response.

gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../src -I../include -I/home/reserve/.usr/include -I/home/reserve/.usr/include -I/home/reserve/.usr/openssl/include/openssl -I/home/reserve/.usr/openssl/include -g -O2 -c sendf.c -fPIC -DPIC -o .libs/sendf.lo
In file included from sendf.c:31:
socket.h:47: syntax error before `sa_family_t'
socket.h:47: warning: data definition has no type or storage class
socket.h:48: syntax error before `socklen_t'
socket.h:48: warning: data definition has no type or storage class
socket.h:155: syntax error before `u_char'
socket.h:166: syntax error before `u_short'
socket.h:180: syntax error before `u_char'
socket.h:182: `int64_t' undeclared here (not in a function)
socket.h:182: `u_char' undeclared here (not in a function)
socket.h:182: size of array `__ss_pad1' is too large
socket.h:183: syntax error before `int64_t'
socket.h:184: `u_char' undeclared here (not in a function)
socket.h:184: `int64_t' undeclared here (not in a function)
socket.h:184: `u_char' undeclared here (not in a function)
socket.h:184: `int64_t' undeclared here (not in a function)
socket.h:304: syntax error before `socklen_t'
socket.h:308: syntax error before `socklen_t'
socket.h:330: syntax error before `socklen_t'
socket.h:351: syntax error before `pid_t'
socket.h:356: syntax error before `gid_t'
socket.h:387: syntax error before `u_short'
socket.h:395: syntax error before `caddr_t'
socket.h:399: syntax error before `caddr_t'
socket.h:425: syntax error before `socklen_t'
socket.h:426: syntax error before `socklen_t'
socket.h:427: syntax error before `socklen_t'
socket.h:428: syntax error before `socklen_t'
socket.h:429: syntax error before `socklen_t'
socket.h:430: syntax error before `socklen_t'
socket.h:432: syntax error before `recv'
socket.h:432: warning: data definition has no type or storage class
socket.h:433: syntax error before `recvfrom'
socket.h:433: syntax error before `socklen_t'
socket.h:433: warning: data definition has no type or storage class
socket.h:434: syntax error before `recvmsg'
socket.h:434: warning: data definition has no type or storage class
socket.h:435: syntax error before `send'
socket.h:435: warning: data definition has no type or storage class
socket.h:436: syntax error before `sendto'
socket.h:437: syntax error before `socklen_t'
socket.h:437: warning: data definition has no type or storage class
socket.h:438: syntax error before `sendmsg'
socket.h:438: warning: data definition has no type or storage class
socket.h:439: syntax error before `off_t'
socket.h:440: syntax error before `socklen_t'
*** Error code 1
Received on 2001-12-26