[MPlayer-users] Building 1.0-pre4 on x86_64
Wieslaw Kierbedz
WieslawKierbedz at farba.eu.org
Mon Jun 7 08:23:45 CEST 2004
Użytkownik Daniel Bunzendahl napisał:
>I have some trouble on compiling the sources on a x86_64 Architecture.
>
>by typing:
>
>-------- snip ----------------
>
>./configure --with-codecsdir=/home/daniel/download/essential-20040427/
>--with-freetype-config=/usr/bin/freetype-config
>
>--------- snip --------------
>
>I got an OK....
>but by compililing via "make" there is trouble...
>(If I use --enable-gui she is asking for x11-devel buy I have installed all
>the stuff - here is a FULL istalled SuSE 9.0 AMD64 updated)
>
>----------------- snip ---------------
>
>cc -c -I../libvo/ -I../../libvo -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/include/directfb -DMPG12PLAY -o vo_directfb2.o
>vo
>_directfb2.c
>cc -c -I../libvo/ -I../../libvo -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/include/directfb -DMPG12PLAY -o vo_dfbmga.o
>vo_df
>bmga.c
>vo_dfbmga.c: In function `get_image':
>vo_dfbmga.c:1203: warning: cast to pointer from integer of different size
>vo_dfbmga.c: In function `draw_image':
>vo_dfbmga.c:1220: warning: cast from pointer to integer of different size
>cc -c -I../libvo/ -I../../libvo -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/include/directfb -DMPG12PLAY -o vo_fbdev.o
>vo_fbd
>ev.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:27: error: `CONFIG_X86_L1_CACHE_SHIFT'
>undeclared
>here (not in a function)
>/usr/include/asm-x86_64/pda.h:27: 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:218: error: `CONFIG_X86_L1_CACHE_SHIFT'
>unde
>clared here (not in a function)
>/usr/include/asm-x86_64/processor.h:218: error: requested alignment is not a
>con
>stant
>make[1]: *** [vo_fbdev.o] Error 1
>
>
>----------- snip -----------------
>
>I think this problem is allready solved buy I didn't find a ducumented way to
>fix.
>Maybe you have a good day and are able to help me.
>
>
>
I am not sure (if it is solved) - on athlon i32 i had to compile few
last cvs versions with --disable-fbdev.
For me a cause is in linux-2.6 headers. With linux-2.4 it compiles fine.
--
Wiesław Kierbedź
More information about the MPlayer-users
mailing list