Re: Compiling on OS/2

From: Franz Bakan (
Date: Sat Jun 02 2001 - 18:50:59 PDT

  • Next message: stef: "Re: [2001-05-30] umax_pp compile errors (raw I/O)"


    On Sat, 2 Jun 2001 16:45:02 +0200, Henning Meier-Geinitz wrote:

    >> Only left one bug in qcam.c. The struct has to be defined once more.
    >Ok, fixed in CVS.

    Thanks, now it works.

    >> 1. remove 'snapscan' and 'umax_pp' from PRELOADABLE_BACKENDS =
    >> in backend/
    >What's the problem in snapscan?

    There is no sys/sem.h on OS/2
    Here is the output from gcc:

    gcc ..... snapscan.o

    In file included from snapscan.c:65:
    G:\EMX\INCLUDE\sys/stat.h:7: warning: #warning <sys/stat.h> requires <sys/types.h>
    In file included from snapscan.c:274:
    snapscan-usb.c:51: sys/sem.h: No such file or directory
    In file included from snapscan.c:274:
    snapscan-usb.c:58: variable `sem_wait' has initializer but incomplete type

    >> 4. sh configure --without-warnings --disable-libtool-lock --disable-dynamic
    >Use "--disable-warnings" not "--without-warnings". With
    >"--disable-dynamic" only dynamic loading is disabled, the shared
    >libraries are generated nevertheless (if the platform supports shared
    >libraries). I'm not sure, if this is intended.

    I don't know either. I just used this switch because it is suggested
    in configure.os2.



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

    This archive was generated by hypermail 2b29 : Sat Jun 02 2001 - 18:53:57 PDT