[MPlayer-users] Re:Building 1.0-pre4 on x86_64
Daniel Bunzendahl
bunzbunz at gmx.de
Fri Jun 11 10:53:14 CEST 2004
Some Developer at this List shuld think about and help...
AMD64 (64 bit everyway) will get more and more impirtent - Expecial and first
for aplikations like this.
> >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.
Linux linux 2.4.21-215-default #1 Mon Apr 26 16:30:40 UTC 2004 x86_64 x86_64
x86_64 GNU/Linux
(uname -a)
I have no idea.
Maybe there is a Link-Error (it's 2 jears ago since I wrote clean code... I'm
usend.. *g*)
Becouse of this:
> >/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
If it is the problem (I think so) - who can fix it.
By fixing don't forget pda.h: line 4 has the problem too.
Daniel
>
> --
> Wies³aw Kierbed¼
>
>
More information about the MPlayer-users
mailing list