Summary: | games-fps/quake2-icculus build error with sanitized kernel headers (no asm/io.h) | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | timofonic <timofonic> |
Component: | [OLD] Games | Assignee: | Gentoo Games <games> |
Status: | RESOLVED FIXED | ||
Severity: | enhancement | CC: | marklinux, pez |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 159304 | ||
Attachments: | Output of building eror |
Description
timofonic
2007-09-19 18:28:08 UTC
Created attachment 131324 [details]
Output of building eror
can you make a symlink from /usr/src/linux/include/asm-i386/ to /usr/src/linux/include/asm? i.e. "ln -s /usr/src/linux/include/asm-i386 /usr/src/linux/include/asm" (Assuming "linux" is a symlink pointing to the kernel source tree you're using) It looks like it may be having an issue finding this directory, a lot this possibly having to do with what kernel version you're using. Try that and post your result. Hey, I just ran into this, too. It definitely does seem related to sys-kernel/linux-headers. I symlinked the one file, io.h, and tried a recompile, but then it just complained about missing linux/string.h and linux/compiler.h (which were included from asm/io.h), and I didn't feel like heading down the recursively-symlink road. Besides, stuff in /usr/src/linux really shouldn't live outside of there, anyway. Dunno what can be done about it, though - I suspect this is something that'd have to end up going upstream or something. Oh, I forgot to mention that I'm currently on sys-kernel/linux-headers-2.6.23-r3 One easy fix, btw, seems to be to just disable the "aalib" USE flag, since that's where this error's getting generated. Seeing as though that's a pretty superfluous flag, anyway, that shouldn't be a big deal for anyone. |