undefined reference to `pselect'

Markus Rothe markus at unixforces.net
Fri Jan 25 16:38:27 UTC 2008


Hello,

I'm trying to compile paludis ([1]) on my Gentoo PPC/uclibc system, but it
fails due to an undefined reference to pselect.

For testing purpose I've taken the example from pselect manpage, which fails
the same way as paludis does. The failing file is attached to this mail.

Here comes the error:

  $ make pselect
  cc     pselect.c   -o pselect
  /tmp/ccLqJzkO.o: In function `main':
  pselect.c:(.text+0x98): undefined reference to `pselect'
  collect2: ld returned 1 exit status
  make: *** [pselect] Error 1


Do I have to link to some library, or is this an error in uclibc?

Regards,

-markus

[1] http://paludis.pioto.org/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pselect.c
Type: text/x-csrc
Size: 658 bytes
Desc: not available
Url : http://lists.busybox.net/pipermail/uclibc/attachments/20080125/b4189c20/attachment-0002.c 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.busybox.net/pipermail/uclibc/attachments/20080125/b4189c20/attachment-0002.pgp 


More information about the uClibc mailing list