Hi everybody. Has anyone out there been able to build the latest Mplayer from the latest sources (1.0-pre5) on SuSE 9.2? When I attempt it, I get the following error: In file included from /usr/include/linux/list.h:7, from ../osdep/kerneltwosix.h:5, from vo_fbdev.c:21: /usr/include/linux/prefetch.h: In function `prefetch_range': /usr/include/linux/prefetch.h:64: error: `CONFIG_X86_L1_CACHE_SHIFT' undeclared (first use in this function) /usr/include/linux/prefetch.h:64: error: (Each undeclared identifier is reported only once /usr/include/linux/prefetch.h:64: error: for each function it appears in.) make[1]: *** [vo_fbdev.o] Error 1 make[1]: Leaving directory `/tmp/MPlayer-1.0pre5/libvo' make: *** [libvo/libvo.a] Error 2 If anyone could tell me how to fix this, I'd be ever so grateful. Thank you. -- JAY VOLLMER JVOLLMER@CONSOLIDATEDLINT.COM TEXT REFS DOUBLEPLUSUNGOOD SELFTHINK VERGING CRIMETHINK IGNORE FULLWISE
On Sunday 21 November 2004 6:42 pm, Jay Vollmer wrote:
Hi everybody.
Has anyone out there been able to build the latest Mplayer from the latest sources (1.0-pre5) on SuSE 9.2?
When I attempt it, I get the following error:
Check the list archives for suse-amd64 around October for a large thread on this issue. The MPlayer list also has a thread. Scott -- POPFile, the OpenSource EMail Classifier http://popfile.sourceforge.net/ Linux 2.6.5-7.111-default x86_64
Scott Leighton wrote:
On Sunday 21 November 2004 6:42 pm, Jay Vollmer wrote:
Hi everybody.
Has anyone out there been able to build the latest Mplayer from the latest sources (1.0-pre5) on SuSE 9.2?
When I attempt it, I get the following error:
Check the list archives for suse-amd64 around October for a large thread on this issue.
The MPlayer list also has a thread.
Scott
No! As a matter of fact about three different version have failed at the same spot. -- 73 de Donn Washburn __" http://www.hal-pc.org/~n5xwb " Ham Callsign N5XWB / / __ __ __ __ __ __ __ 307 Savoy St. / /__ / / / \/ / / /_/ / \ \/ / Sugar Land, TX 77478 /_____/ /_/ /_/\__/ /_____/ /_/\_\ LL# 1.281.242.3256 Dump Microsoft Software - Stop virus email Email: n5xwb@hal-pc.org " http://counter.li.org " #279316
Jay Vollmer wrote:
Has anyone out there been able to build the latest Mplayer from the latest sources (1.0-pre5) on SuSE 9.2?
I built x86_64 rpms from the Packman src.rpms. I would suggest rebuilding their src.rpms if you would rather build instead of just installing their rpms. -- Joe Morris New Tribes Mission Email Address: Joe_Morris@ntm.org Registered Linux user 231871
Jay Vollmer wrote:
Hi everybody.
Has anyone out there been able to build the latest Mplayer from the latest sources (1.0-pre5) on SuSE 9.2?
When I attempt it, I get the following error:
In file included from /usr/include/linux/list.h:7, from ../osdep/kerneltwosix.h:5, from vo_fbdev.c:21: /usr/include/linux/prefetch.h: In function `prefetch_range': /usr/include/linux/prefetch.h:64: error: `CONFIG_X86_L1_CACHE_SHIFT' undeclared (first use in this function) /usr/include/linux/prefetch.h:64: error: (Each undeclared identifier is reported only once /usr/include/linux/prefetch.h:64: error: for each function it appears in.) make[1]: *** [vo_fbdev.o] Error 1 make[1]: Leaving directory `/tmp/MPlayer-1.0pre5/libvo' make: *** [libvo/libvo.a] Error 2
If anyone could tell me how to fix this, I'd be ever so grateful.
Thank you.
-- JAY VOLLMER JVOLLMER@CONSOLIDATEDLINT.COM TEXT REFS DOUBLEPLUSUNGOOD SELFTHINK VERGING CRIMETHINK IGNORE FULLWISE
I hit this error last night, strange as /usr/include/linux/prefetch.h
has #include
On Monday 22 November 2004 07:29, Sid Boyce wrote:
Jay Vollmer wrote:
Hi everybody.
Has anyone out there been able to build the latest Mplayer from the latest sources (1.0-pre5) on SuSE 9.2?
When I attempt it, I get the following error:
In file included from /usr/include/linux/list.h:7, from ../osdep/kerneltwosix.h:5, from vo_fbdev.c:21: /usr/include/linux/prefetch.h: In function `prefetch_range': /usr/include/linux/prefetch.h:64: error: `CONFIG_X86_L1_CACHE_SHIFT' undeclared (first use in this function) /usr/include/linux/prefetch.h:64: error: (Each undeclared identifier is reported only once /usr/include/linux/prefetch.h:64: error: for each function it appears in.) make[1]: *** [vo_fbdev.o] Error 1 make[1]: Leaving directory `/tmp/MPlayer-1.0pre5/libvo' make: *** [libvo/libvo.a] Error 2
If anyone could tell me how to fix this, I'd be ever so grateful.
Thank you.
-- JAY VOLLMER JVOLLMER@CONSOLIDATEDLINT.COM TEXT REFS DOUBLEPLUSUNGOOD SELFTHINK VERGING CRIMETHINK IGNORE FULLWISE
I hit this error last night, strange as /usr/include/linux/prefetch.h has #include
which defines CONFIG_X86_L1_CACHE_SHIFT. It's also defined in /usr/src/linux/include/linux/autoconf.h, beats me, possibly a gcc problem? Inserting it in libvo.c and cache.h still gives the error. This works, doesn't seem to like frambuffer. ./configure --prefix=/usr --confdir=/etc/mplayer --mandir=/usr/man --enable-gui --disable-fbdev Regards Sid.
Thanks for the tip Sid. This worked for me: ./configure --enable-gui --with-gtk-config=/opt/gnome/bin/gtk-config --with-glib-config=/opt/gnome/bin/glib-config --disable-fbdev -- JAY VOLLMER JVOLLMER@CONSOLIDATEDLINT.COM TEXT REFS DOUBLEPLUSUNGOOD SELFTHINK VERGING CRIMETHINK IGNORE FULLWISE
Are all of us that hit this problem using nvidia cards? I am... B-) On Monday 22 November 2004 06:29 am, Sid Boyce wrote:
Jay Vollmer wrote:
Hi everybody.
Has anyone out there been able to build the latest Mplayer from the latest sources (1.0-pre5) on SuSE 9.2?
When I attempt it, I get the following error:
In file included from /usr/include/linux/list.h:7, from ../osdep/kerneltwosix.h:5, from vo_fbdev.c:21: /usr/include/linux/prefetch.h: In function `prefetch_range': /usr/include/linux/prefetch.h:64: error: `CONFIG_X86_L1_CACHE_SHIFT' undeclared (first use in this function) /usr/include/linux/prefetch.h:64: error: (Each undeclared identifier is reported only once /usr/include/linux/prefetch.h:64: error: for each function it appears in.) make[1]: *** [vo_fbdev.o] Error 1 make[1]: Leaving directory `/tmp/MPlayer-1.0pre5/libvo' make: *** [libvo/libvo.a] Error 2
If anyone could tell me how to fix this, I'd be ever so grateful.
Thank you.
-- JAY VOLLMER JVOLLMER@CONSOLIDATEDLINT.COM TEXT REFS DOUBLEPLUSUNGOOD SELFTHINK VERGING CRIMETHINK IGNORE FULLWISE
I hit this error last night, strange as /usr/include/linux/prefetch.h has #include
which defines CONFIG_X86_L1_CACHE_SHIFT. It's also defined in /usr/src/linux/include/linux/autoconf.h, beats me, possibly a gcc problem? Inserting it in libvo.c and cache.h still gives the error. This works, doesn't seem to like frambuffer. ./configure --prefix=/usr --confdir=/etc/mplayer --mandir=/usr/man --enable-gui --disable-fbdev Regards Sid. -- Sid Boyce .... Hamradio G3VBV and keen Flyer =====LINUX ONLY USED HERE=====
On Monday 22 November 2004 14:29, Sid Boyce wrote:
I hit this error last night, strange as /usr/include/linux/prefetch.h has #include
which defines CONFIG_X86_L1_CACHE_SHIFT.
The problem is it doesn't define it. It uses it but never defines it. It's a screw-up. CONFIG_X86_L1_CACHE_SHIFT is a kernel config macro, it should have been expanded before it was placed in /usr/include. You could replace it with 7 in /usr/include/asm/cache.h, which is what was used to compile the suse kernel
On Monday 22 November 2004 18:34, Anders Johansson wrote:
On Monday 22 November 2004 14:29, Sid Boyce wrote:
I hit this error last night, strange as /usr/include/linux/prefetch.h has #include
which defines CONFIG_X86_L1_CACHE_SHIFT. The problem is it doesn't define it. It uses it but never defines it. It's a screw-up. CONFIG_X86_L1_CACHE_SHIFT is a kernel config macro, it should have been expanded before it was placed in /usr/include. You could replace it with 7 in /usr/include/asm/cache.h, which is what was used to compile the suse kernel
Forget this, the screw-up is on the part of the MPlayer programmers. They're defining __KERNEL__. They're not compiling a kernel module, but for some reason they want to pretend they do.
I have gotten it to work. I ran into the same thing. I don't have that box here anymore. I think I just disabled fb support. Here is my config script 64-bit ./configure --libdir=/usr/lib64 --with-x11libdir=/usr/X11/lib64 --enable-runtime-cpudetection --disable-fbdev --enable-xv 32-bit ./configure --enable-runtime-cpudetection --disable-fbdev --enable-qtx --enable-xv I use enable-runtime-cpudetection because I run mplayer on several cpu's it is faster without I use enable-xv to force configure to make sure I have xv support B-) On Sunday 21 November 2004 07:42 pm, Jay Vollmer wrote:
Hi everybody.
Has anyone out there been able to build the latest Mplayer from the latest sources (1.0-pre5) on SuSE 9.2?
When I attempt it, I get the following error:
In file included from /usr/include/linux/list.h:7, from ../osdep/kerneltwosix.h:5, from vo_fbdev.c:21: /usr/include/linux/prefetch.h: In function `prefetch_range': /usr/include/linux/prefetch.h:64: error: `CONFIG_X86_L1_CACHE_SHIFT' undeclared (first use in this function) /usr/include/linux/prefetch.h:64: error: (Each undeclared identifier is reported only once /usr/include/linux/prefetch.h:64: error: for each function it appears in.) make[1]: *** [vo_fbdev.o] Error 1 make[1]: Leaving directory `/tmp/MPlayer-1.0pre5/libvo' make: *** [libvo/libvo.a] Error 2
If anyone could tell me how to fix this, I'd be ever so grateful.
Thank you.
-- JAY VOLLMER JVOLLMER@CONSOLIDATEDLINT.COM TEXT REFS DOUBLEPLUSUNGOOD SELFTHINK VERGING CRIMETHINK IGNORE FULLWISE
participants (7)
-
Anders Johansson
-
Brad Bourn
-
Donn Washburn
-
Jay Vollmer
-
Joe Morris (NTM)
-
Scott Leighton
-
Sid Boyce