Re: Compiling on OS/2

From: Franz Bakan (fbakan@gmx.net)
Date: Thu Jun 14 2001 - 15:00:19 PDT

  • Next message: Douglas Gilbert: "Linux Mandrake 8 problems with SCSI scanners"

    Hi Henning,

    On Thu, 14 Jun 2001 09:12:14 +0200, Henning Meier-Geinitz wrote:

    >Hm, can you see in config.log, why your compiler doesn't like the
    >#warning? I don't know if we can "fix" this in configure.

    That's the output from config.log:
    ...
    configure:1616: checking for sys/socket.h
    configure:1626: gcc -E -D_GNU_SOURCE conftest.c >/dev/null 2>conftest.out
    In file included from configure:1622:
    G:\EMX\INCLUDE\sys/socket.h:42: warning: #warning <sys/socket.h> requires
    <sys/types.h>
    configure: failed program was:
    #line 1621 "configure"
    ...
    >Does it work with "--disable-warnings"?

    No, same problem.

    what's in conftest.c? It's too hard for me to puzzle this out from
    all this configure files :-(

    gcc -E -D_GNU_SOURCE conftest.c 1>1 2>2
    returns 0 if
    conftest.c just contains

    #include <sys/socket.h>
    main{}

    Bye
    Franz

    --
    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 : Thu Jun 14 2001 - 14:57:51 PDT