Undefined reference to 'select()'

Steve O'Hara-Smith steve at sohara.org
Sat Jul 1 14:51:56 PDT 2006


On Sun, 18 Jun 2006 00:28:36 -0700
walt <wa1ter at xxxxxxxxxxxxx> wrote:

> On Sun, 18 Jun 2006, David Cuthbert wrote:
> 
> > walt wrote:
> > > Just for fun I added this prototype to the code:
> > > extern "C" int select(int, fd_set*, fd_set*, fd_set*, struct timeval*);
> > > Now I get complaints from <sys/select.h> about duplicate definitions
> > > of select()  :o(
> >
> > This indicates that sys/select.h should be wrapped in the extern "C". Sounds
> > like this got removed from a recent commit...
> 
> Simon just committed your suggestion -- problem solved!

	Any chance of slipping the Preview tag on this ?

-- 
C:>WIN                                      |   Directable Mirror Arrays
The computer obeys and wins.                | A better way to focus the sun
You lose and Bill collects.                 |    licences available see
                                            |    http://www.sohara.org/





More information about the Bugs mailing list