[vlc-devel] Cross-Compile Issues

David Hoyt dhoyt at llnl.gov
Mon Oct 27 23:01:58 CET 2008


I've run into several cross-compile issues. I'm attempting to cross-compile
for Windows on an Ubuntu 8.04 (hardy heron) system using the same
configuration that the build bot is using. The errors I get are:
 
configure: error: libdirac >= 0.10.0 doesn't appear to be installed on your
system.
Creating library file:
.libs/libgnutls_plugin.dll.a/usr/win32/lib/libgcrypt.a(libgcrypt_la-global.o
):global.c:(.text+0x6b): undefined reference to `_gpg_err_code_from_errno'
ERROR   : dvdnav.c: 1426:  storage size of 'stat_info' isn't known

And then another one for pulse audio.
 
I'm using the latest contribs from j-b
(http://people.videolan.org/~jb/Contribs/).

If I get a configure error, I disable that plugin and reconfigure.

Here's my configuration:

export CONTRIBS=/usr/win32 
export PREFIX=/work/vlc/compiled/windows-x86-0.9.4/
 
export PKG_CONFIG_PATH=$CONTRIBS/lib/pkgconfig
export CPPFLAGS="-I$CONTRIBS/include -I$CONTRIBS/include/ebml" 
export LDFLAGS=-L$CONTRIBS/lib
 
./configure \
     --prefix=$PREFIX \
     --host=i586-mingw32msvc \
     --build=i386-linux \
     --enable-sdl \
     --with-sdl-config-path=/usr/win32/bin \
     --disable-gtk \
     --disable-hal \
     --disable-libcdio \
     --enable-nls  \
     --enable-skins2  \
     --enable-ffmpeg \
     --with-ffmpeg-mp3lame \
     --with-ffmpeg-faac \
     --with-ffmpeg-zlib \
     --enable-faad \
     --enable-flac \
     --enable-theora \
     --enable-twolame \
     --enable-dvdread \
     --disable-vcdx \
     --disable-cddax \
     --enable-mozilla \
     --enable-live555 \
     --enable-caca \
     --enable-goom \
     --enable-quicktime \
     --enable-real \
     --enable-realrtsp \
     --enable-mkv \
     --disable-portaudio \
     --enable-shout \
     --enable-qt4
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20081027/a795810d/attachment.html>


More information about the vlc-devel mailing list