[sane-devel] make errors with 1.07

Gene Heskett gene_heskett@iolinc.net
Sat, 9 Mar 2002 06:55:51 -0500


On Saturday 09 March 2002 02:06 am, john meshkoff wrote:
>System:  RH6.1, 2.2.19, GNU Make version 3.77.
>
Given the age of the rh install, could this be an includes 
problem?

>I got the following, trying to make 1.07:
>
>sanei_save_values.c: In function `sanei_save_values':
>sanei_save_values.c:99: warning: comparison between signed and
> unsigned sanei_save_values.c:127: warning: comparison between
> signed and unsignedI
>
The above are fairly common errors, but aren't normally 
show-stoppers.

>sanei_scsi.c: In function `sanei_scsi_req_wait':
>sanei_scsi.c:2079: structure has no member named `host_status'
>sanei_scsi.c:2080: structure has no member named `host_status'
>sanei_scsi.c:2081: structure has no member named `host_status'
>sanei_scsi.c:2082: structure has no member named `driver_status'
>sanei_scsi.c:2083: structure has no member named `target_status'
>sanei_scsi.c: In function `lx_chk_id':
>sanei_scsi.c:2280: warning: unused parameter `host'
>sanei_scsi.c: In function `sanei_scsi_find_devices':
>sanei_scsi.c:2497: warning: assignment discards `const' from
> pointer target typemake[1]: *** [sanei_scsi.o] Error 1
>make[1]: Leaving directory
> `/usr/local/src/sane-backends-1.0.7/sanei' make: ***
> [all-recursive] Error 1

But the missing definitions above sure are.  Its possible that 
later (than rh6.2) includes may define these.
>
>
>	I want to try the latest version on a Mustek 600II EP; the
> following found on
>
>http://home.arcor.de/jochen.eisinger/sane/#scanner
>
>"the FCC-ID says this scanner is a SCSI over PP scanner. May
> work with the
>                                 sane-mustek backend"
>
>	I may also end up getting a HP scanner from the known-supported
> list; so I would like to find out how to correct whatever is
> causing the errors.  Do I need to have scsi in the make, if I
> don't get a scsi scanner?  Would it be too complicated to
> remove the scsi stuff in that case?
>
>Thanks in advance, John

-- 
Cheers, Gene
AMD K6-III@500mhz 320M
Athlon1600XP@1400mhz  512M
98.6+% setiathome rank, not too shabby for a hillbilly