Summary: | linux26-headers-2.6.8.1-r2 cannot compile programs that include <linux/list.h> | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Marcel Lilienthal <marcel.lilienthal> |
Component: | [OLD] Core system | Assignee: | Tim Yamin (RETIRED) <plasmaroo> |
Status: | RESOLVED DUPLICATE | ||
Severity: | normal | CC: | robbat2 |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | x86 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 86410, 86968 |
Description
Marcel Lilienthal
2005-02-24 12:55:39 UTC
I've fixed this problem by deleting the line (39): #if defined(__KERNEL__) || defined(__LINUX_KEYBOARD_H) and the corresponding #endif on line(697), and it compiles fine. These lines are not in the headers distributed with the kernel. Want to try linux-headers-2.6 instead of linux26-headers? plasmaroo: I'm reopening this, because I'm getting reports that it 2.6.8.1-r[24] are causing problems for some folk. see bug 86968. Here is a quick patch I cooked up as per the instructions of dfseifer@cs.usc.edu. http://tirpitz.iat.sfu.ca/~robbat2/linux-headers-2.6.8.1-list_h-defines.patch The patch is no good ideally as lots of other things will break as they include functions named the same as the ones in list.h and hence conflict when they include things... Having a look if there's a better way of fixing this... |