I'm trying to compile a modul for kernel. The comand I use:
CODE
# gcc -O6 -Wall -D__KERNEL__ -c -o irkbdsim.o irkbdsim.c

On IPAQs cluster this produced irkbdsim.o after some warnings.
When I tried the same command on Zaurus with zgcc I have got exactly the same warnings but no irkbdsim.o was generated. Why?

I need to compile it locally as lsmod rejects modules compiled for other than mine kernels.

suruaZ