[vlc-devel] Linking problem in vlc-trunk

Mats Rojestal mats.rojestal at bredband.net
Sun Jan 7 14:30:38 CET 2007


Hi,

I get this Undefined symbol error in latest vlc-trunk when linking vlc:

> Odefinierad                     först refererad
>  symbol                             i fil
> vlc_wclosedir                       src/.libs/libvlc.so
> VLC_Init                            vlc-vlc.o
> vlc_strncasecmp                     src/.libs/libvlc.so
> vlc_atof                            src/.libs/libvlc.so
> VLC_Create                          vlc-vlc.o
> vlc_getenv                          src/.libs/libvlc.so
> vlc_opendir                         src/.libs/libvlc.so
> rootwrap                            vlc-vlc.o
> vlc_strdup                          src/.libs/libvlc.so
> vlc_closedir                        src/.libs/libvlc.so
> vlc_DictClear                       src/.libs/libvlc.so
> VLC_AddIntf                         vlc-vlc.o
> vlc_readdir                         src/.libs/libvlc.so
> vlc_atoll                           src/.libs/libvlc.so
> vlc_lldiv                           src/.libs/libvlc.so
> vlc_scandir                         src/.libs/libvlc.so
> vlc_dgettext                        src/.libs/libvlc.so
> VLC_CleanUp                         vlc-vlc.o
> vlc_DictInsert                      src/.libs/libvlc.so
> vlc_DictGet                         src/.libs/libvlc.so
> vlc_DictNew                         src/.libs/libvlc.so
> VLC_Destroy                         vlc-vlc.o
> vlc_strtoll                         src/.libs/libvlc.so
> vlc_strlcpy                         src/.libs/libvlc.so
> VLC_Die                             vlc-vlc.o
> vlc_strcasecmp                      src/.libs/libvlc.so
> vlc_alphasort                       src/.libs/libvlc.so
> vlc_DictLookup                      src/.libs/libvlc.so
> VLC_Changeset                       src/.libs/libvlc.so
> ld: allvarligt: Symbolreferensfel. Inga utdata skrivs till .libs/vlc
> collect2: ld returned 1 exit status
> make[2]: *** [vlc] Fel 1

My configure line is:./configure --with-ffmpeg-mp3lame --with-ffmpeg-faac 
--with-ffmpeg-dts --with-ffmpeg-vorbis --with-ffmpeg-ogg --with-ffmpeg-zlib 
--with-a52=/usr/local --with-live555-tree=/usr/local/matsro/live 
--enable-java-bindings

I did not have this problem with 0.8.6 and output from "nm src/.libs/libvlc.so" 
gives for the first undefined symbol:
[4040]  |         0|       0|NOTY |GLOB |0    |UNDEF  |vlc_wclosedir

and indeed this symbol is missing, and i don't have a clue how to fix it.

Help.

Regards Mats R









-- 
This is the vlc-devel mailing-list, see http://www.videolan.org/vlc/
To unsubscribe, please read http://developers.videolan.org/lists.html



More information about the vlc-devel mailing list