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