[vlc-devel] Linux mingw32 cross compile problem - today git (18h CET)

Vladimir Kokovic vladimir.kokovic at a-asoft.com
Wed Mar 5 18:47:50 CET 2008


Hi,

Linux vladakk-kuci 2.6.22-14-generic #1 SMP Tue Feb 12 07:42:25 UTC 2008 i686 GNU/Linux


./bootstrap > build-out0.log 2>&1 && \
PKG_CONFIG_LIBDIR=$CONTRIB_DIR/lib/pkgconfig \
CPPFLAGS="-I${CONTRIB_DIR}/include -I${CONTRIB_DIR}/include/ebml" \
LDFLAGS=-L${CONTRIB_DIR}/lib \
JAVA_HOME=/usr/lib/jvm/java-6-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=$CONTRIB_DIR/bin \
  --enable-mozilla --with-mozilla-sdk-path=$CONTRIB_DIR/gecko-sdk \
  --enable-ffmpeg --with-ffmpeg-config-path=$CONTRIB_DIR/bin --with-ffmpeg-mp3lame --with-ffmpeg-faac \
  --with-ffmpeg-zlib --enable-faad --enable-flac --enable-theora \
  --with-freetype-config-path=$CONTRIB_DIR/bin --with-fribidi-config-path=$CONTRIB_DIR/bin \
  --enable-live555 --with-live555-tree=$CONTRIB_DIR/live.com --enable-caca --with-caca-config-path=$CONTRIB_DIR/bin \
  --with-xml2-config-path=$CONTRIB_DIR/bin --enable-dvdnav=no \
  --disable-cddax --disable-vcdx --enable-goom --enable-twolame --enable-dvdread \
  --enable-wxwidgets=no --enable-debug --enable-java-bindings --enable-shared-libvlc >> build-out0.log 2>&1 && \
make all >> build-out0.log 2>&1

...

/bin/bash ../../libtool --tag=CC   --mode=compile i586-mingw32msvc-gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../..   -I/usr/win32/include -I/usr/win32/include/ebml -DSYS_MINGW32 -I../../include -I../../include `top_builddir="../.." ../../vlc-config --cflags plugin gnutls` -mms-bitfields -Wall -Wextra -Wsign-compare -Wundef -Wpointer-arith -Wbad-function-cast -Wcast-align -Wwrite-strings -Wmissing-prototypes -MT libgnutls_plugin_la-gnutls.lo -MD -MP -MF .deps/libgnutls_plugin_la-gnutls.Tpo -c -o libgnutls_plugin_la-gnutls.lo `test -f 'gnutls.c' || echo './'`gnutls.c
 i586-mingw32msvc-gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../.. -I/usr/win32/include -I/usr/win32/include/ebml -DSYS_MINGW32 -I../../include -I../../include -I/usr/local/include -D_FILE_OFFSET_BITS=64 -D__USE_UNIX98 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -DLOCALEDIR=\"/usr/local/share/locale\" -DPLUGIN_PATH=\"/usr/local/lib/vlc\" -DDEBUG -D__LIBVLC__ -D__PLUGIN__ -DMODULE_NAME=gnutls -DMODULE_NAME_IS_gnutls -g -O2 -ffast-math -funroll-loops -mtune=pentium2 -I/usr/win32/include -mms-bitfields -Wall -Wextra -Wsign-compare -Wundef -Wpointer-arith -Wbad-function-cast -Wcast-align -Wwrite-strings -Wmissing-prototypes -MT libgnutls_plugin_la-gnutls.lo -MD -MP -MF .deps/libgnutls_plugin_la-gnutls.Tpo -c gnutls.c  -DDLL_EXPORT -DPIC -o .libs/libgnutls_plugin_la-gnutls.o
