| Summary: | kernel-devel-3.3.0 is missing include files... | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | kevin martin <ktmdms> |
| Component: | kernel | Assignee: | Kernel Maintainer List <kernel-maint> |
| Status: | CLOSED NOTABUG | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | urgent | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | rawhide | CC: | gansalmon, itamar, jonathan, kernel-maint, madhu.chinakonda |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2012-01-24 19:06:49 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
|
Description
kevin martin
2012-01-24 16:21:14 UTC
Those files are auto-generated by Kbuild now. They are located in arch/x86/include/generated/ in the kernel-devel package. The kernel build system adds -Iarch/x86/include/generated in the makefile invocation. I'm not sure what problems the nvidia driver is having, but perhaps it needs to be adapted to the 3.3 kernel. Ah, I see. the build needs to add the generated/asm directory to it's -I list. Thanks. but how does ia32_unistd.h get the unistd_32_ia32.h file then? It's asking for: #define __SYSCALL_ia32_NR(x) (x) #include <asm/unistd_32_ia32.h> not the generated version. and unistd.h is not asking for the generated version either...it's looking for it in .....include/asm, not ....include/generated/asm. (In reply to comment #4) > and unistd.h is not asking for the generated version either...it's looking for > it in .....include/asm, not ....include/generated/asm. You're aware of how the -I option works, correct? It can be listed multiple times. E.g. -isystem /usr/lib/gcc/x86_64-redhat-linux/4.7.0/include -I/home/jwboyer/src/linux-2.6/arch/x86/include -Iarch/x86/include/generated -Iinclude -include /home/jwboyer/src/linux-2.6/include/linux/kconfig.h -D__KERNEL__ which basically says "look for <asm/<whatever>.h> in the following directories in this order: /home/jwboyer/src/linux-2.6/arch/x86/include, arch/x86/include/generated/, include" Ah, my mistake, I had added a '-I/lib/modules/3.3.0-0.rc1.git0.3.fc17.x86_64/source/arch/x86/include/generated/asm' when all I needed was '-I/lib/modules/3.3.0-0.rc1.git0.3.fc17.x86_64/source/arch/x86/include/generated'. Now it compiles. Thanks. Wonderful. Closing this out. |