D/L the 2.4.19 kernel and unpack it to /usr/src then change the 'linux' symlink to it, instead of 2.4.8
Then unpack the driver source again (so it would be clean install) and run /configure then make. You are using old sources with newer kernel version. that's why you have those problems. ----- Original Message ----- From: <[EMAIL PROTECTED]> To: "Linux IL" <[EMAIL PROTECTED]> Sent: Friday, November 08, 2002 11:33 AM Subject: compile problem > After further considering, I've come to the conclusion that the USB camera > problem I'm having is really a compile problem, so I'm writing again with what I > think is only the **relevant** info. > > I compiled the module for the camera and insmod gave the following error > message: > > [root@shlomo1 spca1]# insmod /data2/spca1/spca50x.o > /data2/spca1/spca50x.o: kernel-module version mismatch > /data2/spca1/spca50x.o was compiled for kernel version 2.4.8-26mdk > while this kernel is version 2.4.8-34.1mdk. > > I did have kernel version 2.4.8-26mdk a long time ago, but I've been running > kernel version 2.4.8-34.1mdk for quite a while. I don't understand why the make > **thinks** it has to create a 2.4.8-26mdk module. I have the correct kernel > sources. Here's what I've got: > > [root@shlomo1 spca1]# ls /usr/src -la > total 3 > drwxr-xr-x 4 root root 128 Nov 8 09:31 ./ > drwxr-xr-x 16 root root 472 Feb 26 2002 ../ > lrwxrwxrwx 1 root root 11 Nov 8 09:31 linux -> linux-2.4.8/ > drwxr-xr-x 19 root root 712 Nov 8 09:31 linux-2.4.8/ > drwxr-xr-x 7 root root 168 Jan 28 2002 RPM/ > > And according to the make file, I think this should be OK. Here's part of the > Makefile: > > ### > # Location of the header files (most importantly the config files) > # for the kernel you want to build the module against. > # This should be correct for the currently installed kernel on your machine. > KINCLUDE = /usr/src/linux/include > > > I admit - I'm lost. Any help would be appreciated. > > TIA > > > > > > > > > > > I admit - I'm lost. Any help would be appreciated. > > > > TIA > > //------------------------- > Shlomo Solomon > E-Mail: [EMAIL PROTECTED] > http://come.to/shlomo.solomon > Date: 08-Nov-2002 Time: 11:20:41 > > Message sent by XFMail on a LINUX Mandrake 8.1 machine > //------------------------- > > > ================================================================= > To unsubscribe, send mail to [EMAIL PROTECTED] with > the word "unsubscribe" in the message body, e.g., run the command > echo unsubscribe | mail [EMAIL PROTECTED] > > ================================================================= To unsubscribe, send mail to [EMAIL PROTECTED] with the word "unsubscribe" in the message body, e.g., run the command echo unsubscribe | mail [EMAIL PROTECTED]
