plustek: Errors compiling on kernel 2.4.1


Previous by date: 5 Feb 2001 01:01:44 -0000 Errors compiling on kernel 2.4.1, MiGuEl AnGeL
Next by date: 5 Feb 2001 01:01:44 -0000 Re: Errors compiling on kernel 2.4.1, Jaeger, Gerhard
Previous in thread: 5 Feb 2001 01:01:44 -0000 Errors compiling on kernel 2.4.1, MiGuEl AnGeL
Next in thread: 5 Feb 2001 01:01:44 -0000 Re: Errors compiling on kernel 2.4.1, Jaeger, Gerhard

Subject: Re: Errors compiling on kernel 2.4.1
From: Mark Bratcher ####@####.####
Date: 5 Feb 2001 01:01:44 -0000
Message-Id: <3A7DFC7A.BF614A69@rochester.rr.com>

Miguel,

Hoping someone will correct me if I'm mistaken here...
but I _think_ the SANE website (which I can't seem to connect to right
now)
says that you should use sane version 1.0.4 with kernel 2.4.x

Mark

MiGuEl AnGeL wrote:
> 
>         Hi
> 
>         In July 2000 I bought a Plustek 9636T for my Linux
> because I had found this driver. Then I compiled it
> with Sane 1.0.3 and XSane 0.60, all worked great.
> 
>         Some days ago I upgrated my system from kernel 2.2.14
> to 2.4.1, and then I tried to compile the last release
> of the driver with the same Sane 1.0.3 I've got
> installed. I've modified de /usr/src/linux (simbolic
> link) in order to use de kernel 2.4.1 headers, and
> then into /usr/src/sane-1.0.3/plustek_driver I tried
> to compile and got the following errors:
> 
> [miguev@pajaroloco plustek_driver]# make
> gcc -Wall -Wstrict-prototypes -w -fomit-frame-pointer
> -D_PTDRV_V1=0 -D_PTDRV_V0=36 -D_PTDRV_BUILD=38
> -D__KERNEL__ -I/usr/src/linux/include -I./h -I./.. -O2
> -DMODULE  -M ./src/*.c > .depend
> ...
> gcc -Wall -Wstrict-prototypes -w -fomit-frame-pointer
> -D_PTDRV_V1=0 -D_PTDRV_V0=36 -D_PTDRV_BUILD=38
> -D__KERNEL__ -I/usr/src/linux/include -I./h -I./.. -O2
> -DMODULE  -c src/misc.c -o obj/misc.o
> src/misc.c: In function `miscSetFastMode':
> src/misc.c:341: `PARPORT_MODE_PCECR' undeclared (first
> use in this function)
> src/misc.c:341: (Each undeclared identifier is
> reported only once
> src/misc.c:341: for each function it appears in.)
> src/misc.c:342: `PARPORT_MODE_PCECPEPP' undeclared
> (first use in this function)
> src/misc.c:373: `PARPORT_MODE_PCECPPS2' undeclared
> (first use in this function)
> src/misc.c:407: `PARPORT_MODE_PCPS2' undeclared (first
> use in this function)
> src/misc.c: In function `miscSetPortMode':
> src/misc.c:469: `PARPORT_MODE_PCEPP' undeclared (first
> use in this function)
> src/misc.c: In function `MiscRestorePort':
> src/misc.c:665: `PARPORT_MODE_PCECR' undeclared (first
> use in this function)
> make: *** [obj/misc.o] Error 1
> 
>         I thought this errors would be avoided adding the
> following lines from
> /usr/src/linux-2.2.14/include/linux/parport.h to
> /usr/src/linux-2.4.1/include/linux/parport.h
> 
> /* The "modes" entry in parport is a bit field
> representing the following
>  * modes.
>  * Note that PARPORT_MODE_PCECPEPP is for the SMC
> EPP+ECP mode which is NOT
>  * 100% compatible with EPP.
>  */
> #define PARPORT_MODE_PCSPP              0x0001
> #define PARPORT_MODE_PCPS2              0x0002
> #define PARPORT_MODE_PCEPP              0x0004
> #define PARPORT_MODE_PCECP              0x0008
> #define PARPORT_MODE_PCECPEPP           0x0010
> #define PARPORT_MODE_PCECR              0x0020  /* ECR
> Register Exists */
> #define PARPORT_MODE_PCECPPS2           0x0040
> 
>         But this didn't fix de problem.
> 
>         Then, ¿what is wrong? I've got a Linux HispaFuentes
> 7.0 (based on RedHat 6.2) on a Pentium 120. I
> downloaded sane-1.0.3.tar.gz from
> ftp.mostang.com/pub/sane/ and
> plustek-module-0_36_37.tar.gz
> home.t-online.de/home/g-jaeger/
> 
>         I'll be much grateful for any 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)
> 
> _______________________________________________________________
> Do You Yahoo!?
> Consiga gratis su dirección @yahoo.es en http://correo.yahoo.es
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: ####@####.####
> For additional commands, e-mail: ####@####.####

-- 
Mark Bratcher
---------------------------------------------------------
Escape from Microsoft's proprietary tentacles: use Linux!

Previous by date: 5 Feb 2001 01:01:44 -0000 Errors compiling on kernel 2.4.1, MiGuEl AnGeL
Next by date: 5 Feb 2001 01:01:44 -0000 Re: Errors compiling on kernel 2.4.1, Jaeger, Gerhard
Previous in thread: 5 Feb 2001 01:01:44 -0000 Errors compiling on kernel 2.4.1, MiGuEl AnGeL
Next in thread: 5 Feb 2001 01:01:44 -0000 Re: Errors compiling on kernel 2.4.1, Jaeger, Gerhard


Powered by ezmlm-browse 0.20.