[vlc-devel] error cross compiling

Roger Pack rogerdpack2 at gmail.com
Sat Dec 3 00:35:24 CET 2011


When trying to carefully cross compile vlc-1.1.12

./configure --with-contrib=/usr/win32 --disable-mad --disable-speex
--enable-dvdread --disable-a52 --host=i586-mingw32msvc
CPPFLAGS="-I/usr/win32/include -L/usr/win32/lib" --disable-libgcrypt
--disable-remoteosd LDFLAGS=-L/usr/win32/lib --disable-libva
--disable-alsa && make
...

I get this:

  CCLD   libaccess_avio_plugin.la
i586-mingw32msvc-gcc: unrecognized option '-pthread'
i586-mingw32msvc-gcc: unrecognized option '-pthread'
/usr/lib/gcc/i586-mingw32msvc/4.4.4/../../../../i586-mingw32msvc/bin/ld:
cannot find -lva

Any ideas here?  I already have --disable-libva so that's not it I
don't think...
-roger-



More information about the vlc-devel mailing list