Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 190739 - net-wireless/orinoco-usb requires asm stock headers in kernel build output dir
Summary: net-wireless/orinoco-usb requires asm stock headers in kernel build output dir
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-08-30 01:10 UTC by Hypnos
Modified: 2007-08-30 07:11 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Hypnos 2007-08-30 01:10:26 UTC
I tried to build orinoco-usb for use with suspend2-sources-2.6.21-r7, but received many compiler errors about missing asm headers, such as "asm/posix_types.h".

My source and build output dirs are separate, and the link "/lib/modules/2.6.21-r7/build" points to the correct place, "$KBUILD_OUTPUT".

Obviously, the build output dir has the generated headers, not the stock headers included in the source.  Inside "$KBUILD_OUTPUT/include", the "./asm" softlink points to "./asm-i386" as it should.  The orinoco-usb build seems to find the generic stock headers like "linux/posix_types.h" just fine, but not the asm stock headers.

As a hack to complete the build, in "$KBUILD_OUTPUT/include/asm-i386" I created softlinks to all the stock headers in "/usr/src/linux/include/asm-i386".
Comment 1 Dawid Węgliński (RETIRED) gentoo-dev 2007-08-30 01:43:24 UTC
Please provide build log with emerge --info output.
Comment 2 Hypnos 2007-08-30 05:03:07 UTC
Actually, this bug is invalid -- I screwed up.

This problem was created because there was a difference in the ebuild release between the installed sources and the kernel I was running.  The orinoco-usb Makefile uses 'uname -r' to find the kernel build directory.

Closing; sorry for the inconvenience.
Comment 3 Jakub Moc (RETIRED) gentoo-dev 2007-08-30 07:10:54 UTC
INVALID then. ;)