Subject: e: fd_set undeclared
To: None <tech-pkg@netbsd.org>
From: Mahesh Chittur <dataduplex@hotmail.com>
List: tech-pkg
Date: 06/11/2003 22:59:05
hi,
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.
-Mahesh
>>From: "Jeremy C. Reed" <reed@reedmedia.net>
>>To: Mahesh Chittur <dataduplex@hotmail.com>
>>CC: tech-pkg@netbsd.org
>>Subject: Re: fd_set undeclared
>>Date: Wed, 11 Jun 2003 14:21:39 -0700 (PDT)
>>MIME-Version: 1.0
>>Received: from pilchuck.reedmedia.net ([209.166.74.74]) 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-Message-Info: JGTYoYF78jEHjJx36Oi8+Q1OJDRSDidP
>>In-Reply-To: <Law11-F85VoLBb2H60M0009084d@hotmail.com>
>>Message-ID:
>><Pine.LNX.4.43.0306111420090.4676-100000@pilchuck.reedmedia.net>
>>Return-Path: reed@reedmedia.net
>>X-OriginalArrivalTime: 11 Jun 2003 21:21:41.0734 (UTC)
>>FILETIME=[73AE6060:01C3305F]
>>
>>On Wed, 11 Jun 2003, Mahesh Chittur wrote:
>>
>> > i was compiling ncbi toolkit, in the file ncbimsg.c gave a
>>compile-time
>> > error as <sys/types.h> does not
>> > include definitions for fd_set . I included the header file
>><sys/types.h>,
>> > 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
>> http://bsd.reedmedia.net/
>>
>>
>
>_________________________________________________________________
>The new MSN 8: smart spam protection and 2 months FREE*
>http://join.msn.com/?page=features/junkmail
>
_________________________________________________________________
Help STOP SPAM with the new MSN 8 and get 2 months FREE*
http://join.msn.com/?page=features/junkmail