Those messages indicate you're compiling code targetted at the x86 architecture.
-----Original Message----- It seems that the below got me further; however, I am not investigating the following errors: gcc -c -g -O6 -DMODULE -D__KERNEL__ -I/lib/modules/2.4.7-timer-SMP/build/include -I/usr/src/linux-2.4.7-timer-SMP/include -I/usr/src/linux/include -I/usr/src/linux-2.4.7/include auditmodule.c auditmodule.c: In function `init_module': auditmodule.c:152: `boot_cpu_data' undeclared (first use in this function) auditmodule.c:152: (Each undeclared identifier is reported only once auditmodule.c:152: for each function it appears in.) auditmodule.c: In function `audit_execve': auditmodule.c:1333: structure has no member named `ebx' auditmodule.c:1339: structure has no member named `ecx' auditmodule.c:1390: structure has no member named `ecx' auditmodule.c:1390: structure has no member named `edx' auditmodule.c:1409: structure has no member named `ecx' auditmodule.c:1409: structure has no member named `edx' make: *** [auditmodule] Error 1