gnutls.c:158: warning: missing initializer
gnutls.c:158: warning: (near initialization for `gcry_threads_vlc.read')
../../include/vlc_threads_funcs.h:127: warning: unused parameter 'psz_file'
../../include/vlc_threads_funcs.h:127: warning: unused parameter 'i_line'
../../include/vlc_threads_funcs.h:93: warning: unused parameter 'psz_file'
../../include/vlc_threads_funcs.h:93: warning: unused parameter 'i_line'
mv -f .deps/libgnutls_plugin_la-gnutls.Tpo .deps/libgnutls_plugin_la-gnutls.Plo
/bin/bash ../../libtool --tag=CC   --mode=link i586-mingw32msvc-gcc -std=gnu99 `top_builddir="../.." ../../vlc-config --cflags plugin gnutls` -mms-bitfields -Wall -Wextra -Wsign-compare -Wundef -Wpointer-arith -Wbad-function-cast -Wcast-align -Wwrite-strings -Wmissing-prototypes -rpath '/usr/local/lib/vlc/misc' -avoid-version -module -no-undefined -shrext .dll -export-dynamic  `top_builddir="../.." ../../vlc-config --ldflags plugin gnutls` -L/usr/win32/lib -o libgnutls_plugin.la  libgnutls_plugin_la-gnutls.lo ../../src/libvlc.la `top_builddir="../.." ../../vlc-config -libs plugin gnutls`  -lmingw32
i586-mingw32msvc-gcc -std=gnu99 -shared  .libs/libgnutls_plugin_la-gnutls.o  -L/usr/win32/lib ../../src/.libs/libvlc.dll.a /usr/win32/lib/libgnutls.a /usr/win32/lib/libgcrypt.a /usr/win32/lib/libintl.a /usr/win32/lib/libiconv.a -lz -lws2_32 -lmingw32  -mtune=pentium2 -mms-bitfields -o .libs/libgnutls_plugin.dll -Wl,--enable-auto-image-base -Xlinker --out-implib -Xlinker .libs/libgnutls_plugin.dll.a
/usr/win32/lib/libgcrypt.a(libgcrypt_la-global.o):global.c:(.text+0x53f): undefined reference to `_gpg_strerror'
/usr/win32/lib/libgcrypt.a(libgcrypt_la-global.o):global.c:(.text+0x555): undefined reference to `_gpg_strsource'
/usr/win32/lib/libgcrypt.a(libgcrypt_la-global.o):global.c:(.text+0x56b): undefined reference to `_gpg_err_code_from_errno'
/usr/win32/lib/libgcrypt.a(libgcrypt_la-global.o):global.c:(.text+0x581): undefined reference to `_gpg_err_code_from_errno'
/usr/win32/lib/libgcrypt.a(libgcrypt_la-global.o):global.c:(.text+0x5b0): undefined reference to `_gpg_err_code_from_errno'
/usr/win32/lib/libgcrypt.a(libgcrypt_la-global.o):global.c:(.text+0x5d2): undefined reference to `_gpg_err_code_from_errno'
/usr/win32/lib/libgcrypt.a(libgcrypt_la-global.o):global.c:(.text+0x6e2): undefined reference to `_gpg_err_code_from_errno'
/usr/win32/lib/libgcrypt.a(libgcrypt_la-global.o):global.c:(.text+0x9fa): more undefined references to `_gpg_err_code_from_errno' follow
/usr/win32/lib/libgcrypt.a(md.o):md.c:(.text+0x14fd): undefined reference to `_gpg_strerror'
/usr/win32/lib/libgcrypt.a(cipher.o):cipher.c:(.text+0xbc8): undefined reference to `_gpg_err_code_from_errno'
/usr/win32/lib/libgcrypt.a(libgcrypt_la-misc.o):misc.c:(.text+0x8b): undefined reference to `_gpg_strerror'
/usr/win32/lib/libgcrypt.a(libgcrypt_la-module.o):module.c:(.text+0xcd): undefined reference to `_gpg_err_code_from_errno'
Creating library file: .libs/libgnutls_plugin.dll.a
collect2: ld returned 1 exit status
make[4]: *** [libgnutls_plugin.la] Error 1
make[4]: Leaving directory `/media/hda5/tmp/vlc-git/vlc-mingw32/modules/misc'
make[3]: *** [all-modules] Error 1
make[3]: Leaving directory `/media/hda5/tmp/vlc-git/vlc-mingw32/modules/misc'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/media/hda5/tmp/vlc-git/vlc-mingw32/modules'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/media/hda5/tmp/vlc-git/vlc-mingw32'
make: *** [all] Error 2

...

Best regards

Vladimir Kokovic, DP senior, Belgrade, Serbia



More information about the vlc-devel mailing list