curl-users
[ curl-Bugs-500818 ] wont compile on FreeBSD 3.x
Date: Tue, 08 Jan 2002 06:13:37 -0800
Bugs item #500818, was opened at 2002-01-08 06:13
You can respond by visiting:
http://sourceforge.net/tracker/?func=detail&atid=100976&aid=500818&group_id=976
Category: compile problem
Group: portability problem
Status: Open
Resolution: None
Priority: 5
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Daniel Stenberg (bagder)
Summary: wont compile on FreeBSD 3.x
Initial Comment:
Hi there,
While compiling curl on FreeBSD 3.2 I came across the
following error at compile:
Making all in lib
/bin/sh
../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../src -
I.
./include -I/usr/local/ssl/include/openssl -
I/usr/local/ssl/include -g -O2 -c
-o sendf.lo `test -f sendf.c ||
echo './'`sendf.c
rm -f .libs/sendf.lo
gcc -DHAVE_CONFIG_H -I. -
I. -I.. -I../src -I../include -I/usr/local/ssl/include/
openssl -
I/usr/local/ssl/include -g -O2 -c sendf.c -fPIC -DPIC -o
.libs/sendf.l
o
In file included from
sendf.c:31:
/usr/include/sys/socket.h:139: parse error
before `u_char'
/usr/include/sys/socket.h:139: warning: no
semicolon at end of struct or
union
/usr/include/sys/socket.h:140: warning: data
definition has no type or storage c
lass
<snip>
This can be
fixed by merely adding a:
#include <sys/types.h>
to sendf.c
- Marc
----------------------------------------------------------------------
You can respond by visiting:
http://sourceforge.net/tracker/?func=detail&atid=100976&aid=500818&group_id=976
Received on 2002-01-08