Re: SANE 1.0.4 on Tru64 Unix: build failure

From: Henning Meier-Geinitz (henning@meier-geinitz.de)
Date: Fri May 04 2001 - 08:46:41 PDT

  • Next message: Henning Meier-Geinitz: "Re: Solaris 7 setgid problem"

    Hi,

    On Fri, May 04, 2001 at 02:31:18PM +0100, Major A wrote:
    > I'm trying to compile sane-backends-1.0.4 on Tru64 Unix
    > 5.0. Unfortunately, sane-backends-1.0.4 defines the types u_int8_t,
    > u_int16_t, and u_int32_t, which are also defined in
    > /usr/include/sys/bitypes.h, included by backend/net.c indirectly
    > through netinet/in.h.

    This is done by autoconf so I'm a bit surprised that it's not detected
    automatically. Is "/usr/include/sys/bitypes.h" not included in any of
    "sys/types.h", "stdlib.h" or "stddef.h"? These are the files searched
    by autoconf. e.g.:

    AC_CHECK_TYPE(u_int8_t, unsigned char)

    Any idea how to fix this?

    > Is it possible to resolve this conflict on the long term, i.e. giving
    > the types less generic names?

    I think the generic names are the correct ones (and by the way, they
    are used more then 700 times in SANE so I don't want to change this :-))

    Can you send the output of ./config.guess, please? Which compiler do
    you use? Any other problems with compiling?

    Bye,
      Henning

    --
    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 : Fri May 04 2001 - 08:49:38 PDT