Compiling problem on SMP system

shawn a. space19@earthlink.net
Tue Jan 11 06:16:17 2000


On Mon, Jan 10, 2000 at 08:31:01PM +0000, Rick Philbrick wrote:
> 
> 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`
> 

This same thing happened to a linuxppc user. He tried compiling for a 
kernel called 2.2.6-15apmac, so this leads me to believe it has more 
to do with the name of your kernel than SMP. I am no expert tho.

you could try forcing it, 'insmod -f tulip.o' :-)
-------------------------------------------------------------------
To unsubscribe send a message body containing "unsubscribe"
to linux-tulip-request@beowulf.org