Re: sane 1.0.2 compile problem with AIX 432

From: Petter Reinholdtsen (pere@hungry.com)
Date: Sun Mar 19 2000 - 20:19:19 PST

  • Next message: Mário Rui P. F. N. Costa: "Re: Umax scanners impossible to get"

    [Robert Nadot]
    > I suppose the problem comes from configure time ? If sanei_scsi.c
    > is compiled for LINUX, it seems not surprising there is problems
    > with AIX ?!
    [...]
    > Did you have ideas ?

    Not really. I copy this to the mailing list in case anyone there know
    what is wrong.

    A workaround to test if this is a configation problem, try this patch
    to override the choosen SCSI interface.

    Index: sanei_scsi.c
    ===================================================================
    RCS file: /cvsroot/external/sane/sanei/sanei_scsi.c,v
    retrieving revision 1.1.1.1.2.9
    diff -c -r1.1.1.1.2.9 sanei_scsi.c
    *** sanei_scsi.c 2000/03/15 09:46:17 1.1.1.1.2.9
    --- sanei_scsi.c 2000/03/20 04:18:12
    ***************
    *** 171,176 ****
    --- 171,178 ----
      # include "sanei_DomainOS.h"
      #endif
      
    + #define USE AIX_GSC_INTERFACE
    +
      #ifndef USE
      # define USE STUBBED_INTERFACE
      #endif

    -- 
    ##>  Petter Reinholdtsen <##    | pere@td.org.uit.no
     O-  <SCRIPT Language="Javascript">window.close()</SCRIPT>
    http://www.hungry.com/~pere/    | Go Mozilla, go! Go!
    

    -- Source code, list archive, and docs: http://www.mostang.com/sane/ To unsubscribe: echo unsubscribe sane-devel | mail majordomo@mostang.com



    This archive was generated by hypermail 2b29 : Sun Mar 19 2000 - 20:12:42 PST