Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

#196 cross compilation is broken

open
nobody
None
5
2013-10-04
2013-10-03
Roger Pack
No

I assume you're aware of this, but just in case you aren't, zvbi requires "lots" of patches to get to even compile in mingw cross compilation (targeting windows):

https://github.com/videolan/vlc/tree/master/contrib/src/zvbi lists all the patches they use.

Also even then only building the library works, if you try and build the executables, you get this:

libtool: link: i686-w64-mingw32-gcc -DPTW32_STATIC_LIB -o zvbi-ntsc-cc.exe ntsc-cc.o ../src/.libs/libzvbi.a -lpthread /home/rogerdpack/dev/ffmpeg-windows-build-helpers/sandbox/mingw-w64-i686/i686-w64-mingw32/lib/libiconv.a
../src/.libs/libzvbi.a(io.o):io.c:(.text+0xb9c): undefined reference to ioctl’ ../src/.libs/libzvbi.a(io.o):io.c:(.text+0xc9f): undefined reference tomunmap’
collect2: error: ld returned 1

Cheers!
-roger-

Discussion

  • Roger Pack
    Roger Pack
    2013-10-04

    (as a side note, it might be nice to add some more links to http://zapping.sourceforge.net/ZVBI/index.html like to the "help" thing or what not or a link "more contact info" that directs to the main site, etc.)
    Cheers!