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

Re: Undefined reference to 'select()'


From: "Steve O'Hara-Smith" <steve@xxxxxxxxxx>
Date: Sat, 1 Jul 2006 22:46:38 +0100

On Sun, 18 Jun 2006 00:28:36 -0700
walt <wa1ter@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/



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