Subject: e: fd_set undeclared
To: None <email@example.com>
From: Mahesh Chittur <firstname.lastname@example.org>
Date: 06/11/2003 22:59:05
Thank u jermy for the suggestion, I guess the value
#define _XOPEN_SOURCE 600
should be in corelib/ncbilcl.bsd rather than /corelib/ncbicl.fbd.
it worked for me.
>>From: "Jeremy C. Reed" <email@example.com>
>>To: Mahesh Chittur <firstname.lastname@example.org>
>>Subject: Re: fd_set undeclared
>>Date: Wed, 11 Jun 2003 14:21:39 -0700 (PDT)
>>Received: from pilchuck.reedmedia.net ([184.108.40.206]) by
>>mc9-f12.bay6.hotmail.com with Microsoft SMTPSVC(5.0.2195.5600); Wed, 11
>>Jun 2003 14:21:41 -0700
>>Received: from reed by pilchuck.reedmedia.net with local-esmtp (Exim 3.12
>>#1 (Debian))id 19QD2J-0001JD-00; Wed, 11 Jun 2003 14:21:39 -0700
>>X-OriginalArrivalTime: 11 Jun 2003 21:21:41.0734 (UTC)
>>On Wed, 11 Jun 2003, Mahesh Chittur wrote:
>> > i was compiling ncbi toolkit, in the file ncbimsg.c gave a
>> > error as <sys/types.h> does not
>> > include definitions for fd_set . I included the header file
>> > and still give the compilation error as
>> > " 'fd_set' undeclared ( first use in this function )"
>>Did you get my earlier suggestion?
>>Since its corelib/ncbilcl.fbd defines _POSIX_C_SOURCE, I think you need to
>>also increase _XOPEN_SOURCE. Try adding to corelib/ncbilcl.fbd:
>>#define _XOPEN_SOURCE 600
>>Did you try it?
>> Jeremy C. Reed
>The new MSN 8: smart spam protection and 2 months FREE*
Help STOP SPAM with the new MSN 8 and get 2 months FREE*