Hi, modules compiled using these parameters are working on my 2.4.21 SMP kernel:
You're _not_ using the same options as the kernel's Makefile does for building modules.
Ralf
CFLAGS="-I .../include/asm/gcc -D__KERNEL__ -I.../include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common -G 0 -mno-abicalls -fno-pic -mcpu=XX -mips2 -Wa,--trap -pipe -DMODULE -mlong-calls"
XX = your chip style
Zhang Haitao