Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 92713

Summary: sys-kernel/linux-headers-2.6.8.1-r2 seems broken because of linux-headers-2.6.8.1-appCompat.patch
Product: Gentoo Linux Reporter: S.Caglar Onur <caglar>
Component: [OLD] Core systemAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED INVALID    
Severity: major    
Priority: High    
Version: unspecified   
Hardware: All   
OS: All   
URL: http://www.kernel.org
Whiteboard:
Package list:
Runtime testing required: ---

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...