Unable to compile VLC
Posted: 01 Jul 2007 00:11
I can't compile the current release using Cygwin.
If you could help, please send me a reply.
The errors are highlighted in bold below.
//////////
rm -f libdtstofloat32_plugin.a
ar cru libdtstofloat32_plugin.a libdtstofloat32_plugin_a-dtstofloat32.o
ranlib libdtstofloat32_plugin.a
/bin/sh ../../../libtool --mode=link gcc -mno-cygwin -Wsign-compare -Wall -mms-bitfields -pipe -L/usr/win32/lib -o libdt
stofloat32_plugin.dll libdtstofloat32_plugin.a -L/usr/local/lib -g -shared -ldts_pic -u _vlc_entry__0_8_6
gcc -mno-cygwin -Wsign-compare -Wall -mms-bitfields -pipe -o libdtstofloat32_plugin.dll.exe -g -shared -u _vlc_entry__0_
8_6 -L/usr/win32/lib libdtstofloat32_plugin.a -L/usr/local/lib -ldts_pic
libdtstofloat32_plugin.a(libdtstofloat32_plugin_a-dtstofloat32.o): In function `Open':
/home/charles_tam/vlc-0.8.6c/modules/audio_filter/converter/dtstofloat32.c:219: undefined reference to `_dca_init'
libdtstofloat32_plugin.a(libdtstofloat32_plugin_a-dtstofloat32.o): In function `DoWork':
/home/charles_tam/vlc-0.8.6c/modules/audio_filter/converter/dtstofloat32.c:303: undefined reference to `_dca_syncinfo'
/home/charles_tam/vlc-0.8.6c/modules/audio_filter/converter/dtstofloat32.c:312: undefined reference to `_dca_frame'
/home/charles_tam/vlc-0.8.6c/modules/audio_filter/converter/dtstofloat32.c:331: undefined reference to `_dca_blocks_num'
/home/charles_tam/vlc-0.8.6c/modules/audio_filter/converter/dtstofloat32.c:335: undefined reference to `_dca_block'
/home/charles_tam/vlc-0.8.6c/modules/audio_filter/converter/dtstofloat32.c:341: undefined reference to `_dca_samples'
/home/charles_tam/vlc-0.8.6c/modules/audio_filter/converter/dtstofloat32.c:331: undefined reference to `_dca_blocks_num'
libdtstofloat32_plugin.a(libdtstofloat32_plugin_a-dtstofloat32.o): In function `Destroy':
/home/charles_tam/vlc-0.8.6c/modules/audio_filter/converter/dtstofloat32.c:376: undefined reference to `_dca_free'
libdtstofloat32_plugin.a(libdtstofloat32_plugin_a-dtstofloat32.o): In function `CloseFilter':
/home/charles_tam/vlc-0.8.6c/modules/audio_filter/converter/dtstofloat32.c:430: undefined reference to `_dca_free'
collect2: ld returned 1 exit status
make[6]: *** [libdtstofloat32_plugin.dll] Error 1
make[6]: Leaving directory `/home/charles_tam/vlc-0.8.6c/modules/audio_filter/converter'
make[5]: *** [all-modules] Error 1
make[5]: Leaving directory `/home/charles_tam/vlc-0.8.6c/modules/audio_filter/converter'
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory `/home/charles_tam/vlc-0.8.6c/modules/audio_filter'
make[3]: *** [all] Error 2
make[3]: Leaving directory `/home/charles_tam/vlc-0.8.6c/modules/audio_filter'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/charles_tam/vlc-0.8.6c/modules'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/charles_tam/vlc-0.8.6c'
make: *** [all] Error 2
//////////
The inputs are:
gcc 3.4.4-3
vlc-snapshot-branch-0.8.6-bugfix-20070618.tar.gz (VLC 0.8.6c)
contrib-20070530-win32-bin-gcc-3.4.5-only.tar.bz2
//////////
// This is my configure script (source Win32CompileCygwin, VideoLAN Wiki)
//////////
./bootstrap && \
CPPFLAGS="-I/usr/win32/include -I/usr/win32/include/ebml" \
LDFLAGS=-L/usr/win32/lib \
PKG_CONFIG_PATH=/usr/win32/lib/pkgconfig \
CC="gcc -mno-cygwin" CXX="g++ -mno-cygwin" \
./configure \
--enable-sdl --with-sdl-config-path=/usr/win32/bin --disable-gtk \
--enable-nls \
--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-live555 --with-live555-tree=/usr/win32/live.com \
--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 \
--disable-gnomevfs \
--enable-dts \
--enable-debug \
//////////
If you could help, please send me a reply.
The errors are highlighted in bold below.
//////////
rm -f libdtstofloat32_plugin.a
ar cru libdtstofloat32_plugin.a libdtstofloat32_plugin_a-dtstofloat32.o
ranlib libdtstofloat32_plugin.a
/bin/sh ../../../libtool --mode=link gcc -mno-cygwin -Wsign-compare -Wall -mms-bitfields -pipe -L/usr/win32/lib -o libdt
stofloat32_plugin.dll libdtstofloat32_plugin.a -L/usr/local/lib -g -shared -ldts_pic -u _vlc_entry__0_8_6
gcc -mno-cygwin -Wsign-compare -Wall -mms-bitfields -pipe -o libdtstofloat32_plugin.dll.exe -g -shared -u _vlc_entry__0_
8_6 -L/usr/win32/lib libdtstofloat32_plugin.a -L/usr/local/lib -ldts_pic
libdtstofloat32_plugin.a(libdtstofloat32_plugin_a-dtstofloat32.o): In function `Open':
/home/charles_tam/vlc-0.8.6c/modules/audio_filter/converter/dtstofloat32.c:219: undefined reference to `_dca_init'
libdtstofloat32_plugin.a(libdtstofloat32_plugin_a-dtstofloat32.o): In function `DoWork':
/home/charles_tam/vlc-0.8.6c/modules/audio_filter/converter/dtstofloat32.c:303: undefined reference to `_dca_syncinfo'
/home/charles_tam/vlc-0.8.6c/modules/audio_filter/converter/dtstofloat32.c:312: undefined reference to `_dca_frame'
/home/charles_tam/vlc-0.8.6c/modules/audio_filter/converter/dtstofloat32.c:331: undefined reference to `_dca_blocks_num'
/home/charles_tam/vlc-0.8.6c/modules/audio_filter/converter/dtstofloat32.c:335: undefined reference to `_dca_block'
/home/charles_tam/vlc-0.8.6c/modules/audio_filter/converter/dtstofloat32.c:341: undefined reference to `_dca_samples'
/home/charles_tam/vlc-0.8.6c/modules/audio_filter/converter/dtstofloat32.c:331: undefined reference to `_dca_blocks_num'
libdtstofloat32_plugin.a(libdtstofloat32_plugin_a-dtstofloat32.o): In function `Destroy':
/home/charles_tam/vlc-0.8.6c/modules/audio_filter/converter/dtstofloat32.c:376: undefined reference to `_dca_free'
libdtstofloat32_plugin.a(libdtstofloat32_plugin_a-dtstofloat32.o): In function `CloseFilter':
/home/charles_tam/vlc-0.8.6c/modules/audio_filter/converter/dtstofloat32.c:430: undefined reference to `_dca_free'
collect2: ld returned 1 exit status
make[6]: *** [libdtstofloat32_plugin.dll] Error 1
make[6]: Leaving directory `/home/charles_tam/vlc-0.8.6c/modules/audio_filter/converter'
make[5]: *** [all-modules] Error 1
make[5]: Leaving directory `/home/charles_tam/vlc-0.8.6c/modules/audio_filter/converter'
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory `/home/charles_tam/vlc-0.8.6c/modules/audio_filter'
make[3]: *** [all] Error 2
make[3]: Leaving directory `/home/charles_tam/vlc-0.8.6c/modules/audio_filter'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/charles_tam/vlc-0.8.6c/modules'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/charles_tam/vlc-0.8.6c'
make: *** [all] Error 2
//////////
The inputs are:
gcc 3.4.4-3
vlc-snapshot-branch-0.8.6-bugfix-20070618.tar.gz (VLC 0.8.6c)
contrib-20070530-win32-bin-gcc-3.4.5-only.tar.bz2
//////////
// This is my configure script (source Win32CompileCygwin, VideoLAN Wiki)
//////////
./bootstrap && \
CPPFLAGS="-I/usr/win32/include -I/usr/win32/include/ebml" \
LDFLAGS=-L/usr/win32/lib \
PKG_CONFIG_PATH=/usr/win32/lib/pkgconfig \
CC="gcc -mno-cygwin" CXX="g++ -mno-cygwin" \
./configure \
--enable-sdl --with-sdl-config-path=/usr/win32/bin --disable-gtk \
--enable-nls \
--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-live555 --with-live555-tree=/usr/win32/live.com \
--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 \
--disable-gnomevfs \
--enable-dts \
--enable-debug \
//////////