cURL / Mailing Lists / curl-users / Single Mail

curl-users

Build problems on AIX with fd_set?

From: Ray DeGennaro at Eaglerock IS <ray.degennaro_at_eriscorp.com>
Date: Fri, 21 Feb 2003 09:55:59 -0600

I'm trying to build curl 7.9.8 on an AIX box and things chug along
fine until I get the error below. I've searched the code, but I
can't see a definition for fd_set, so I'm guess that this is
something that's supposed to be standard, but missing from AIX or
this box in particular. Any suggestions for getting this to compile?

Ray

gcc -DHAVE_CONFIG_H -I../include -I../lib -I../lib
-I/usr/local/ssl/include/open
ssl -I/usr/local/ssl/include -g -O2 -c file.c -Wp,-MD,.deps/file.TPlo -o file.o
In file included from ../include/curl/curl.h:802,
                  from cookie.h:19,
                  from urldata.h:36,
                  from file.c:67:
../include/curl/multi.h:109: parse error before `fd_set'
In file included from file.c:67:
urldata.h:241: parse error before `fd_set'
urldata.h:241: warning: no semicolon at end of struct or union
urldata.h:242: warning: data definition has no type or storage class
urldata.h:245: parse error before `readfd'
urldata.h:245: warning: data definition has no type or storage class
urldata.h:246: parse error before `writefd'
urldata.h:246: warning: data definition has no type or storage class
urldata.h:247: parse error before `rkeepfd'
urldata.h:247: warning: data definition has no type or storage class
urldata.h:248: parse error before `wkeepfd'
urldata.h:248: warning: data definition has no type or storage class
urldata.h:251: parse error before `}'
urldata.h:392: field `keep' has incomplete type
make: 1254-004 The error code from the last command is 1.

Stop.
make: 1254-004 The error code from the last command is 2.

Stop.
make: 1254-004 The error code from the last command is 1.

Stop.
#

-- 
.=================================================================.
| =-=-=-=-=-=-= Eagle Rock Information Systems Corp =-=-=-=-=-=-= |
| -=-=-=-=-=-=- web and database business solutions -=-=-=-=-=-=- |
|   <http://www.eriscorp.com>        <mailto:info@eriscorp.com>   |
|Midwest Regional Office: 815-547-0662 (voice) 503-905-8153 (eFax)|
.=================================================================.
-------------------------------------------------------
This SF.net email is sponsored by: SlickEdit Inc. Develop an edge.
The most comprehensive and flexible code editor you can use.
Code faster. C/C++, C#, Java, HTML, XML, many more. FREE 30-Day Trial.
www.slickedit.com/sourceforge
Received on 2003-02-21