plustek@linuxhacker.org

plustek@linuxhacker.org


Subject: Re: plustek-driver/Suse 7.1/Kernel 2.4.
From: g-jaeger.t-online.de
Date: 20 Mar 2001 07:52 GMT

Hi,

this is a common problem which appears when not having
set the link /usr/src/linux correctly. Please make sure, that
this link points to your kernel 2.4 sources (or at least to
its header files). The problem was, that the definitions for
PARPORT MODE xxx changed between the two kernel releases...

Check the settings, correct them and try it again.
Gerhard

>----- Ursprüngliche Nachricht -----
>Absender: t.mandl@bnv.miesbach.org
>Betreff: Re: plustek-driver/Suse 7.1/Kernel 2.4.
>Empfänger: g-jaeger@t-online.de , plustek@linuxhacker.org
>Datum: 17. Mär 2001 17:18
>
> Hi,
> 
> 
> > in general, it should  be possible to download a
> > plustek-module... tar-ball, unpack it anywhere and build
> > the driver. Please have a look at my homepage where you find
> > which version is suitable for SANE-1.0.4.
> 
> installed sane 1.04 by yast, untared 
> plustek-module 0 37 23  in my homedir.
> 
> After "make" following error message is reported:
> 
>  I -D PTDRV BUILD=24 -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:370: `PARPORT MODE PCECR' undeclared (first use in this
> function)
> src/misc.c:370: (Each undeclared identifier is reported only once
> src/misc.c:370: for each function it appears in.)
> src/misc.c:371: `PARPORT MODE PCECPEPP' undeclared (first use in 
this
> function)
> src/misc.c:404: `PARPORT MODE PCECPPS2' undeclared (first use in 
this
> function)
> src/misc.c:440: `PARPORT MODE PCPS2' undeclared (first use in this
> function)
> src/misc.c: In function `miscSetPortMode':
> src/misc.c:508: `PARPORT MODE PCEPP' undeclared (first use in this
> function)
> src/misc.c: In function `MiscRestorePort':
> src/misc.c:705: `PARPORT MODE PCECR' undeclared (first use in this
> function)
> make: *** [obj/misc.o] Error 1
> 
> What goes wrong?
> 
> Greetinx
> Thomas
> 
> 
> 
---------------------------------------------------------------------
> To unsubscribe, e-mail: plustek-unsubscribe@linuxhacker.org
> For additional commands, e-mail: plustek-help@linuxhacker.org
> 
> 


plustek@linuxhacker.org