[libav-tools] cross compile problem with yasm

Farkas Levente lfarkas at lfarkas.org
Mon Aug 1 11:56:20 CEST 2011


hi,
i try to build on linux with mingw64 toolchain the gstreamer packages.
all build and working fine except gst-ffmpeg. gst-ffmpeg inlude libav as
it's backend. when i try build it on linux with mingw than i use yasm.
it compile and build without any kind of error, but when i try to use it
seg fault immediately.

i've got a older build on windows with mingw64 in cygwin. it's use nasm
for the assembler code. and it's working. but on linux i'm not able to
build with nasm since i always got a compile error (see below).
so my questions:
- can the reason for seg fault that i cross compile it on linux?
- what can be the build problem with yasm or it has nothing to with yasm?
- is it possible to build libav with nasm?
- is it possible to cross compile libav with nasm on linux?
- if yes what kind of parameter should i've to use to build it?

i attached the gdb output for the seg fault.

another problem when i build on x84_64 linux for mingw32 then debug info
always gives CRC mismatch.

error compile with nasm:
------------------------------------
Configuring included Libav instance with args
--prefix=/usr/i686-w64-mingw32/sys-root/mingw --disable-ffserver
--disable-ffplay        --disable-ffmpeg --disable-ffprobe
--enable-postproc --enable-gpl --enable-static --enable-pic
--disable-encoder=flac --disable-decoder=cavs --disable-protocols
--disable-devices	--disable-network --disable-hwaccels
--disable-filters --disable-doc	--enable-optimizations
--enable-cross-compile         --target-os=mingw32 --arch=i686
--cross-prefix=i686-w64-mingw32- --enable-memalign-hack
--enable-w32threads --disable-muxer=matroska --disable-demuxer=matroska
--disable-pic
yasm not found, use --disable-yasm for a crippled build

If you think configure made a mistake, make sure you are using the latest
version from Git.  If the latest version fails, report the problem to the
libav-user at libav.org mailing list or IRC #libav on irc.freenode.net.
Include the log file "config.log" produced by configure as this will help
solving the problem.
config.status: error: Failed to configure embedded Libav tree
------------------------------------

thank you for your help in advance.
regards.

-- 
  Levente                               "Si vis pacem para bellum!"
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: out.txt
URL: <http://lists.libav.org/pipermail/libav-tools/attachments/20110801/dddc11af/attachment.txt>


More information about the libav-tools mailing list