[vlc-devel] Building lbvlc.dll
Leonardo Cervo
leonardo1.poa at gmail.com
Tue Apr 11 04:48:04 CEST 2006
Hi,
I trying to build vlc(current snapshot) in mingw and contrib libs with
shared dll but in the end the linker fails with message:
g++ -Wsign-compare -Wsign-compare -Wall -mms-bitfields -pipe -o
vlc.exe vlc-vlc.o share/vlc_win32_rc.o -mwindows -Wl,-rpath
/usr/local/lib -L/mingw/lib -L/usr/local/lib -lkernel32
-L/usr/win32/lib /mingw/lib/libintl.a /mingw/lib/libiconv.a -lws2_32
-lnetapi32 -lwinmm -L/src/vlc-0.8.5-test2/src -lvlc
vlc-vlc.o(.text+0x1f):vlc.c: undefined reference to `VLC_Version'
vlc-vlc.o(.text+0x4c):vlc.c: undefined reference to `rootwrap'
vlc-vlc.o(.text+0x51):vlc.c: undefined reference to `VLC_Create'
vlc-vlc.o(.text+0x6f):vlc.c: undefined reference to `VLC_Init'
vlc-vlc.o(.text+0x99):vlc.c: undefined reference to `VLC_AddIntf'
vlc-vlc.o(.text+0xa7):vlc.c: undefined reference to `VLC_CleanUp'
vlc-vlc.o(.text+0xb3):vlc.c: undefined reference to `VLC_Destroy'
vlc-vlc.o(.text+0xd9):vlc.c: undefined reference to `VLC_Destroy'
collect2: ld returned 1 exit status
make[2]: *** [vlc.exe] Error 1
make[2]: Leaving directory `/src/vlc-0.8.5-test2'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/src/vlc-0.8.5-test2'
make: *** [all] Error 2
I using this configure options:
PKG_CONFIG_PATH=/mingw/lib/pkgconfig \
CPPFLAGS="-I/mingw/include -I/mingw/include/ebml" \
LDFLAGS=-L/mingw/lib \
./configure \
--enable-shared-libvlc \
--disable-skins2 \
--disable-activex \
--enable-nls \
--enable-sdl --with-sdl-config-path=/mingw/bin \
--enable-ffmpeg --with-ffmpeg-mp3lame --with-ffmpeg-faac \
--with-ffmpeg-zlib --enable-faad --enable-flac --enable-theora \
--with-wx-config-path=/mingw/bin \
--with-freetype-config-path=/mingw/bin \
--with-fribidi-config-path=/mingw/bin \
--enable-caca --with-caca-config-path=/mingw/bin \
--disable-libxml2 \
--disable-cddax --disable-vcdx \
--disable-mkv \
--disable-plugins
Any ideas whats wrong?
Thanks.
Leo
--
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