[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Mingw-cross-env-list] [MPlayer-1.0rc3] Assistance required

From: Di Appoggio
Subject: [Mingw-cross-env-list] [MPlayer-1.0rc3] Assistance required
Date: Wed, 14 Jul 2010 13:50:12 +0200

Maybe mplayer can't be cross compiled but I want to give a try...


./configure \
        --enable-cross-compile \
        --cc=i686-pc-mingw32-gcc \
        --host-cc=gcc \
        --disable-fbdev \

compilation stops with a

i686-pc-mingw32-gcc -Wundef -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Wall -Wno-switch -Wpointer-arith -Wredundant-decls -O4 -march=native -mtune=native -pipe -ffast-math -fomit-frame-pointer -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I.  -I/opt/mingw/usr/i686-pc-mingw32/include/freetype2 -I/opt/mingw/usr/i686-pc-mingw32/include     -c -o libvo/sub.o libvo/sub.c
libvo/sub.c: In function 'vo_update_text_sub':
libvo/sub.c:720:15: warning: passing argument 1 of 'utf8_get_char' from incompatible pointer type
libvo/sub.c:181:10: note: expected 'const char **' but argument is of type 'unsigned char **'
i686-pc-mingw32-gcc -Wundef -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Wall -Wno-switch -Wpointer-arith -Wredundant-decls -O4 -march=native -mtune=native -pipe -ffast-math -fomit-frame-pointer -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I.  -I/opt/mingw/usr/i686-pc-mingw32/include/freetype2 -I/opt/mingw/usr/i686-pc-mingw32/include     -c -o osdep/getch2.o osdep/getch2.c
osdep/getch2.c:40:23: fatal error: sys/ioctl.h: No such file or directory
compilation terminated.
make[2]: *** [osdep/getch2.o] Errore 1
make[2]: uscita dalla directory «/opt/mingw/tmp-MPlayer/MPlayer-1.0rc3»
make[1]: *** [build-only-MPlayer] Errore 2
make[1]: uscita dalla directory «/opt/mingw»

Some idea before attempting to blindly copy headers?

Attachment: MPlayer.gz
Description: GNU Zip compressed data

reply via email to

[Prev in Thread] Current Thread [Next in Thread]