[sane-devel] make errors with 1.07

2002-03-10 Thread Henning Meier-Geinitz
Hi, On Sat, Mar 09, 2002 at 09:35:33PM +0100, abel deuring wrote: > Thanks, I'll try that. Is there a way to restrict this test to Linux? We > should not bother users of other OSes with stuff that is not relevant to > them, if possible. You could check for the existence of sg.h. For an example, l

[sane-devel] make errors with 1.07

2002-03-09 Thread abel deuring
Henning Meier-Geinitz wrote: > Have a look at AC_TRY_COMPILE. There are some examples in > configure.in. The first argument are the includes, the second is the > code that's inside the main function, the third is executed when > compilation wa successful and the fourth when it wasn't successful. >

[sane-devel] make errors with 1.07

2002-03-09 Thread Henning Meier-Geinitz
Hi, On Sat, Mar 09, 2002 at 03:39:33PM +0100, abel deuring wrote: > For a general fix, this should be done with configure, I think. > > The information from host_status and friends is quite useful, both for a > better error handling and for diagnosis, if sanei_scsi has a bug or if > something go

[sane-devel] make errors with 1.07

2002-03-09 Thread abel deuring
john meshkoff wrote: > > abel deuring wrote: > > That's my fault. When I fiddled with the error handling in sanei_scsi.c, > > I forgot that old versions of sg.h did not have the fields host_status, > > driver_status and target_status. > > > > As a quick fix, you can change the lines 2079 ff in san

[sane-devel] make errors with 1.07

2002-03-09 Thread abel deuring
john meshkoff wrote: > > System: RH6.1, 2.2.19, GNU Make version 3.77. > > 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

[sane-devel] make errors with 1.07

2002-03-09 Thread Henning Meier-Geinitz
Hi, On Fri, Mar 08, 2002 at 11:06:00PM -0800, john meshkoff wrote: > 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-devel] make errors with 1.07

2002-03-09 Thread john meshkoff
abel deuring wrote: > > > > I've downloaded a C course from > > > > http://www.strath.ac.uk/IT/Docs/Ccourse/ccourse.html > > > > And will study it and try to figure out these instructions; > > Uhhh, I hope that's not necessary if you only want to get Sane > installed; just moving the com

p.s.: Re: [sane-devel] make errors with 1.07

2002-03-09 Thread john meshkoff
abel deuring wrote: > > The problem is that I am not very familiar with configure > -- is it possible to include a test like the following in configure? > > - try to compile the test program: > > #include > #include > int main(int argc, char **argv) > { > struct sg_header hdr; > hdr.targe

[sane-devel] make errors with 1.07

2002-03-09 Thread john meshkoff
abel deuring wrote: > > john meshkoff wrote: > > > > System: RH6.1, 2.2.19, GNU Make version 3.77. > > > > 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_

[sane-devel] make errors with 1.07

2002-03-09 Thread Gene Heskett
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:9

[sane-devel] make errors with 1.07

2002-03-08 Thread john meshkoff
System: RH6.1, 2.2.19, GNU Make version 3.77. 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 sanei_s