nV News Forums


nV News Forums (http://www.nvnews.net/vbulletin/index.php)
-   NVIDIA Linux (http://www.nvnews.net/vbulletin/forumdisplay.php?f=14)
-   -   Trying to build kmod-nvidia on custom kernel (http://www.nvnews.net/vbulletin/showthread.php?t=119162)

therainbow 09-09-08 09:10 PM

Trying to build kmod-nvidia on custom kernel
Hello everybody,

I've built a custom kernel which I applied some patches to, now I want to build the RPM of kmod nvidia that suits this custom kernel, I downloaded the nvidia-kmod source from Livna repo and then tried to build it against my custom kernel (using the command: rpmbuild -ba --target i686 kmod-nvidia.spec), however it doesn't work and it pops an error saying: "unable to determine the target kernel version", I looked at the files: kerneldevpkgs-{current, newest}, and they both hold the name of my kernel with its version (uname -r output), the source folder is found in /usr/src/kernels/<my-custom-kernel-src>, I'm really confused with this problem as it seems it doesn't even detect the sourcetree of my kernel, because even when write anything in the files kerneldevpkgs-{current, newest} I get the same error.

For my Fedora kernel I could build it without troubles though.

Any hints would be appreciated.

All times are GMT -5. The time now is 09:53 AM.

Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2015, Jelsoft Enterprises Ltd.
Copyright 1998 - 2014, nV News.