[vlc] undefined reference _VLC_version + others

Julien Le Cléach julien.lecleach-ste-exterieure at fr.thalesgroup.com
Wed Jun 14 11:51:55 CEST 2006


Hi,

When compiling VLC on RedHat enterprise 3 with cross-compiler mingw32, I got this :

vlc-vlc.o(.text+0x1f): In function `main':
/home/development/vlc-0.8.5/src/vlc.c:59: undefined reference to `_VLC_Version'
vlc-vlc.o(.text+0x64):/home/development/vlc-0.8.5/src/vlc.c:78: undefined reference to `_rootwrap'
vlc-vlc.o(.text+0x69):/home/development/vlc-0.8.5/src/vlc.c:81: undefined reference to `_VLC_Create'
vlc-vlc.o(.text+0x87):/home/development/vlc-0.8.5/src/vlc.c:102: undefined reference to `_VLC_Init'
vlc-vlc.o(.text+0xb1):/home/development/vlc-0.8.5/src/vlc.c:109: undefined reference to `_VLC_AddIntf'
vlc-vlc.o(.text+0xbf):/home/development/vlc-0.8.5/src/vlc.c:112: undefined reference to `_VLC_CleanUp'
vlc-vlc.o(.text+0xcb):/home/development/vlc-0.8.5/src/vlc.c:115: undefined reference to `_VLC_Destroy'
vlc-vlc.o(.text+0xef):/home/development/vlc-0.8.5/src/vlc.c:105: undefined reference to `_VLC_Destroy'

I already read something about this problem in mailing-list archive : [vlc-devel] Building lbvlc.dll
But my case is not so similar for I do not use -enable-shared-libvlc nor -disable-plugins for my 
configuration :

PKG_CONFIG_PATH=/usr/win32/lib/pkgconfig \
CPPFLAGS="-I/usr/win32/include -I/usr/win32/include/ebml" \
LDFLAGS=-L/usr/win32/lib \
CC=mingw32-gcc CXX=mingw32-g++ \
./configure \
     --host=mingw32 --build=i386-pc-linux-gnu \
     --disable-gtk \
     --enable-nls --enable-sdl --with-sdl-config-path=/usr/win32/bin \
     --enable-ffmpeg --with-ffmpeg-mp3lame --with-ffmpeg-faac \
     --with-ffmpeg-zlib --enable-faad --enable-flac --enable-theora \
     --with-wx-config-path=/usr/win32/bin \
     --with-freetype-config-path=/usr/win32/bin \
     --with-fribidi-config-path=/usr/win32/bin \
     --enable-caca --with-caca-config-path=/usr/win32/bin \
     --with-xml2-config-path=/usr/win32/bin \
     --with-dvdnav-config-path=/usr/win32/bin \
     --disable-cddax --disable-vcdx --enable-goom \
     --enable-twolame --enable-dvdread \
     --enable-debug

Can someone tell me what is the matter ?
Thanks.

Julien.

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



More information about the vlc mailing list