No luck with nvidia-x11-drv on Fedora Core 6.

Philippe A. futhark77 at gmail.com
Sun Oct 29 22:26:31 CET 2006


Hi there,

I am unable to get nvidia-x11-drv to compile during boot. I'm told the
kernel source is not installed. I tried to do the dkms procedure manually
but stil have no luck. Can anyone tell me what I'm missing or doing wrong? I
build software from time to time, but I don't keep up very well with changes
in the kernel build strategy.

Basically, I tried that:

yum install nvidia-x11-drv
cd /usr/src/nvidia*
dkms build -m nvidia -v 1.0.9626-2 -k `uname -r` -a `uname -p` -c
./dkms.conf --kernelsourcedir=/usr/src/linux/

dkms reports:

---8<---
Preparing kernel 2.6.18-1.2798.fc6 for module build:
(This is not compiling a kernel, just preparing kernel symbols)
Storing current .config to be restored when complete
Running Generic preparation routine
make mrproper......
using /usr/src/linux//configs/kernel-2.6.18-i686.config
make oldconfig......
make prepare-all........

Building module:
cleaning build area....
make KERNELRELEASE=2.6.18-1.2798.fc6 module KERNDIR=/lib/modules/2.6.18-
1.2798.fc6 IGNORE_CC_MISMATCH=1....(bad exit status: 2)

Error! Bad return status for module build on kernel: 2.6.18-1.2798.fc6(i686)
Consult the make.log in the build directory
/var/lib/dkms/nvidia/1.0.9626-2/build/ for more information.
---8<---

In spite of my best efforts to help dkms, it reports the following in the
make.log:

*** Unable to determine the target kernel version. ***

/usr/src/linux is a symlink to /usr/src/redhat/BUILD/kernel-2.6.18/linux-
2.6.18.i686, which I deployed with:

rpmbuild kernel-2.6.spec -bp --target i686

uname -a reports:

Linux phil 2.6.18-1.2798.fc6 #1 SMP Mon Oct 16 14:54:20 EDT 2006 i686 i686
i386 GNU/Linux

I have copied the corresponding config in my kernel source dir.

Thanks!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.egwn.net/pipermail/freshrpms-list/attachments/20061029/0c6337fb/attachment.html


More information about the freshrpms-list mailing list