# Re: Compiling on OS/2

From: Franz Bakan (fbakan@gmx.net)
Date: Sat Jun 02 2001 - 18:50:59 PDT

- Next message: stef: "Re: [2001-05-30] umax_pp compile errors (raw I/O)"
  - Previous message: Henning Meier-Geinitz: "Re: Patches for improved batch scanning in scanimage"
  - Next in thread: Henning Meier-Geinitz: "Re: Compiling on OS/2"
  - Next in thread: Michal Fikejs: "Strange colors from Canon FS 2710"
  - Next in thread: Henning Meier-Geinitz: "Re: Compiling on OS/2"
  - Reply: Henning Meier-Geinitz: "Re: Compiling on OS/2"
  - Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

  Hi,

  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/makefile.in
  >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.

  Bye

  Franz

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

  - Next message: stef: "Re: [2001-05-30] umax_pp compile errors (raw I/O)"
  - Previous message: Henning Meier-Geinitz: "Re: Patches for improved batch scanning in scanimage"
  - Next in thread: Henning Meier-Geinitz: "Re: Compiling on OS/2"
  - Next in thread: Michal Fikejs: "Strange colors from Canon FS 2710"
  - Next in thread: Henning Meier-Geinitz: "Re: Compiling on OS/2"
  - Reply: Henning Meier-Geinitz: "Re: Compiling on OS/2"
  - Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

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