plustek@linuxhacker.org

plustek@linuxhacker.org


Subject: Re: Problems compiling the plustek driver on Mandrake 7.2
From: g-jaeger.t-online.de
Date: 19 Feb 2001 07:48 GMT

Hi Marcelo,

 FastScanMode is define in the file plustek share.h in
the backend directory. It seems, that you're using an older
version of the backend sources...
So please make sure that you have unpacked FIRST the 
SANE sources and then the driver stuff and THEN start
building SANE and the driver

This ensures that SANE will work with the driver AND
the driver gets compiled.

If you still have problems, please tell us which
SANE version and wich driver version you're about
to use.

Gerhard


>
> Folks,
> 
> I am trying to compile the driver under Mandrake 7.2 and I an 
getting
> the following error message.
> Sorry if this is a beginner's question but what the hell am I doing
> wrong?
> 
> Thanks in advance for any help you can provide.
> 
> [eagle]$ 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  -c src/dac.c -o obj/dac.o
> src/dac.c: In function `dacP98SetReadFBKRegister':
> src/dac.c:108: ` FastScanMode' undeclared (first use in this 
function)
> src/dac.c:108: (Each undeclared identifier is reported only once
> src/dac.c:108: for each function it appears in.)
> src/dac.c: In function `dacP98FillChannelDarkLevelControl':
> src/dac.c:209: ` FastScanMode' undeclared (first use in this 
function)
> src/dac.c: In function `dacP98SetRGBGainRegister':
> src/dac.c:341: ` FastScanMode' undeclared (first use in this 
function)
> src/dac.c: In function `dacP98Adjust12BitShading':
> src/dac.c:730: ` FastScanMode' undeclared (first use in this 
function)
> src/dac.c: In function `dacP98WaitForShading':
> src/dac.c:796: ` FastScanMode' undeclared (first use in this 
function)
> make: *** [obj/dac.o] Error 1   
> 
> 
> Best wishes,
> 
> -- 
> marcelo Pinheiro
> mpinheir@home.com  / mpinheir@yahoo.com
> ICQ: 962395 - Calgary - Alberta - Canada
> http://members.home.net/mpinheir
> 
> 
---------------------------------------------------------------------
> To unsubscribe, e-mail: plustek-unsubscribe@linuxhacker.org
> For additional commands, e-mail: plustek-help@linuxhacker.org
> 
> 


plustek@linuxhacker.org