This file is part of linux26-headers error during compile of dc-gui: In file included from callbacks.c:33: /usr/include/linux/sem.h:48: error: syntax error before '*' token /usr/include/linux/sem.h:49: error: syntax error before '*' token /usr/include/linux/sem.h:50: error: syntax error before '*' token /usr/include/linux/sem.h:51: error: syntax error before '*' token /usr/include/linux/sem.h:52: error: syntax error before '}' token I replaced the file with a corrected sem.h file from Mariusz Mazur <mmazur /at/ kernel.pl> his linux-libc header package. May I express my discontent of gentoo reinventing the wheel by trying to sanitise/clean/fix the linux header crap by themselfes, instead of using the proven to be not so troublesome headers from Mariusz. I knew this sort of error would crop up the moment i saw the 'news' about it :( Also note, linux26-headers install is not clean. it overwrites the linux-headers package files all over (no big suprise) (leaving linux-headers installed, what now if linux-headers gets a version bumb :P) qpkg -f /usr/include/linux/sem.h sys-kernel/linux-headers * sys-kernel/linux26-headers *
Add in <linux/compiler.h> to line 3 of that file and it'll work; I'll add this to the patch shortly. > Also note, linux26-headers install is not clean. it overwrites the linux-headers > package files all over (no big suprise) (leaving linux-headers installed, what > now if linux-headers gets a version bumb :P) linux-headers-2.6.99 is designed for this purpose; it unmerges your existing headers leaving a blank tree; then RDEPENDing on linux26-headers.
Fixed - emerge sync, re-merge linux26-headers and it should compile without any issues - if you still have some then please REOPEN this bug. Thanks!
Works for me now :) > linux-headers-2.6.99 is designed for this purpose; it unmerges your existing headers leaving a blank tree; then RDEPENDing on linux26-headers. Its currently marked only "arm" so on my system i have the dual install still.