Re: sane 1.0.2 compile problem with AIX 432

From: Petter Reinholdtsen (pere@hungry.com)
Date: Mon Mar 13 2000 - 23:43:12 PST

  • Next message: David Paschal: "Re: Can you advise on All-In-One machines (incl. scanner!)"

    I'm not sure what is going on in your case, but the following patch
    should solve part of the problem.

    I'm not sure why the compiler decided to use LINUX_INTERFACE on your
    AIX machine, and you probably want to investigate that as well.

    Index: sanei_scsi.c
    ===================================================================
    RCS file: /cvsroot/external/sane/sanei/sanei_scsi.c,v
    retrieving revision 1.2
    diff -u -r1.2 sanei_scsi.c
    --- sanei_scsi.c 2000/03/05 13:57:15 1.2
    +++ sanei_scsi.c 2000/03/14 07:40:58
    @@ -733,7 +733,7 @@
       char *real_dev = 0;
       void *pdata = 0;
       int fd;
    -#ifdef __linux__
    +#if USE == LINUX_INTERFACE
       static int first_time = 1;
     #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 : Mon Mar 13 2000 - 23:38:05 PST