RE: [Cflowd] problem with compilation on Solaris8

From: koen@depovere.com
Date: Thu Jun 20 2002 - 04:19:29 PDT

  • Next message: Michael Badali/TMG: "[Cflowd] Problem load ConfigReader::DirectiveStyle"

    Dear Denis,
    I ran into the same problem. Checking the Mailing-list
    history, popped up following message/patch ;-).

    Enjoy,
    Koen

    snip...
    Hi,

    I've just patched "configure" the following way ...

    Hope this helps
    Ralf

    *** configure.old Sat Apr 8 10:45:29 2000
    --- configure Mon Jan 8 10:50:09 2001
    ***************
    *** 3475,3480 ****
    --- 3475,3481 ----
      # See if sys/param.h defines the BYTE_ORDER macro.
      cat > conftest.$ac_ext <<EOF
      #line 3478 "configure"
    + #include <arpa/nameser_compat.h>
      #include "confdefs.h"
      #include <sys/types.h>
      #include <sys/param.h>
    ***************
    *** 3490,3495 ****
    --- 3491,3497 ----
        # It does; now see whether it defined to BIG_ENDIAN
    or not.
      cat > conftest.$ac_ext <<EOF
      #line 3493 "configure"
    + #include <arpa/nameser_compat.h>
      #include "confdefs.h"
      #include <sys/types.h>
      #include <sys/param.h>

    --
    Ralf Kalwa                       Technical University
    of Clausthal
                                                     
    Computing Centre
    http://www.tu-clausthal.de/~kalwa/                     
       Germany
    --
    cflowd mailing list
    cflowd@caida.org
    

    #

    -----Original Message----- From: Denis Serechenko [mailto:sd@cwrussia.ru] Sent: donderdag 20 juni 2002 13:08 To: cflowd@caida.org Subject: [Cflowd] problem with compilation on Solaris8

    Dear Sirs,

    Could you help me with the following - I am attempting to compile arts++ at SunOS 5.8 Generic_108528-03 sun4u sparc SUNW,Ultra-60 machine. An error arise in configure script: ... checking for uint64_t in <sys/types.h>... yes checking size of unsigned short... 2 checking size of short... 2 checking size of unsigned int... 4 checking size of int... 4 checking size of unsigned long... 4 checking size of long... 4 checking size of unsigned long long... 8 checking size of long long... 8 checking whether byte ordering is bigendian... configure: error: can not run test program while cross compiling [opt/home/sd/build/arts++-1-1-a8]

    It seems to me that some _BIG_ENDIAN macros should be defined for SPARC architecture. Could you advise - am I right? If yes - where should I put this macros?

    kind regards, Denis

    _______________________________________________ Cflowd mailing list Cflowd@caida.org http://login.caida.org/mailman/listinfo/cflowd

    _______________________________________________ Cflowd mailing list Cflowd@caida.org http://login.caida.org/mailman/listinfo/cflowd



    This archive was generated by hypermail 2.1.4 : Thu Jun 20 2002 - 04:26:33 PDT