darkapostrophe@kobra:~/mmio-trace$ make make -C /lib/modules/2.6.20.1-kobra/build SUBDIRS=/home/darkapostrophe/mmio-trace EXTRA_CFLAGS=-DTRACE_PC=false modules make[1]: Entering directory `/usr/src/linux-2.6.20.1' CC [M] /home/darkapostrophe/mmio-trace/mmio-mod.o /home/darkapostrophe/mmio-trace/mmio-mod.c:28:25: error: linux/kmmio.h: No such file or directory /home/darkapostrophe/mmio-trace/mmio-mod.c:81: warning: ‘struct kmmio_probe’ declared inside parameter list /home/darkapostrophe/mmio-trace/mmio-mod.c:81: warning: its scope is only this definition or declaration, which is probably not what you want /home/darkapostrophe/mmio-trace/mmio-mod.c: In function ‘pre’: /home/darkapostrophe/mmio-trace/mmio-mod.c:85: error: ‘struct pt_regs’ has no member named ‘eip’ /home/darkapostrophe/mmio-trace/mmio-mod.c:92: error: ‘struct pt_regs’ has no member named ‘eip’ /home/darkapostrophe/mmio-trace/mmio-mod.c:95: error: ‘struct pt_regs’ has no member named ‘eax’ /home/darkapostrophe/mmio-trace/mmio-mod.c:95: error: ‘struct pt_regs’ has no member named ‘ebx’ /home/darkapostrophe/mmio-trace/mmio-mod.c:95: error: ‘struct pt_regs’ has no member named ‘ecx’ /home/darkapostrophe/mmio-trace/mmio-mod.c:95: error: ‘struct pt_regs’ has no member named ‘edx’ /home/darkapostrophe/mmio-trace/mmio-mod.c:97: error: ‘struct pt_regs’ has no member named ‘esi’ /home/darkapostrophe/mmio-trace/mmio-mod.c:97: error: ‘struct pt_regs’ has no member named ‘edi’ /home/darkapostrophe/mmio-trace/mmio-mod.c:97: error: ‘struct pt_regs’ has no member named ‘ebp’ /home/darkapostrophe/mmio-trace/mmio-mod.c:97: error: ‘struct pt_regs’ has no member named ‘esp’ /home/darkapostrophe/mmio-trace/mmio-mod.c:105: error: ‘struct pt_regs’ has no member named ‘eip’ /home/darkapostrophe/mmio-trace/mmio-mod.c:113: error: ‘struct pt_regs’ has no member named ‘eip’ /home/darkapostrophe/mmio-trace/mmio-mod.c:119: error: ‘struct pt_regs’ has no member named ‘eip’ /home/darkapostrophe/mmio-trace/mmio-mod.c:122: error: ‘struct pt_regs’ has no member named ‘eip’ /home/darkapostrophe/mmio-trace/mmio-mod.c:123: error: ‘struct pt_regs’ has no member named ‘eip’ /home/darkapostrophe/mmio-trace/mmio-mod.c:127: error: ‘struct pt_regs’ has no member named ‘eip’ /home/darkapostrophe/mmio-trace/mmio-mod.c:128: error: ‘struct pt_regs’ has no member named ‘eip’ /home/darkapostrophe/mmio-trace/mmio-mod.c:133: error: ‘struct pt_regs’ has no member named ‘eip’ /home/darkapostrophe/mmio-trace/mmio-mod.c: At top level: /home/darkapostrophe/mmio-trace/mmio-mod.c:140: warning: ‘struct kmmio_probe’ declared inside parameter list /home/darkapostrophe/mmio-trace/mmio-mod.c:220: warning: initialization from incompatible pointer type /home/darkapostrophe/mmio-trace/mmio-mod.c:269: error: field ‘probe’ has incomplete type /home/darkapostrophe/mmio-trace/mmio-mod.c: In function ‘ioremap_trace_core’: /home/darkapostrophe/mmio-trace/mmio-mod.c:292: error: field name not in record or union initializer /home/darkapostrophe/mmio-trace/mmio-mod.c:292: error: (near initialization for ‘(anonymous).probe’) /home/darkapostrophe/mmio-trace/mmio-mod.c:293: error: field name not in record or union initializer /home/darkapostrophe/mmio-trace/mmio-mod.c:293: error: (near initialization for ‘(anonymous).probe’) /home/darkapostrophe/mmio-trace/mmio-mod.c:294: error: field name not in record or union initializer /home/darkapostrophe/mmio-trace/mmio-mod.c:294: error: (near initialization for ‘(anonymous).probe’) /home/darkapostrophe/mmio-trace/mmio-mod.c:295: error: field name not in record or union initializer /home/darkapostrophe/mmio-trace/mmio-mod.c:295: error: (near initialization for ‘(anonymous).probe’) /home/darkapostrophe/mmio-trace/mmio-mod.c:308: warning: implicit declaration of function ‘register_kmmio_probe’ /home/darkapostrophe/mmio-trace/mmio-mod.c: In function ‘iounmap_trace’: /home/darkapostrophe/mmio-trace/mmio-mod.c:344: warning: implicit declaration of function ‘unregister_kmmio_probe’ make[2]: *** [/home/darkapostrophe/mmio-trace/mmio-mod.o] Error 1 make[1]: *** [_module_/home/darkapostrophe/mmio-trace] Error 2 make[1]: Leaving directory `/usr/src/linux-2.6.20.1' make: *** [mmio] Error 2