Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 110916

Summary: nvidia-kernel fails to properly build the module when KBUILD_OUTPUT is used
Product: Gentoo Linux Reporter: Michal Januszewski (RETIRED) <spock>
Component: New packagesAssignee: Jeremy Huddleston (RETIRED) <eradicator>
Status: RESOLVED TEST-REQUEST    
Severity: normal CC: x11-drivers
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: A patch that fixes the problem on my system.

Description Michal Januszewski (RETIRED) gentoo-dev 2005-10-30 10:13:09 UTC
I'm using KBUILD_OUTPUT to build my kernels. When I try to emerge nvidia-kernel,
the kernel module has unresolved symbols. This is caused by conftest.sh failing
to compile the test programs for remap_pfn_range and pci_get_class. 

This on the other hand is caused by asm/irq.h failing to include irq_vectors.h.
The file is located in ${KBUILD_OUTPUT}/include2/asm/mach-default, but
conftest.sh looks for it in ${KERNEL_SOURCE}/include/asm/mach-default.
Comment 1 Michal Januszewski (RETIRED) gentoo-dev 2005-10-30 10:14:08 UTC
Created attachment 71743 [details, diff]
A patch that fixes the problem on my system.
Comment 2 Jeremy Huddleston (RETIRED) gentoo-dev 2007-03-13 22:38:12 UTC
Is this still an issue with the current releases of nvidia-drivers?
Comment 3 Jakub Moc (RETIRED) gentoo-dev 2007-04-08 17:38:04 UTC
Reopen if you still have problems.