On Friday 15 October 2004 6:30 pm, Andi Kleen wrote:
* /usr/src/linux-$VERSION-$RELEASE/
The kernel sources.
* /usr/src/linux
A symbolic link to /usr/src/linux-$VERSION-$RELEASE. "
So, why is it that /usr/src/linux on my box is not a symbolic link, it's a real directory that contains a bunch of header files dated March 2004.
I don't know. Must be a non standard installation.
I'm honestly not smart enough to create a non standard installation. Everything on the machine is stock SuSE, I've built several apps like MPlayer by compiling sources and installing with checkinstall, but that is the full extent of my ability. So, from where I sit, if it's non-standard, then SuSE made it that way, not me.
Second point, and keep in mind that I am basically clueless here, the original question had to do with compiling MPlayer from source since a pre-built binary RPM for 64 bit doesn't seem to be available. So, the problem resolves around compiling an application so it can be installed and run. Has nothing to do with compiling kernels or kernel modules, just an application.
When I try to compile the MPlayer package using the /usr/src/linux setup that SuSE put on my machine, it fails with the Compile Error `CONFIG_X86_L1_CACHE_SHIFT' error _unless_ I include a configuration switch to exclude framebuffer support, e.g., --disable-fbdev.
If it doesn't compile kernel modules mplayer should access kernel includes. Actually glibc needs some, but it has its own independent copy.
Accessing kernel includes with no need would be a bug in Mplayer.
But it sounds like your installation is quite messed up. Maybe it is just some missing some files somewhere.
Well, if it is, I'd sure like to know who did it/how it got that way. And I suspect I'm not the only one.... others have run into the MPlayer problem on the the list here, the solution up to now was to do the --disable-fbdev thingy, but I think that just masked over the real issue of kernel includes not being in the correct place. If someone at SuSE with official knowledge could clarify, it sure would be appreciated. Scott -- POPFile, the OpenSource EMail Classifier http://popfile.sourceforge.net/ Linux 2.6.5-7.108-default x86_64