[MPlayer-users] compiler error - 64 bit - suse 9.1

Tim Oliver Wagner lists at wagner-www.de
Wed May 5 01:39:47 CEST 2004


hi,
I hope someone can help me to solve this compiler error:

vo_gl.c: In function `preinit':
vo_gl.c:373: warning: initialization discards qualifiers from pointer target 
type
cc -c -I../libvo/ -I../../libvo -I/usr/X11/include -O4   -pipe -ffast-math 
-fomit-frame-pointer -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64  
-I. -I.. -I../osdep -I/usr/include/freetype2  -I/usr/X11/include   
-I/usr/include/directfb -DMPG12PLAY  -o vo_gl2.o vo_gl2.c
cc -c -I../libvo/ -I../../libvo -I/usr/X11/include -O4   -pipe -ffast-math 
-fomit-frame-pointer -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64  
-I. -I.. -I../osdep -I/usr/include/freetype2  -I/usr/X11/include   
-I/usr/include/directfb -DMPG12PLAY  -o vo_aa.o vo_aa.c
cc -c -I../libvo/ -I../../libvo -I/usr/X11/include -O4   -pipe -ffast-math 
-fomit-frame-pointer -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64  
-I. -I.. -I../osdep -I/usr/include/freetype2  -I/usr/X11/include   
-I/usr/include/directfb -DMPG12PLAY  -o vo_fbdev.o vo_fbdev.c
In file included from /usr/include/asm/pda.h:4,
                 from /usr/include/asm-x86_64/thread_info.h:14,
                 from /usr/include/asm/thread_info.h:4,
                 from /usr/include/linux/thread_info.h:21,
                 from ../osdep/kerneltwosix.h:4,
                 from vo_fbdev.c:21:
/usr/include/asm-x86_64/pda.h:26: error: `CONFIG_X86_L1_CACHE_SHIFT' 
undeclared here (not in a function)
/usr/include/asm-x86_64/pda.h:26: error: requested alignment is not a constant
In file included from /usr/include/asm/processor.h:4,
                 from /usr/include/linux/prefetch.h:13,
                 from /usr/include/linux/list.h:7,
                 from ../osdep/kerneltwosix.h:5,
                 from vo_fbdev.c:21:
/usr/include/asm-x86_64/processor.h:229: error: `CONFIG_X86_L1_CACHE_SHIFT' 
undeclared here (not in a function)
/usr/include/asm-x86_64/processor.h:229: error: requested alignment is not a 
constant
make[1]: *** [vo_fbdev.o] Error 1
make[1]: Leaving directory `/usr/src/external/MPlayer-20040504/libvo'
make: *** [libvo/libvo.a] Fehler 2
tow at linux:/usr/src/external/MPlayer-20040504>

tia

OLI




More information about the MPlayer-users mailing list