DragonFly BSD
DragonFly bugs List (threaded) for 2006-06
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: Undefined reference to 'select()'


From: walt <wa1ter@xxxxxxxxxxxxx>
Date: Sun, 18 Jun 2006 00:28:36 -0700

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!

Thanks to you both for your help.





[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]