Undefined reference to 'select()'

Erik Wikström erik-wikstrom at telia.com
Fri Jun 16 08:30:23 PDT 2006

On 2006-06-16 10:04, walt wrote:
Something recently broke several ports with this same link error:

foo.o(.text+0x965): In function `foo::select()':
: undefined reference to `select(int, fd_set*, fd_set*, fd_set*, timeval*)'
Firefox, fam, and musicbrainz are three examples and I thinks there are
others as well.
select() is defined in libc, and I can see with ktrace that the linker
finds libc okay -- but it can't find 'select'.
Anyone else seeing this?
There was some changes to select recently but I can't find the commit- 
message, however I've found Alexey Slynko's mail to submit which you can 
read here: 

Make sure you have the latest version of the sources and try again, you 
might have updated at a bad moment.

Erik Wikström

More information about the Bugs mailing list