[vlc-devel] Build problem with Linux mingw32 cross compile svn 21296

Vladimir Kokovic vladimir.kokovic at a-asoft.com
Mon Aug 20 09:05:48 CEST 2007


Hi,

I am unable to build VLC svn source with mingw32 cross compiler.

Kubuntu 7.10

Linux vladakk-asoft 2.6.22-9-generic #1 SMP Fri Aug 3 00:50:37 GMT 2007 i686 GNU/Linux

Contrib libs: contrib-20070530-win32-bin-gcc-3.4.5-only.tar.bz2

-----------------------------------------------------------------

root at vladakk-asoft:/temporary/vlc-svn# ./vk-build-java-mingw32.sh

BUILD_DIR=vlc-trunk-mingw32
JAVA_HOME=/usr/lib/j2sdk6.0-sun;export JAVA_HOME

ln -s $JAVA_HOME/bin/java $JAVA_HOME/bin/java.exe && ln -s $JAVA_HOME/bin/javac $JAVA_HOME/bin/javac.exe
/bin/rm -r -f ../$BUILD_DIR
/bin/cp -pr vlc-trunk/ ../$BUILD_DIR
cd ../$BUILD_DIR

./bootstrap > build-out0.log 2>&1 && \
PKG_CONFIG_LIBDIR=/usr/win32/lib/pkgconfig \
CPPFLAGS="-I/usr/win32/include -I/usr/win32/include/ebml" \
LDFLAGS=-L/usr/win32/lib \
JAVA_HOME=/usr/lib/j2sdk6.0-sun \
JAVAC=$JAVA_HOME/bin/javac.exe \
JAVA=$JAVA_HOME/bin/java.exe \
CC=i586-mingw32msvc-gcc CXX=i586-mingw32msvc-g++ \
./configure --host=i586-mingw32msvc --build=i386-linux --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-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 \
   --enable-wxwidgets=no --enable-dc1394=no \
   --enable-debug --enable-java-bindings --enable-shared-libvlc >> build-out0.log 2>&1 && \
make all >> build-out0.log 2>&1

------------------------------------------------------------------------------------------
build-out0.log:

...
/bin/bash ../../../libtool --tag=CC --mode=link i586-mingw32msvc-gcc -std=gnu99  -mms-bitfields -Wall -Wextra -Wno-unused-parameter -Wsign-compare -Wundef -Wpointer-arith -Wbad-function-cast -Wcast-align -Wwrite-strings -Wold-style-definition 
-Wmissing-prototypes -rpath '/usr/local/lib/vlc/codec' -avoid-version -module -no-undefined -shrext .dll -export-dynamic  -L/usr/win32/lib -o libffmpeg_plugin.la  `top_builddir="../../.." ../../../vlc-config --libs plugin ffmpeg` -rpath 
'/usr/local/lib/vlc/codec' -avoid-version -module -no-undefined -shrext .dll -export-dynamic  libffmpeg_plugin_la-ffmpeg.lo libffmpeg_plugin_la-video.lo libffmpeg_plugin_la-audio.lo libffmpeg_plugin_la-video_filter.lo libffmpeg_plugin_la-chroma.lo 
libffmpeg_plugin_la-encoder.lo libffmpeg_plugin_la-postprocess.lo libffmpeg_plugin_la-demux.lo libffmpeg_plugin_la-mux.lo libffmpeg_plugin_la-scale.lo  -L../../../src -lvlc
i586-mingw32msvc-gcc -std=gnu99 -shared  .libs/libffmpeg_plugin_la-ffmpeg.o .libs/libffmpeg_plugin_la-video.o .libs/libffmpeg_plugin_la-audio.o .libs/libffmpeg_plugin_la-video_filter.o .libs/libffmpeg_plugin_la-chroma.o .libs/libffmpeg_plugin_la-encoder.o 
.libs/libffmpeg_plugin_la-postprocess.o .libs/libffmpeg_plugin_la-demux.o .libs/libffmpeg_plugin_la-mux.o .libs/libffmpeg_plugin_la-scale.o  -L/usr/win32/lib -L/usr/local/lib -lavformat -lpostproc -lavcodec -lavutil /usr/win32/lib/libvorbis.a 
/usr/win32/lib/libvorbisenc.a /usr/win32/lib/libtheora.a /usr/win32/lib/libogg.a -lraw1394 -ldc1394_control -lgsm -lz /usr/win32/lib/libfaac.a /usr/win32/lib/libmp3lame.a -L/temporary/vlc-trunk-mingw32/src 
/temporary/vlc-trunk-mingw32/src/.libs/libvlc.dll.a  -mms-bitfields -o .libs/libffmpeg_plugin.dll -Wl,--enable-auto-image-base -Xlinker --out-implib -Xlinker .libs/libffmpeg_plugin.dll.a
/usr/lib/gcc/i586-mingw32msvc/3.4.5/../../../../i586-mingw32msvc/bin/ld: cannot find -lraw1394
collect2: ld returned 1 exit status
make[6]: *** [libffmpeg_plugin.la] Error 1
make[6]: Leaving directory `/temporary/vlc-trunk-mingw32/modules/codec/ffmpeg'
make[5]: *** [all-modules] Error 1
make[5]: Leaving directory `/temporary/vlc-trunk-mingw32/modules/codec/ffmpeg'
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory `/temporary/vlc-trunk-mingw32/modules/codec'
make[3]: *** [all] Error 2
make[3]: Leaving directory `/temporary/vlc-trunk-mingw32/modules/codec'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/temporary/vlc-trunk-mingw32/modules'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/temporary/vlc-trunk-mingw32'
make: *** [all] Error 2

------------------------------------------------------------------------------

Regards,
Vladimir Kokovic, Belgrade, Serbia










_______________________________________________
vlc-devel mailing list
To unsubscribe or modify your subscription options:
http://mailman.videolan.org/listinfo/vlc-devel


More information about the vlc-devel mailing list