often times i'll see this warning: In file included from /usr/include/linux/compiler.h:18, from /usr/include/asm/sigcontext.h:4, from /usr/include/bits/sigcontext.h:28, from /usr/include/signal.h:307, from /usr/include/sys/wait.h:30, from scripts/kconfig/mconf.c:10: /usr/include/linux/compiler-gcc2.h:15: warning: `__attribute_used__' redefined /usr/include/sys/cdefs.h:169: warning: this is the location of the previous definition usually it's not a problem but sometimes configure scripts choke on it the fix is simple: --- /usr/src/linux/include/linux/compiler-gcc2.h 2003-12-25 17:14:06.000000000 -0500 +++ /usr/include/linux/compiler-gcc2.h 2003-12-25 17:52:26.000000000 -0500 @@ -12,7 +12,9 @@ # define __builtin_expect(x, expected_value) (x) #endif +#ifndef __attribute_used__ #define __attribute_used__ __attribute__((__unused__)) +#endif /* * The attribute `pure' is not implemented in GCC versions earlier
Done; in CVS.