Compiling problem on SMP system

Rick Philbrick rphilbrick@uswest.net
Mon Jan 10 23:28:40 2000


Here goes my first post to this board.

I have a dual PII w/128Megs of ram .  On it I run Red Hat 6.0 SMPkernel
2.2.5-15 .  I have a CNET 120 , which i have sworn by on my system.
After a compile on the tulip.c file  out comes a tulip.o file , which to
me sounds like it compiled w/o errors.  So then, from the command line I
run  insmod tulip.
The error i get back is akin to a mismatch of kernels....

[root@bigbird tmp]# insmod tulip
./tulip.o: kernel-module version mismatch
        ./tulip.o was compiled for kernel version 2.2.5-15
        while this kernel is version 2.2.5-15smp.

Is there an option that i need to give at compile time to let the
compiler know to use SMP ???  Below is the compile command I used.

[root@bigbird tmp]# gcc -DMODULE -D__KERNEL__ -I/usr/src/linux/net -Wall
-Wstrict-prototypes -O6 -c tulip.c `[ /usr/include/linux/modversions.h ]
&& echo -DMODVERSIONS`


-------------------------------------------------------------------
To unsubscribe send a message body containing "unsubscribe"
to linux-tulip-request@beowulf.org