Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 92713 - sys-kernel/linux-headers-2.6.8.1-r2 seems broken because of linux-headers-2.6.8.1-appCompat.patch
Summary: sys-kernel/linux-headers-2.6.8.1-r2 seems broken because of linux-headers-2.6...
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All All
: High major (vote)
Assignee: Gentoo Linux bug wranglers
URL: http://www.kernel.org
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-05-15 09:43 UTC by S.Caglar Onur
Modified: 2005-05-15 09:56 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 S.Caglar Onur 2005-05-15 09:43:23 UTC
Some programs can't compile with current headers ( like readahead-list or SVN version of KDE's kopete ) and failes like this;

In file included from /usr/include/linux/fs.h:12,
                 from filelist-order.cxx:32:
/usr/include/linux/wait.h: In function `int
   waitqueue_active(wait_queue_head_t*)':
/usr/include/linux/wait.h:79: error: `list_empty' undeclared (first use this
   function)
/usr/include/linux/wait.h:79: error: (Each undeclared identifier is reported
   only once for each function it appears in.)

This is because of a patch add a line in "linux/list.h"

+#if defined(__KERNEL__) || defined(__LINUX_KEYBOARD_H)

and it's 

#endif

These are came with linux-headers-2.6.8.1-appCompat.patch and not in vanilla-sources.

Removing these solves the compilation problems and others...
Comment 1 S.Caglar Onur 2005-05-15 09:56:26 UTC
Irrgg, current linux-headers have no problem ( 2.6.8.1-r2 ). I found accidently injected new one and using old one :(. 

Closing this bug as invalid, sorry...