Subject: Re: fd_set undeclared
To: None <email@example.com, firstname.lastname@example.org>
From: Mahesh Chittur <email@example.com>
Date: 06/11/2003 22:55:35
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" <firstname.lastname@example.org>
>To: Mahesh Chittur <email@example.com>
>Subject: Re: fd_set undeclared
>Date: Wed, 11 Jun 2003 14:21:39 -0700 (PDT)
>Received: from pilchuck.reedmedia.net ([126.96.36.199]) 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 compile-time
> > 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*