RE: [Cflowd] Unable to Compile ARTS++ - RH 8.0 / GCC 3.2 / FLEX 2.5.4a

From: Nikos Leontsinis (nikos@oteglobe.net)
Date: Tue Feb 04 2003 - 06:21:37 PST

  • Next message: Muhammad Atiq Alam: "[Cflowd] Cflowdmux gives a shmget error at startup"

    Mike
    Change the gcc to 2.96-112-7.2 using RPM

    Nikos Leontsinis
    tel: +30210-3304906
    mob: +306974477561
    fax: +30210-3303524

    -----Original Message-----
    From: cflowd-admin@caida.org [mailto:cflowd-admin@caida.org] On Behalf
    Of mtindor@noc.1st.net
    Sent: 04 February 2003 16:08
    To: cflowd@caida.org
    Subject: [Cflowd] Unable to Compile ARTS++ - RH 8.0 / GCC 3.2 / FLEX
    2.5.4a

    I'm trying to get CFLOWD up and running on a new Redhat 8.0 machine and
    am
    having trouble even getting arts++ to compile. Can anybody offer some
    help?

    See error below.

    Thanks,

    Mike Tindor
    ---------------------------------------------------------
    - ran a ./configure and a make
    <snip>
    ../include/Ipv4PrefixPatricia.hh:603: request for member `vlsmVect' in `
       *leftNode', which is of non-aggregate type `int'
    ../include/Ipv4PrefixPatricia.hh:609: `class reverse_iterator' has no
    member
       named `nodeStack'
    ../include/Ipv4PrefixPatricia.hh:612: non-template type
    `Ipv4PrefixPatricia'
       used as a template
    ../include/Ipv4PrefixPatricia.hh:612: ISO C++ forbids declaration of
    `type
    name
       ' with no type
    ../include/Ipv4PrefixPatricia.hh: At global scope:
    ../include/Ipv4PrefixPatricia.hh:649: ISO C++ forbids defining types
    within
       return type
    ../include/Ipv4PrefixPatricia.hh:649: `bool' is now a keyword
    ../include/Ipv4PrefixPatricia.hh:649: non-member function
    `reverse_iterator
       operator!=(const reverse_iterator&)' cannot have `const' method
    qualifier
    ../include/Ipv4PrefixPatricia.hh:649: `reverse_iterator operator!=(const

       reverse_iterator&)' must take exactly two arguments
    ../include/Ipv4PrefixPatricia.hh:649: semicolon missing after
    declaration
    of `
       class reverse_iterator'
    ../include/Ipv4PrefixPatricia.hh: In function `int operator!=(const
       reverse_iterator&)':
    ../include/Ipv4PrefixPatricia.hh:652: invalid use of `this' in
    non-member
       function
    ../include/Ipv4PrefixPatricia.hh: At global scope:
    ../include/Ipv4PrefixPatricia.hh:661: non-member function `bool
       operator==(const reverse_iterator&)' cannot have `const' method
    qualifier
    ../include/Ipv4PrefixPatricia.hh:661: `bool operator==(const
    reverse_iterator&)
       ' must take exactly two arguments
    ../include/Ipv4PrefixPatricia.hh: In function `bool operator==(const
       reverse_iterator&)':
    ../include/Ipv4PrefixPatricia.hh:662: invalid use of `this' in
    non-member
       function
    ../include/Ipv4PrefixPatricia.hh:662: `class reverse_iterator' has no
    member
       named `nodeStack'
    ../include/Ipv4PrefixPatricia.hh:663: invalid use of `this' in
    non-member
       function
    ../include/Ipv4PrefixPatricia.hh:664: invalid use of `this' in
    non-member
       function
    ../include/Ipv4PrefixPatricia.hh: At global scope:
    ../include/Ipv4PrefixPatricia.hh:667: parse error before `}' token
    ../include/Ipv4PrefixPatricia.hh:674: ISO C++ forbids declaration of `
       Ipv4PrefixPatricia' with no type
    ../include/Ipv4PrefixPatricia.hh: In function `int
    Ipv4PrefixPatricia()':
    ../include/Ipv4PrefixPatricia.hh:674: `int Ipv4PrefixPatricia()'
    redeclared as
       different kind of symbol
    ../include/Ipv4PrefixPatricia.hh:86: previous declaration of
    `template<class
       Type> class Ipv4PrefixPatricia<Type>'
    ../include/Ipv4PrefixPatricia.hh:86: previous non-function declaration `
       template<class Type> class Ipv4PrefixPatricia<Type>'
    ../include/Ipv4PrefixPatricia.hh:674: conflicts with function
    declaration
    `int
       Ipv4PrefixPatricia()'
    ../include/Ipv4PrefixPatricia.hh:674: `key_type' undeclared (first use
    this
       function)
    ../include/Ipv4PrefixPatricia.hh:675: only constructors take base
    initializers
    ../include/Ipv4PrefixPatricia.hh:675: confused by earlier errors,
    bailing
    out
    make[2]: *** [Arts.lo] Error 1
    make[2]: Leaving directory `/root/temp/arts++-1-1-a8/classes/src'
    make[1]: *** [all] Error 2
    make[1]: Leaving directory `/root/temp/arts++-1-1-a8/classes'
    make: *** [classes/lib/libArts.a] Error 2

    _______________________________________________
    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 : Tue Feb 04 2003 - 06:28:24 PST