zapping-vbi / zvbi

Vertical Blanking Interval (VBI) utilities
Other
5 stars 4 forks source link

cross compilation is broken #6

Open ileanadumitrescu95 opened 2 years ago

ileanadumitrescu95 commented 2 years ago

SourceForge bug #196 written by Roger Pack on 2013-10-03

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-

Comments by Roger Pack:

(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!