arts++ and cflowd don't compile with GCC3. You've got two options if you want to move forward:

1. install gcc2 and use it to compile (not recommended)
2. use flow-tools (http://www.dynamicnetworks.us/netflow/)

----------------------------------------------------------------------

Message: 1
Date: Thu, 5 May 2005 14:46:22 -0700
From: "Dan Brummer" <[EMAIL PROTECTED]>
Subject: [Flow-tools] arts++ issues
To: <[email protected]>
Message-ID:
        <[EMAIL PROTECTED]>
Content-Type: text/plain; charset="us-ascii"

Not too sure if this is the right place to ask a question about arts++
compilation issues, but flow-tools, FlowScan and cflowd all seem to require
arts++.



I'm trying to compile arts++ 1.1.a11 on my Fedora core 3 linux machine w/
kernel 2.6.9. GNU Make version 3.8, gcc version 3.4.2.



I have installed the latest flex version as well.



The configure script works fine, but when I do make this is what I get:



[EMAIL PROTECTED] arts++-1.1.a11]# make

cd classes; make

make[1]: Entering directory `/root/arts++-1.1.a11/classes'

cd src; make

make[2]: Entering directory `/root/arts++-1.1.a11/classes/src'

g++ -c -g -O2 -I../include Arts.cc -o Arts.o

In file included from ../include/ArtsBgp4RouteTableData.hh:47,

                from ../include/Arts.hh:61,

                from Arts.cc:50:

../include/Ipv4PrefixPatricia.hh:89: error: expected `;' before "val"

../include/Ipv4PrefixPatricia.hh: In constructor
`Ipv4PrefixPatricia<Type>::Node::Node()':

../include/Ipv4PrefixPatricia.hh:95: error: class
`Ipv4PrefixPatricia<Type>::Node' does not have any field named `val'

../include/Ipv4PrefixPatricia.hh: In constructor
`Ipv4PrefixPatricia<Type>::Node::Node(const std::pair<const Ipv4Network,
Type>&, Ipv4PrefixPatricia<Type>::Node*)':

../include/Ipv4PrefixPatricia.hh:98: error: class
`Ipv4PrefixPatricia<Type>::Node' does not have any field named `val'

../include/Ipv4PrefixPatricia.hh: In constructor
`Ipv4PrefixPatricia<Type>::Node::Node(const Ipv4Network&,
Ipv4PrefixPatricia<Type>::Node*)':

../include/Ipv4PrefixPatricia.hh:101: error: class
`Ipv4PrefixPatricia<Type>::Node' does not have any field named `val'

../include/Ipv4PrefixPatricia.hh: In constructor
`Ipv4PrefixPatricia<Type>::Node::Node(const Ipv4PrefixPatricia<Type>::Node*,
Ipv4PrefixPatricia<Type>::Node*)':

../include/Ipv4PrefixPatricia.hh:107: error: class
`Ipv4PrefixPatricia<Type>::Node' does not have any field named `val'

../include/Ipv4PrefixPatricia.hh: In member function `bool
Ipv4PrefixPatricia<Type>::Node::Matches(ipv4addr_t) const':

../include/Ipv4PrefixPatricia.hh:115: error: `val' undeclared (first use
this function)

../include/Ipv4PrefixPatricia.hh:115: error: (Each undeclared identifier is
reported only once for each function it appears in.)

make[2]: *** [Arts.lo] Error 1

make[2]: Leaving directory `/root/arts++-1.1.a11/classes/src'

make[1]: *** [all] Error 2

make[1]: Leaving directory `/root/arts++-1.1.a11/classes'

make: *** [classes/lib/libArts.a] Error 2





If anyone can point me in the right direction to remedy this problem, it
would be greatly appreciated.



Thank you,

Dan




_______________________________________________
Flow-tools mailing list
[EMAIL PROTECTED]
http://mailman.splintered.net/mailman/listinfo/flow-tools

Reply via email to