[FFmpeg-devel] FFmpeg status on WinCE
İsmail Dönmez
ismail
Sun Aug 2 16:49:59 CEST 2009
Hi;
FFmpeg on WinCE does not compile out of the box, yet. Thanks to
Martin's invaluable work we are in a much better state. Here is whats
left to fix;
- getenv/setenv is unavailable on WinCE such code should be set to NOP
in os_support.h
- strerror/errno should be conditionally used as WinCE does not have
an errno.h or related functionality.
- perror should be replaced by av_log hence fixing compilation on WinCE.
- signal.h is unavailable on WinCE, its usage should be conditional.
And lastly here is the compile error for unmodified FFmpeg:
ffmpeg.o:ffmpeg.c:(.text+0x5a60): undefined reference to `perror'
ffmpeg.o:ffmpeg.c:(.text+0x82bc): undefined reference to `_errno'
ffmpeg.o:ffmpeg.c:(.text+0x82c4): undefined reference to `strerror'
ffmpeg.o:ffmpeg.c:(.text+0x8690): undefined reference to `signal'
ffmpeg.o:ffmpeg.c:(.text+0x869c): undefined reference to `signal'
ffmpeg.o:ffmpeg.c:(.text+0x9304): undefined reference to `_errno'
ffmpeg.o:ffmpeg.c:(.text+0x930c): undefined reference to `strerror'
ffmpeg.o:ffmpeg.c:(.text+0x9870): undefined reference to `getenv'
/home/cartman/ffmpeg/libavformat/libavformat.a(mov.o):mov.c:(.text+0x2744):
undefined reference to `_errno'
/home/cartman/ffmpeg/libavformat/libavformat.a(mov.o):mov.c:(.text+0x274c):
undefined reference to `strerror'
collect2: ld returned 1 exit status
make: *** [ffmpeg_g.exe] Error 1
Configuration details:
./configure --enable-cross-compile --cross-prefix=arm-mingw32ce-
--arch=arm --cpu=arm --enable-static --disable-shared
--target-os=mingw32ce --enable-gpl --enable-zlib --disable-debug
--prefix=/opt/mingw32ce
Regards.
--
?smail D?NMEZ
More information about the ffmpeg-devel
mailing list