[OpenIndiana-discuss] VLC dependency libs
Andreas Wacknitz
A.Wacknitz at gmx.de
Sun Mar 1 20:43:13 UTC 2015
On 03/01/2015 21:25, russell wrote:
> Hi,
>
> I have currently built most libraries upon which VLC is dependant.
> I am however having a problem with libdvbpsi-1.2.0 which is
> generating the following error during compilation.
>
> libtool: link: gcc -g -O2 -Wall -Werror --std=gnu99 -D_GNU_SOURCE
> -Wpointer-arith -Wcast-align -Wcast-qual -Wstrict-prototypes -Wshadow
> -Waggregate-return -Wmissing-prototypes -Wnested-externs
> -Wsign-compare -DDVBPSI_DIST -pthread -o .libs/dvbinfo
> dvbinfo-dvbinfo.o dvbinfo-libdvbpsi.o dvbinfo-buffer.o dvbinfo-tcp.o
> dvbinfo-udp.o -L../../src
> /home/downloads/gnu/vlc/libs/libdvbpsi-1.2.0/src/.libs/libdvbpsi.so
> -L/opt/gnu/lib -lm -pthread -R/opt/gnu/lib
> Undefined first referenced
> symbol in file
> bind dvbinfo-udp.o
> recv dvbinfo-tcp.o
> socket dvbinfo-tcp.o
> setsockopt dvbinfo-tcp.o
> connect dvbinfo-tcp.o
> getaddrinfo dvbinfo-tcp.o
> freeaddrinfo dvbinfo-tcp.o
> gai_strerror dvbinfo-tcp.o
> shutdown dvbinfo-tcp.o
Under Solaris (and thus openindiana) you need to add libsocket and
libnsl (by means of -lsocket and -lnsl flags). You can find out this
easily by looking for the missing symbols in the man pages (eg. man
getaddrinfo).
Regards
Andreas
More information about the openindiana-discuss
mailing list