Skip to content

Solaris needs explicit -lsocket

VLC 1.0.1 When compiling vlc-wrapper, the following errors are issued:

Undefined                       first referenced
 symbol                             in file
recv                                rootwrap.o
send                                rootwrap.o
__xnet_socket                       rootwrap.o
setsockopt                          rootwrap.o
__xnet_socketpair                   rootwrap.o
__xnet_bind                         rootwrap.o
__xnet_sendmsg                      rootwrap.o
ld: fatal: Symbol referencing errors. No output written to vlc-wrapper
collect2: ld returned 1 exit status
gmake: *** [vlc-wrapper] Error 1

Those particular calls are made available by an explicit link to libsocket.

Edited by Rémi Denis-Courmont
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information