[sane-devel] microtek2 backend users: please test CVS version of backend

Karsten Festag karsten.festag@gmx.de
Mon, 4 Oct 2004 23:52:55 +0200


Henning, thanks for updating the backend.
I recently replaced my old microtek parallelport scannner with an Epson 2480 
(what a difference!) and I think I will stop working on the microtek2 
backend. But finally I would like to commit the changes I collected in the 
last time so they don't get lost. Henning, I'll send you the current files 
for the CVS, (I don't think I will need CVS access). They include the changes 
you made.
I tried to test todays CVS version on my old machine with the old scanner and 
I experienced a compilation problem:

make[1]: Wechsel in das Verzeichnis 
Verzeichnis /home/karsten/tmp/sane-backends/tools
gcc -c -g -O2 -W -Wall -Wcast-align -Wcast-qual -Wmissing-declarations 
-Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wstrict-prototypes 
-pedantic -ansi -DHAVE_CONFIG_H -I. -I. -I../include -I../include 
-DPATH_SANE_DATA_DIR=/usr/local/share           -DV_MAJOR=1 -DV_MINOR=0 
sane-find-scanner.c: In function `parse_file':
sane-find-scanner.c:973: warning: implicit declaration of function 
sane-find-scanner.c:974: sizeof applied to an incomplete type
[...much more of this...]
sane-find-scanner.c:1070: dereferencing pointer to incomplete type
sane-find-scanner.c:1073: dereferencing pointer to incomplete type
make[1]: *** [sane-find-scanner.o] Fehler 1
make[1]: Verlassen des Verzeichnisses 
Verzeichnis /home/karsten/tmp/sane-backends/tools
make: *** [all-recursive] Fehler 1

Looks like a libusb issue? I don't have libusb installed on the old machine 
but I ran configure with --disable-libusb so I expected no problems. 
Compiling on the new machine (which has libusb) works, but the 2.6 Kernel 
doesn't have ppscsi support so I can't test the backend right now.



On Sunday 03 October 2004 15:20, Henning Meier-Geinitz wrote:
> Hi again,
> Also a work-around to fix scanning on the microtek phantom c6 on big
> endian platforms has been committed to SANE CVS. Please everyone check
> if that doesn't break anything.
> I'm especially interested in reports from users of big endian systems.
> Here is the bug report:
> http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=%23274523
> Karsten: I've applied both patches as you don't seem to have committed
> changes to the microtek2 backend for quite some time. If you want to
> become active again, details on getting CVS access are here:
> http://www.sane-project.org/cvs.html
> Bye,
>   Henning