Summary: | x11-drivers/ati-drivers-8.582 + kernel 2.6.27-gentoo-r8 - include/linux/mmzone.h:18:26: error: linux/bounds.h: No such file or directory | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | shaitanx |
Component: | New packages | Assignee: | Luca Barbato <lu_zero> |
Status: | RESOLVED WORKSFORME | ||
Severity: | normal | CC: | christian.kotz, cmsigler, je_fro, jweckhart, x11 |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | x86 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
emerge --info output
build log |
Description
shaitanx
2009-04-14 00:47:48 UTC
Please post your `emerge --info' too. can confirm this * ati-drivers-8.5993 * kernel 2.6.28-r5 an include files "include/linux/bounds.h", which is looked for seems to be missing on recent kernels I'll attach build log and emerge --info Created attachment 192443 [details]
emerge --info output
Created attachment 192446 [details]
build log
Hi, (In reply to comment #2) > can confirm this > * ati-drivers-8.5993 > * kernel 2.6.28-r5 > > an include files "include/linux/bounds.h", which is looked for seems to be > missing on recent kernels I hope someone is monitoring this bug report.... This problem also shows up when emerging app-emulation/virtualbox-ose-2.2.4, whereas app-emulation/virtualbox-ose-2.2.2 emerged for me without error. I agree that this seems to be a problem with the kernels. mmzone.h, for example, is available in all the sys-kernel/gentoo-sources versions I've got installed, and it tries to #include <linux/bounds.h>, but bounds.h is only available in dev-libs/klibc (under another include tree). I'm at a loss as to why bounds.h wouldn't be a part of the kernel tree, or why packages have only recently started including, e.g., mmzone.h from the kernel tree which shows up the missing bounds.h. I'm no kernel expert. I simply patched the problem up for myself via a temporary symlink. HTH. Clemmitt I encountered the same error (linux/bounds.h missing) with sys-kernel/gentoo-source-2.6.30-r2 and app-emulation/virtualbox-modules-3.0.2. I had recently cleaned (make clean) my kernel to free up space. Make sure that you have run make --prepare or better in your active kernel directory (or the one specified by KERNEL_DIR=<kernel directory> in your environment) and the module should compile cleanly. I ran "make prepare" and then emerge --resume completed successfully. Hope this helps. Sorry, to clarify the command is "make prepare" and not "make --prepare" |