socketpair() ?

hi all,

while compiling xchat on RTP, the last linking found an

undefined reference to: socketpair


after i look at the symbol-table of all libraries via

find ./ -name “.so” -exec grep “pair” {} ; -print | less

i didn’t found the socketpair(). only in the

/usr/include/sys/socket.h

does anyone can help me ?

btw. the documentation says that socketpair() is in libsocket.so,
but it isn’t.


gruss
michael

Michael Taubert <taubert@managementakademie.de> wrote:
: hi all,

: while compiling xchat on RTP, the last linking found an

: undefined reference to: socketpair


: after i look at the symbol-table of all libraries via

: find ./ -name “.so” -exec grep “pair” {} ; -print | less

: i didn’t found the socketpair(). only in the

: /usr/include/sys/socket.h

: does anyone can help me ?

: btw. the documentation says that socketpair() is in libsocket.so,
: but it isn’t.

Michael,

Very sorry about this, an error in the documentation,
socketpair() is not yet implemented (we should have
at least stubbed it to return an error rather than
not having it at all.

It is in the works, but won’t appear for the next
patch.

Thomas

Thomas (toe-mah) Fletcher QNX Software Systems
thomasf@qnx.com Neutrino Development Group
(613)-591-0931 http://www.qnx.com/~thomasf