[MPlayer-users] compile error on x86-64/gcc4

t35t0r t35t0r at gmail.com
Sun Jul 10 02:29:13 CEST 2005


Try with:

 ./configure (yourStuff) --cc=gcc32

On 7/9/05, Michal Svoboda <pht at spatium.org> wrote:
> Hi,
> 
> I'm trying to compile latest (tried both pre7 and CVS) MPlayer:
> 
> make[1]: Entering directory `/usr/src/MPlayer-20050709/postproc'
> gcc -march=athlon64 -pipe -c -I../libvo -I../../libvo -I/usr/X11R6/include -O4 -march=k8 -mtune=k8 -pipe -ffast-math -fomit-frame-pointer -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include -std=gnu99  -I. -I.. -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include -I.. -o swscale.o swscale.c
> In file included from swscale.c:807:
> swscale_template.c: In function 'hyscale_MMX2':
> swscale_template.c:2258: warning: pointer targets in passing argument 1 of 'hScale_MMX2' differ in signedness
> swscale_template.c: In function 'hcscale_MMX2':
> swscale_template.c:2442: warning: pointer targets in passing argument 1 of 'hScale_MMX2' differ in signedness
> swscale_template.c:2443: warning: pointer targets in passing argument 1 of 'hScale_MMX2' differ in signedness
> swscale_template.c:2517: error: memory input 2 is not directly addressable
> swscale_template.c: In function 'swScale_MMX2':
> swscale_template.c:2709: warning: pointer targets in passing argument 1 of 'hyscale_MMX2' differ in signedness
> swscale_template.c:2726: warning: pointer targets in passing argument 1 of 'hcscale_MMX2' differ in signedness
> swscale_template.c:2751: warning: pointer targets in passing argument 1 of 'hyscale_MMX2' differ in signedness
> swscale_template.c:2767: warning: pointer targets in passing argument 1 of 'hcscale_MMX2' differ in signedness
> swscale_template.c:2790: warning: cast from pointer to integer of different size
> swscale_template.c:2797: warning: cast from pointer to integer of different size
> swscale_template.c:2837: warning: pointer targets in passing argument 2 of 'yuv2packed1_MMX2' differ in signedness
> swscale_template.c:2837: warning: pointer targets in passing argument 3 of 'yuv2packed1_MMX2' differ in signedness
> swscale_template.c:2837: warning: pointer targets in passing argument 4 of 'yuv2packed1_MMX2' differ in signedness
> swscale_template.c:2844: warning: pointer targets in passing argument 2 of 'yuv2packed2_MMX2' differ in signedness
> swscale_template.c:2844: warning: pointer targets in passing argument 3 of 'yuv2packed2_MMX2' differ in signedness
> swscale_template.c:2844: warning: pointer targets in passing argument 4 of 'yuv2packed2_MMX2' differ in signedness
> swscale_template.c:2844: warning: pointer targets in passing argument 5 of 'yuv2packed2_MMX2' differ in signedness
> swscale.c: In function 'sws_getContext':
> swscale.c:2136: warning: pointer targets in assignment differ in signedness
> swscale.c:2138: warning: pointer targets in assignment differ in signedness
> make[1]: *** [swscale.o] Error 1
> make[1]: Leaving directory `/usr/src/MPlayer-20050709/postproc'
> make: *** [postproc/libswscale.a] Error 2
> 
> Any ideas?
> 
> My setup is x86-64 with gcc 4.0.1, glibc 2.3.5.
> The configure command used was:
> ./configure --prefix=/usr --enable-gui --enable-largefiles --enable-freetype --enable-menu
> 
> _______________________________________________
> MPlayer-users mailing list
> MPlayer-users at mplayerhq.hu
> http://mplayerhq.hu/mailman/listinfo/mplayer-users
>




More information about the MPlayer-users mailing list