Re: Compiling on OS/2

From: Franz Bakan (
Date: Sat Jun 09 2001 - 06:40:41 PDT

  • Next message: Henning Meier-Geinitz: "Re: Compiling on OS/2"


    On Sat, 9 Jun 2001 12:41:30 +0200, Henning Meier-Geinitz wrote:

    >> >What's the problem in snapscan?
    >> There is no sys/sem.h on OS/2
    >I have changed to test for sys/sem.h and disable snapscan
    >if it's not present.

    Did not work here.
    Configure checks for sys/sem.h, and doesn't find it,
    but SnapScan is not disabled.
    Here's the output from configure:
    loading cache ./config.cache
    enabling DC210/DC240 backends
    disabling PINT backend
    enabling QuickCam backend
    disabling Video4Linux backend
    disabling NET backend
    disabling SM3600 backend
    enabling SnapScan backend

    >Does umax_pp work with os/2 meanwhile?

    It builds with one minor modification:

    umax_pp_low.c: In function `Outb':
    umax_pp_low.c:651: void value not ignored as it ought to be

    After removing '& 0xFF' from the end of this line it compiles.
    (I allready sent a mail to Stéphane Voltz)

    Don't know if it works because I don't have
    a umax_pp scanner.
    Here is the output (2) from scanimage -L

    [umax_pp_low] EPPRegisterRead, found 0xFF expected 0xC7
    [umax_pp_low] Error! expected STATUS=0x38, found 0x7F!
    [umax_pp_low] SendWord610P failed, expected tmp=0xC8 , found 0x7F
    [umax_pp_low] SendWord(zero) failed (umax_pp_low.c:3369)
    [umax_pp_mid] sanei_umax_pp_InitTransport() failed


    Source code, list archive, and docs:
    To unsubscribe: echo unsubscribe sane-devel | mail

    This archive was generated by hypermail 2b29 : Sat Jun 09 2001 - 06:50:54 PDT