[Ffmpeg-devel] Cross Compiling to Windows CE

Cool_Zer0 c00jz3r0
Fri Jan 12 12:08:19 CET 2007

Hi there.

I'm getting a bit desperate!

I'm trying to compile ffmpeg (I only need libavcodec and libavformat) 
for Windows Mobile 5.0 / Windows CE.

I'm doing this with the latest SVN version:
# svn info
Path: .
URL: svn://svn.mplayerhq.hu/ffmpeg/trunk
Repository UUID: 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
Revision: 7439
Node Kind: directory
Schedule: normal
Last Changed Author: romansh
Last Changed Rev: 7439

# ./configure --cross-compile --arch=armv4l --disable-static 
--enable-shared --enable-memalign-hack --disable-ipv6 
--prefix=/usr/local/wince --log=yes --cc=arm-wince-pe-gcc
arm-wince-pe-gcc is unable to create an executable file.
C compiler test failed.
If you think configure made a mistake, make sure you are using the latest
version from SVN.  If the latest version fails, report the problem to the
ffmpeg-devel at mplayerhq.hu mailing list or IRC #ffmpeg on irc.freenode.net.
Include the log file "config.err" produced by configure as this will help
solving the problem.

# cat config.err
BEGIN /tmp/ffmpeg-conf-26530-4677-15895.c
     1  int main(){
     2      return 0;
     3  }
END /tmp/ffmpeg-conf-26530-4677-15895.c
arm-wince-pe-gcc -D__stdcall= -D_OFF_T_ 
-I/usr/local/wince/contrib-xscale/include -fomit-frame-pointer -c -o 
/tmp/ffmpeg-conf-540-4677-3845.o /tmp/ffmpeg-conf-26530-4677-15895.c
arm-wince-pe-gcc -Wl,--warn-common -L/usr/local/wince/contrib-xscale/lib 
-o /tmp/ffmpeg-conf-299-4677-20332 /tmp/ffmpeg-conf-540-4677-3845.o -lm
cannot find -lm
collect2: ld returned 1 exit status
C compiler test failed.

Any suggestions?


More information about the ffmpeg-devel mailing list