Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 110916 - nvidia-kernel fails to properly build the module when KBUILD_OUTPUT is used
Summary: nvidia-kernel fails to properly build the module when KBUILD_OUTPUT is used
Status: RESOLVED TEST-REQUEST
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Jeremy Huddleston (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-10-30 10:13 UTC by Michal Januszewski (RETIRED)
Modified: 2007-04-08 17:38 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
A patch that fixes the problem on my system. (NVIDIA_kernel-1.0-7676-include.diff,622 bytes, patch)
2005-10-30 10:14 UTC, Michal Januszewski (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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.