[libav-bugs] [Bug 485] New: unable to cross-compile avconv for i386

bugzilla-daemon at aruru.libav.org bugzilla-daemon at aruru.libav.org
Wed Mar 27 03:13:12 CET 2013


           Summary: unable to cross-compile avconv for i386
           Product: Libav
           Version: git HEAD
          Platform: X86
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: Normal
         Component: general
        AssignedTo: bugzilla at libav.org
        ReportedBy: michael.heuberger at binarykitchen.com

hello guys

on https://gist.github.com/binarykitchen/5230096/ you can see i'm trying to
port avconv to javascript with emscripten

i did a fresh git pull, configured the compiler like that:

> sudo ./../emscripten/emconfigure ./configure --enable-cross-compile --target-os=none --arch=x86 --enable-gpl --disable-avplay --disable-avprobe --disable-avserver --disable-doc --disable-pthreads --disable-w32threads --disable-network --disable-decoders --disable-asm --disable-optimizations --cc=clang --extra-cflags=-m32 --extra-ldflags=-m32

then i ran

> sudo ./../emscripten/emmake make

and then lots of those warnings appear:

LD    avconv
/usr/bin/ld: i386:x86-64 architecture of input file
`libavfilter/libavfilter.a(graphparser.o)' is incompatible with i386 output
/usr/bin/ld: libavfilter/libavfilter.a(graphparser.o): file class ELFCLASS64
incompatible with ELFCLASS32
/usr/bin/ld: final link failed: File in wrong format
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make: *** [avconv] Error 1

can you guys please provide configure options so that i can configure + compile
avconv for emscripten?


Configure bugmail: https://bugzilla.libav.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.

More information about the libav-bugs mailing list