Florian Ragwitz <[EMAIL PROTECTED]> writes: > I hope that's the right portion from config.log:
> configure:4016: checking for rlim in struct task_struct > configure:4032: gcc -c -g -O2 -I/usr/src/linux/include > -I/usr/src/linux/include/asm/mach-default -D__KERNEL__ conftest.c 1>&5 > In file included from /usr/src/linux/include/linux/rwsem.h:27, > from /usr/src/linux/include/asm/semaphore.h:42, > from /usr/src/linux/include/linux/sched.h:20, > from configure:4025: > /usr/src/linux/include/asm/rwsem.h: In function '__down_read': > /usr/src/linux/include/asm/rwsem.h:105: error: syntax error before > 'KBUILD_BASENAME' > /usr/src/linux/include/asm/rwsem.h: In function '__down_write': > /usr/src/linux/include/asm/rwsem.h:157: error: syntax error before > 'KBUILD_BASENAME' > /usr/src/linux/include/asm/rwsem.h: In function '__up_read': > /usr/src/linux/include/asm/rwsem.h:194: error: syntax error before > 'KBUILD_BASENAME' > /usr/src/linux/include/asm/rwsem.h: In function '__up_write': > /usr/src/linux/include/asm/rwsem.h:220: error: syntax error before > 'KBUILD_BASENAME' > /usr/src/linux/include/asm/rwsem.h: In function '__downgrade_write': > /usr/src/linux/include/asm/rwsem.h:245: error: syntax error before > 'KBUILD_BASENAME' Yup, that would be the problem. So, the OpenAFS configure probes just include <linux/sched.h>, and apparently the result is invalid C code. Apparently <linux/sched.h> has an implicit dependency on some other header that has to be included first. Personally, I think that's a kernel bug, but that's probably a lost cause. To fix this, we have to figure out what header is supposed to be included first (or figure out some other way of accomplishing the same thing). -- Russ Allbery ([EMAIL PROTECTED]) <http://www.eyrie.org/~eagle/> -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]