plustek@linuxhacker.org

plustek@linuxhacker.org


Subject: Re: Errors compiling on kernel 2.4.1
From: Miguel Angel Vilela
Date: Fri, 6 May 2005 22:30:32 +0000

On Monday Jan 5 you wrote:
> it seems, that you have some problems with your upgrade!
> I currently tested the 0.36-37 tar-ball with the 2.4.1 kernel
> and it compiled.
> The plustek_driver/h/sysdep-2.1.h header file normally
> detects the used kernel version and sets the #defines i.e
> Kernel 2.4.x should cause a #define LINUX_24 (line 30).
> This should cause the use of the mappings in file misc.c
> (see line 60 ff). 
> Please recheck your configuration. Try
> less /usr/src/linux/include/linux/version.h,
> this should produce:
> #define UTS_RELEASE "2.4.1"
> #define LINUX_VERSION_CODE 132097
> #define KERNEL_VERSION(a,b,c) (((a) << 16) + ((b) << 8) + (c))   
> Perform the make clean step in the plustek_driver directory
> before recompiling and make sure, that the symbolic link to
> your kernel sources is correct.

	Thank you very much!
	I've compiled the driver with Sane 1.0.4 and it's works great!... well,
with a few misteriousus problems with xfs, but I've solved it :-). Finally, my
problem was the linux-2.4.1 tar-ball I downloaded doesn't provide the headers
file /usr/src/linux/include/linux/version.h, but fortunately a friend gave me
it and after this the driver compiled in a short time. I'm much grateful for
your help.	

		 ~ ~ ~ ~ ~ Miguel Ángel Vilela ~ ~ ~ ~ ~


Santa Cruz de Tenerife, Islas Canarias  (Spain).
Web:  http://usuarios.tripod.es/miguev/ (en desarrollo)
ICQ:  #72624205 || Nick: miguev
GULIC - Grupo de Usuario de LInux de Canarias.
Powered by Linux 2.4.1
Linux Registered User #184518 (http://counter.li.org)
Linux Registered Box   #81674 (IBM Aptiva 2175-352, P120, 32RAM, 1GB)
Peticion de drivers para Linux #73209 
(http://www.libralinux.com/petition.spanish.html)

                               ///
                              (@ @)
------------------------oOO----(_)----OOo-------------------------
 La matematica es como el sexo; porque sirve para un fin practico, 
         pero no es esa la razon por la que se practica. 
------------------------------------------------------------------
		Desde el punto de vista matematico, 
		  el sexo es la formula perfecta:
		 la mujer coge el primer miembro, 
		   lo encierra entre parentesis, 
		   lo eleva a su máxima potencia, 
		      le saca el factor común 
		 y lo reduce a su mínima expresión.
------------------------------------------------------------------

plustek@linuxhacker.org