Compiling VLC with Cygwin
Posted: 05 Jun 2007 05:03
I am recently doing a project about vlc and i got some problem for my kicking start ...
if gcc -mno-cygwin -DHAVE_CONFIG_H -I. -I. -I../../.. -I/usr/win32/include -I/usr/win32/include/ebml -D_OFF_T_ -D_off_t=l
ng -DSYS_MINGW32 -I../../../include `top_builddir="../../.." ../../../vlc-config --cflags plugin dtstospdif` -Wsign-compare
Wall -I/usr/win32/include -I/usr/win32/include/ebml -mms-bitfields -pipe -MT libdtstospdif_plugin_a-dtstospdif.o -MD -MP -M
".deps/libdtstospdif_plugin_a-dtstospdif.Tpo" \
-c -o libdtstospdif_plugin_a-dtstospdif.o `test -f 'dtstospdif.c' || echo './'`dtstospdif.c; \
then mv -f ".deps/libdtstospdif_plugin_a-dtstospdif.Tpo" ".deps/libdtstospdif_plugin_a-dtstospdif.Po"; \
else rm -f ".deps/libdtstospdif_plugin_a-dtstospdif.Tpo"; exit 1; \
fi
rm -f libdtstospdif_plugin.a
ar cru libdtstospdif_plugin.a libdtstospdif_plugin_a-dtstospdif.o
ranlib libdtstospdif_plugin.a
/bin/sh ../../../libtool --mode=link gcc -mno-cygwin -Wsign-compare -Wall -I/usr/win32/include -I/usr/win32/include/ebml -mm
-bitfields -pipe -L/usr/win32/lib -o libdtstospdif_plugin.dll libdtstospdif_plugin.a -L/usr/local/lib -shared -u _vlc_entry_
0_8_6
gcc -mno-cygwin -Wsign-compare -Wall -I/usr/win32/include -I/usr/win32/include/ebml -mms-bitfields -pipe -o libdtstospdif_pl
gin.dll.exe -shared -u _vlc_entry__0_8_6 -L/usr/win32/lib libdtstospdif_plugin.a -L/usr/local/lib
if gcc -mno-cygwin -DHAVE_CONFIG_H -I. -I. -I../../.. -I/usr/win32/include -I/usr/win32/include/ebml -D_OFF_T_ -D_off_t=l
ng -DSYS_MINGW32 -I../../../include `top_builddir="../../.." ../../../vlc-config --cflags plugin dtstofloat32` -Wsign-compar
-Wall -I/usr/win32/include -I/usr/win32/include/ebml -mms-bitfields -pipe -MT libdtstofloat32_plugin_a-dtstofloat32.o -MD
MP -MF ".deps/libdtstofloat32_plugin_a-dtstofloat32.Tpo" \
-c -o libdtstofloat32_plugin_a-dtstofloat32.o `test -f 'dtstofloat32.c' || echo './'`dtstofloat32.c; \
then mv -f ".deps/libdtstofloat32_plugin_a-dtstofloat32.Tpo" ".deps/libdtstofloat32_plugin_a-dtstofloat32.Po"; \
else rm -f ".deps/libdtstofloat32_plugin_a-dtstofloat32.Tpo"; exit 1; \
fi
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 -I/usr/win32/include -I/usr/win32/include/ebml -mm
-bitfields -pipe -L/usr/win32/lib -o libdtstofloat32_plugin.dll libdtstofloat32_plugin.a -L/usr/local/lib -shared -ldts_pic
L/usr/win32/libdts -u _vlc_entry__0_8_6
gcc -mno-cygwin -Wsign-compare -Wall -I/usr/win32/include -I/usr/win32/include/ebml -mms-bitfields -pipe -o libdtstofloat32_
lugin.dll.exe -shared -u _vlc_entry__0_8_6 -L/usr/win32/lib libdtstofloat32_plugin.a -L/usr/local/lib -ldts_pic -L/usr/win3
/libdts
libdtstofloat32_plugin.a(libdtstofloat32_plugin_a-dtstofloat32.o):dtstofloat32.c:(.text+0x47b): undefined reference to `_dca
init'
libdtstofloat32_plugin.a(libdtstofloat32_plugin_a-dtstofloat32.o):dtstofloat32.c:(.text+0x74c): undefined reference to `_dca
syncinfo'
libdtstofloat32_plugin.a(libdtstofloat32_plugin_a-dtstofloat32.o):dtstofloat32.c:(.text+0x7cf): undefined reference to `_dca
frame'
libdtstofloat32_plugin.a(libdtstofloat32_plugin_a-dtstofloat32.o):dtstofloat32.c:(.text+0x859): undefined reference to `_dca
blocks_num'
libdtstofloat32_plugin.a(libdtstofloat32_plugin_a-dtstofloat32.o):dtstofloat32.c:(.text+0x86e): undefined reference to `_dca
block'
libdtstofloat32_plugin.a(libdtstofloat32_plugin_a-dtstofloat32.o):dtstofloat32.c:(.text+0x881): undefined reference to `_dca
samples'
libdtstofloat32_plugin.a(libdtstofloat32_plugin_a-dtstofloat32.o):dtstofloat32.c:(.text+0xa73): undefined reference to `_dca
blocks_num'
libdtstofloat32_plugin.a(libdtstofloat32_plugin_a-dtstofloat32.o):dtstofloat32.c:(.text+0xaf4): undefined reference to `_dca
free'
libdtstofloat32_plugin.a(libdtstofloat32_plugin_a-dtstofloat32.o):dtstofloat32.c:(.text+0xca4): undefined reference to `_dca
free'
collect2: ld returned 1 exit status
make[6]: *** [libdtstofloat32_plugin.dll] Error 1
make[6]: Leaving directory `/home/HIEU/vlc-0.8.6b/modules/audio_filter/converter'
make[5]: *** [all-modules] Error 1
make[5]: Leaving directory `/home/HIEU/vlc-0.8.6b/modules/audio_filter/converter'
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory `/home/HIEU/vlc-0.8.6b/modules/audio_filter'
make[3]: *** [all] Error 2
make[3]: Leaving directory `/home/HIEU/vlc-0.8.6b/modules/audio_filter'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/HIEU/vlc-0.8.6b/modules'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/HIEU/vlc-0.8.6b'
make: *** [all] Error 2
When i active --disable-dts or --disable-plugin i got also similar error type occur ...I already try install every devel in cygwin here is my current configure file
#!/bin/bash
./bootstrap && \
PATH=/usr/win32:$PATH \
PKG_CONFIG=/usr/win32/lib/pkgconfig \
CPPFLAGS="-I/usr/win32/include -I/usr/win32/include/ebml " \
CFLAGS="-I/usr/win32/include -I/usr/win32/include/ebml " \
LDFLAGS=-L/usr/win32/lib \
LIBS=-L/usr/win32/lib \
CC="gcc -mno-cygwin" CXX="g++ -mno-cygwin" \
./configure \
--disable-gtk \
--enable-nls \
--enable-dts \
--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-dts-tree=/usr/win32 \
--with-freetype-config-path=/usr/win32/bin \
--with-fribidi-config-path=/usr/win32/bin \
--enable-caca --with-caca-config-path =/usr/win32/bin \
--with-dvdnav-config-path=/usr/win32/bin \
--disable-cddax --disable-vcdx --enable-goom \
--enable-twolame --enable-dvdread \
--without-contrib
--enable-debug \
pls help me out of this ... thanx ... my goal for few month is to develop a plugin for VLC using visual-studio 2005 ...
if gcc -mno-cygwin -DHAVE_CONFIG_H -I. -I. -I../../.. -I/usr/win32/include -I/usr/win32/include/ebml -D_OFF_T_ -D_off_t=l
ng -DSYS_MINGW32 -I../../../include `top_builddir="../../.." ../../../vlc-config --cflags plugin dtstospdif` -Wsign-compare
Wall -I/usr/win32/include -I/usr/win32/include/ebml -mms-bitfields -pipe -MT libdtstospdif_plugin_a-dtstospdif.o -MD -MP -M
".deps/libdtstospdif_plugin_a-dtstospdif.Tpo" \
-c -o libdtstospdif_plugin_a-dtstospdif.o `test -f 'dtstospdif.c' || echo './'`dtstospdif.c; \
then mv -f ".deps/libdtstospdif_plugin_a-dtstospdif.Tpo" ".deps/libdtstospdif_plugin_a-dtstospdif.Po"; \
else rm -f ".deps/libdtstospdif_plugin_a-dtstospdif.Tpo"; exit 1; \
fi
rm -f libdtstospdif_plugin.a
ar cru libdtstospdif_plugin.a libdtstospdif_plugin_a-dtstospdif.o
ranlib libdtstospdif_plugin.a
/bin/sh ../../../libtool --mode=link gcc -mno-cygwin -Wsign-compare -Wall -I/usr/win32/include -I/usr/win32/include/ebml -mm
-bitfields -pipe -L/usr/win32/lib -o libdtstospdif_plugin.dll libdtstospdif_plugin.a -L/usr/local/lib -shared -u _vlc_entry_
0_8_6
gcc -mno-cygwin -Wsign-compare -Wall -I/usr/win32/include -I/usr/win32/include/ebml -mms-bitfields -pipe -o libdtstospdif_pl
gin.dll.exe -shared -u _vlc_entry__0_8_6 -L/usr/win32/lib libdtstospdif_plugin.a -L/usr/local/lib
if gcc -mno-cygwin -DHAVE_CONFIG_H -I. -I. -I../../.. -I/usr/win32/include -I/usr/win32/include/ebml -D_OFF_T_ -D_off_t=l
ng -DSYS_MINGW32 -I../../../include `top_builddir="../../.." ../../../vlc-config --cflags plugin dtstofloat32` -Wsign-compar
-Wall -I/usr/win32/include -I/usr/win32/include/ebml -mms-bitfields -pipe -MT libdtstofloat32_plugin_a-dtstofloat32.o -MD
MP -MF ".deps/libdtstofloat32_plugin_a-dtstofloat32.Tpo" \
-c -o libdtstofloat32_plugin_a-dtstofloat32.o `test -f 'dtstofloat32.c' || echo './'`dtstofloat32.c; \
then mv -f ".deps/libdtstofloat32_plugin_a-dtstofloat32.Tpo" ".deps/libdtstofloat32_plugin_a-dtstofloat32.Po"; \
else rm -f ".deps/libdtstofloat32_plugin_a-dtstofloat32.Tpo"; exit 1; \
fi
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 -I/usr/win32/include -I/usr/win32/include/ebml -mm
-bitfields -pipe -L/usr/win32/lib -o libdtstofloat32_plugin.dll libdtstofloat32_plugin.a -L/usr/local/lib -shared -ldts_pic
L/usr/win32/libdts -u _vlc_entry__0_8_6
gcc -mno-cygwin -Wsign-compare -Wall -I/usr/win32/include -I/usr/win32/include/ebml -mms-bitfields -pipe -o libdtstofloat32_
lugin.dll.exe -shared -u _vlc_entry__0_8_6 -L/usr/win32/lib libdtstofloat32_plugin.a -L/usr/local/lib -ldts_pic -L/usr/win3
/libdts
libdtstofloat32_plugin.a(libdtstofloat32_plugin_a-dtstofloat32.o):dtstofloat32.c:(.text+0x47b): undefined reference to `_dca
init'
libdtstofloat32_plugin.a(libdtstofloat32_plugin_a-dtstofloat32.o):dtstofloat32.c:(.text+0x74c): undefined reference to `_dca
syncinfo'
libdtstofloat32_plugin.a(libdtstofloat32_plugin_a-dtstofloat32.o):dtstofloat32.c:(.text+0x7cf): undefined reference to `_dca
frame'
libdtstofloat32_plugin.a(libdtstofloat32_plugin_a-dtstofloat32.o):dtstofloat32.c:(.text+0x859): undefined reference to `_dca
blocks_num'
libdtstofloat32_plugin.a(libdtstofloat32_plugin_a-dtstofloat32.o):dtstofloat32.c:(.text+0x86e): undefined reference to `_dca
block'
libdtstofloat32_plugin.a(libdtstofloat32_plugin_a-dtstofloat32.o):dtstofloat32.c:(.text+0x881): undefined reference to `_dca
samples'
libdtstofloat32_plugin.a(libdtstofloat32_plugin_a-dtstofloat32.o):dtstofloat32.c:(.text+0xa73): undefined reference to `_dca
blocks_num'
libdtstofloat32_plugin.a(libdtstofloat32_plugin_a-dtstofloat32.o):dtstofloat32.c:(.text+0xaf4): undefined reference to `_dca
free'
libdtstofloat32_plugin.a(libdtstofloat32_plugin_a-dtstofloat32.o):dtstofloat32.c:(.text+0xca4): undefined reference to `_dca
free'
collect2: ld returned 1 exit status
make[6]: *** [libdtstofloat32_plugin.dll] Error 1
make[6]: Leaving directory `/home/HIEU/vlc-0.8.6b/modules/audio_filter/converter'
make[5]: *** [all-modules] Error 1
make[5]: Leaving directory `/home/HIEU/vlc-0.8.6b/modules/audio_filter/converter'
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory `/home/HIEU/vlc-0.8.6b/modules/audio_filter'
make[3]: *** [all] Error 2
make[3]: Leaving directory `/home/HIEU/vlc-0.8.6b/modules/audio_filter'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/HIEU/vlc-0.8.6b/modules'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/HIEU/vlc-0.8.6b'
make: *** [all] Error 2
When i active --disable-dts or --disable-plugin i got also similar error type occur ...I already try install every devel in cygwin here is my current configure file
#!/bin/bash
./bootstrap && \
PATH=/usr/win32:$PATH \
PKG_CONFIG=/usr/win32/lib/pkgconfig \
CPPFLAGS="-I/usr/win32/include -I/usr/win32/include/ebml " \
CFLAGS="-I/usr/win32/include -I/usr/win32/include/ebml " \
LDFLAGS=-L/usr/win32/lib \
LIBS=-L/usr/win32/lib \
CC="gcc -mno-cygwin" CXX="g++ -mno-cygwin" \
./configure \
--disable-gtk \
--enable-nls \
--enable-dts \
--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-dts-tree=/usr/win32 \
--with-freetype-config-path=/usr/win32/bin \
--with-fribidi-config-path=/usr/win32/bin \
--enable-caca --with-caca-config-path =/usr/win32/bin \
--with-dvdnav-config-path=/usr/win32/bin \
--disable-cddax --disable-vcdx --enable-goom \
--enable-twolame --enable-dvdread \
--without-contrib
--enable-debug \
pls help me out of this ... thanx ... my goal for few month is to develop a plugin for VLC using visual-studio 2005 ...