ipipe/tracer.c compiling error
Hi,
I just patched my adeos enhanced kernel with "ipipe-tracer-2.6.15-i386-1.3.0-00.patch". When compiling the kernel with the tracer switched on I get the following compile error:kernel/ipipe/tracer.c:122: error: bad syntax before "void". It seems the compiler does not recognice "notrace". Did I miss something when patching the kernel?
Thanks for your help
Nathan
Quoted 7 lines · Lauener Nathan
Hi,
I just patched my adeos enhanced kernel with "ipipe-tracer-2.6.15-i386-1.3.0-00.patch". When compiling the kernel with the tracer switched on I get the following compile error:kernel/ipipe/tracer.c:122: error: bad syntax before "void". It seems the compiler does not recognice "notrace". Did I miss something when patching the kernel?
notrace is defined in the patched linkage.h, and this one comes with your patch revision:
include/linux/linkage.h +4 -0
@@ -51,4 +51,8 @@#define fastcall#endif +#ifndef notrace +#define notrace __attribute__((no_instrument_function)) +#endif +#endif
Moreover, just yesterday I compiled a 2.6.15.3 kernel with that revision
+ tracer but without problems... strange.
Jan