# Re: Compiling on OS/2

From: Franz Bakan (fbakan@gmx.net)
Date: Wed Jun 13 2001 - 12:36:16 PDT

- Next message: Henning Meier-Geinitz: "[dev] Current TODO list"
  - Previous message: Tim Waugh: "Re: Kernel 2.4.X and HP 5p Scanner"
  - In reply to: Henning Meier-Geinitz: "Re: Compiling on OS/2"
  - 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 Wed, 13 Jun 2001 20:16:19 +0200, Henning Meier-Geinitz wrote:

  >> configure:2203: checking for socklen_t in <sys/socket.h>
  >
  >[...]
  >
  >No, I don't think so. This is another test that checks for the type
  >socklen_t in sys/socket.h. It doesn't matter that it fails, because
  >socklen_t is defined to int:

  You are right.
  I have found the reason:

  Here's my sys/socket.h:
  ...
  #if !defined (_SYS_TYPES_H)
  #warning <sys/socket.h> requires <sys/types.h>
  #include <sys/types.h>
  #endif
  ...

  I have to delete the line containing
  #warning ....

  Then configure tells
  checking for sys/socket.h... yes

  with this #warning... ->
  checking for sys/socket.h... no

  Should I remove this #warning from sys/socket.h
  or is there another solution?

  Franz

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

  - Next message: Henning Meier-Geinitz: "[dev] Current TODO list"
  - Previous message: Tim Waugh: "Re: Kernel 2.4.X and HP 5p Scanner"
  - In reply to: Henning Meier-Geinitz: "Re: Compiling on OS/2"
  - 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 : Wed Jun 13 2001 - 12:29:25 PDT