Compiling problem on SMP system

Jon Plews jonplews@dial.pipex.com
Tue Jan 11 13:00:11 2000



> -----Original Message-----
> From: owner-linux-tulip@beowulf.org
> [mailto:owner-linux-tulip@beowulf.org]On Behalf Of Rick Philbrick
> Sent: 10 January 2000 20:31
> To: linux-tulip@beowulf.gsfc.nasa.gov
> Subject: Compiling problem on SMP system
>
>
>
> 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`
>
>

I've seen module versioning problems with Redhat mentioned elsewhere.
You could try forcing module installation with '-f' switch.

2.2.5 is rather old (over 6 months!) so it may be a good idea to update
the kernel to an unpatched copy of 2.2.14.

Jon Plews.

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