[sane-devel] Re: Current list of supported platforms

Henning Meier-Geinitz henning at meier-geinitz.de
Sun Feb 3 10:57:38 GMT 2002


Hi,

On Sun, Feb 03, 2002 at 01:23:38AM +0100, Michael Piotrowski wrote:
> Hmm.  I successfully compiled 1.0.7-beta2 on HP-UX 10.20 with both the
> HP C compiler and gcc 3.0.1.

Thanks. You can ignore my other message about this. I should really
read all mails before answering :-)

> The CVS snapshot also _compiles_ with both compilers (since the -ansi
> option isn't used for gcc, gcc can be used without having to specify
> -D_HPUX_SOURCE, as it was necessary for 1.0.7-beta2); the cc-built
> scanimage also works fine, but the gcc-built scanimage doesn't work:
> 
>   scanimage: open of device epson:/dev/scanner failed: Invalid argument
> 
> So it seems that something was changed between beta2 and your CVS
> snapshot which breaks on HP-UX if compiled with gcc...

I just checked the diff. Not counting the warnings, there are only two
things that changed between these two versions: The test for struct
semun in sem.h and the test for GPHOTO2. As GPHOTO2 is diabled by
default and sem.h is only used in snapscan, I don't understand what's
happening here. All the other changes are documentation related.

Are you sure that this isn't just a configuration problem? Can you
look with "SANE_DEBUG_EPSON=255 scanimage -L" what's happening? If
it's SCSI-related, you can also add "SANE_DEBUG_SANEI_SCSI=255".

Bye,
  Henning



More information about the sane-devel mailing list