plustek@linuxhacker.org

plustek@linuxhacker.org


Subject: plustek 9636T make load problem
From: Gerhard Maerker
Date: Sun, 09 Sep 2001 18:19:54 +0200

Hi all,

I need help. I tried to install my Plustek 9636T but I could´nt solve
"make load" 

I use SUSE 7.1 and downloaded "plustek-sane-0 39 3.tar.gz"
I followed the german installation help (Karsten Giesow)  on the Jaeger
site. 
Everything works fine until the "make load" command.
After the command I get an error.
----snip----
 root@linux:/home/gma/scanner/backend/plustek driver > make load
/sbin/modprobe pt drv || exit 1
/lib/modules/2.4.0-4GB/misc/pt drv.o: kernel-module version mismatch
        /lib/modules/2.4.0-4GB/misc/pt drv.o was compiled for kernel
version 2.4.0
        while this kernel is version 2.4.0-4GB.
/lib/modules/2.4.0-4GB/misc/pt drv.o: insmod
/lib/modules/2.4.0-4GB/misc/pt drv.o failed
/lib/modules/2.4.0-4GB/misc/pt drv.o: insmod pt drv failed
make: *** [load] Error 1                
----snip---

I read the FAQ File and found
"                 PROBLEM:
"--------
"You're using the wrong Kernel-header files.
"
"The path
"/usr/include/linux is a link to
"/usr/src/linux/include/linux and
"/usr/src/linux is normally a link to your current
"kernel, i.e:
"/usr/src/linux-2.2.14
"
"If you now upgrade your kernel and you have
"forgotten to correct the link /usr/src/linux, then
"every kernel-module you build outside the
"kernelsource structure will include the wrong
"version information.
"
"SOLUTION:
"---------
"Set the link /usr/src/linux
"to your current kernel-source tree before recompiling
"kernel-modules like pt drv, then your version mismatch
"problem should be solved."

But I don´t know which is my current kernel-source. Ther are:
------snip---

gma@linux:/usr/src > l
insgesamt 24
drwxr-xr-x    6 root     root         4096 Sep  9 17:51 ./
drwxr-xr-x   23 root     root         4096 Mär 27 23:11 ../
lrwxrwxrwx    1 root     root           16 Sep  9 17:51 linux ->
linux-2.4.0.SuSE/
drwxr-xr-x    3 root     root         4096 Mär 27 23:20 linux-2.2.18/
drwxr-xr-x    3 root     root         4096 Sep  9 17:22 linux-2.4.0-4GB/
drwxr-xr-x    3 root     root         4096 Sep  9 17:20
linux-2.4.0.SuSE/
drwxr-xr-x    7 root     root         4096 Mär 27 22:53 packages/
gma@linux:/usr/src >   

---snip----

Pleas ehelp me.

Thank you

regards

Gerhard Maerker
Berlin

plustek@linuxhacker.org