[OpenIndiana-discuss] VLC dependency libs

ken mays maybird1776 at yahoo.com
Mon Mar 2 00:37:44 UTC 2015


Russell,
VLC 2.2.0 compiles on oi-hipster. 
You can review other patches and compiler hints through SFE:Spec Files Extra Repository - OpenIndiana - OpenIndiana Wiki
pkgbuild / Spec Files Extra / [r5925] /spec-files-extra/trunk/experimental/SFEvlc-2.0.7.spec

Thanks,Ken

|   |
|   |   |   |   |   |
| pkgbuild / Spec Files Extra / [r5925] /spec-files-extra/trunk/experimental/SFEvlc-2.0.7.spec# # spec file for package SFEvlc # # includes module(s): vlc # %define debug_build 1 ##TODO## re-enable and test taglib later %define enable_taglib 0 %define enable_matroska 1 %define enable_libumem 1  |
|  |
| View on sourceforge.net | Preview by Yahoo |
|  |
|   |

  
|   |
|   |   |   |   |   |
| Spec Files Extra Repository - OpenIndiana - OpenIndiana WikiThis page needs updates. Volunteers please. The binary repository needs updates too (well, it needs a maintainer who builds the packages - volunteers please).  |
|  |
| View on wiki.openindiana.org | Preview by Yahoo |
|  |
|   |

   

     On Sunday, March 1, 2015 12:43 PM, Andreas Wacknitz <A.Wacknitz at gmx.de> wrote:
   

 
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


_______________________________________________
openindiana-discuss mailing list
openindiana-discuss at openindiana.org
http://openindiana.org/mailman/listinfo/openindiana-discuss


   


More information about the openindiana-discuss mailing list