cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: Build problems on AIX with fd_set (maybe net/if.h too)?

From: Ray DeGennaro at Eaglerock IS <ray.degennaro_at_eriscorp.com>
Date: Sun, 9 Mar 2003 23:59:53 -0600

At 17:41 +0100 3/7/03, Daniel Stenberg wrote:
>On Fri, 7 Mar 2003, Ray DeGennaro at Eaglerock IS wrote:
>
>>The problem that I get is a parse error with fd_set. Please see
>>the complete error [1] at the bottom.
>
>Can you figure out which include file you need to include to get
>this fd_set stuff working?
>
>'man select' should probably mention them.

#include <sys/time.h>
#include <sys/select.h>
#include <sys/types.h>

>Then try adding those to curl/multi.h (and to lib/urldata.h and ...)
>and see if that helps.

I added these to multi.h, right before "#include "curl.h"', and
everything worked fine, AFAICT.

>
>>The client site has gcc version 2.7.2.2. Maybe a compiler update
>>(if I'm allowed) and a recompile of m4, automake and autoconf
>>followed by a clean ./configure and make of cURL might do the trick?
>
>Hardly. This is header-related and I doubt those updates would make a
>difference.

I was thinking that if the headers were messed-up that the upgrade
with include fixed headers.

Ray

-- 
.=================================================================.
| =-=-=-=-=-=-= 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: Etnus, makers of TotalView, The debugger 
for complex code. Debugging C/C++ programs can leave you feeling lost and 
disoriented. TotalView can help you find your way. Available on major UNIX 
and Linux platforms. Try it free. www.etnus.com
Received on 2003-03-10