From: John E. Rockwell (firstname.lastname@example.org)
Date: Sat Dec 07 2002 - 08:47:26 PST
I'm currently experiencing an issue compiling cflowd. I've also tried compiling after patching with cflowd-2-1-b1-djp.patch, but that yields the same results. arts++ installation was similarly miserable, but I was able to install the binary distribution. The binary distribution for cflowd also works fine, but won't allow me to run flowscan.
Configure runs fine.
Here's what I get from 'make':
[root@demon cflowd-2-1-b1]# make
cd snmp++; make
make: Entering directory `/home/cflowd/cflowd-2-1-b1/snmp++'
cd classes; make
make: Entering directory `/home/cflowd/cflowd-2-1-b1/snmp++/classes'
cd src; make
make: Entering directory `/home/cflowd/cflowd-2-1-b1/snmp++/classes/src'
g++ -D__unix__ -I../include/snmp++ -I./ -g -O2 -c oid.cpp -o oid.o
In file included from /usr/include/c++/3.2/backward/iostream.h:31,
/usr/include/c++/3.2/backward/backward_warning.h:32:2: warning: #warning This file
includes at least one deprecated or antiquated header. Please consider using one
of the 32 headers found in section 126.96.36.199 of the C++ standard. Examples include
substituting the <X> header for the <X.h> header for C++ includes, or <sstream> in
stead of the deprecated header <strstream.h>. To disable this warning use -Wno-dep
In file included from oid.cpp:59:
../include/snmp++/oid.h:181: `vector' was not declared in this scope
../include/snmp++/oid.h:181: parse error before `>' token
oid.cpp:503: `vector' was not declared in this scope
id.cpp:503: parse error before `>' token
oid.cpp: In member function `void Oid::get_oid(...) const':
oid.cpp:505: `outVect' undeclared (first use this function)
oid.cpp:505: (Each undeclared identifier is reported only once for each
function it appears in.)
make: *** [oid.lo] Error 1
make: Leaving directory `/home/cflowd/cflowd-2-1-b1/snmp++/classes/src'
make: *** [all] Error 2
make: Leaving directory `/home/cflowd/cflowd-2-1-b1/snmp++/classes'
make: *** [classes/lib/libsnmp++.a] Error 2
make: Leaving directory `/home/cflowd/cflowd-2-1-b1/snmp++'
make: *** [all] Error 2
[root@demon cflowd-2-1-b1]# uname -a
Linux demon 2.4.18-14 #1 Wed Sep 4 13:35:50 EDT 2002 i686 i686 i386 GNU/Linux
[root@demon cflowd-2-1-b1]# gcc --version
gcc (GCC) 3.2 20020903 (Red Hat Linux 8.0 3.2-7)
[root@demon cflowd-2-1-b1]# flex --version
flex version 2.5.4
[root@demon cflowd-2-1-b1]# bison --version
bison (GNU Bison) 1.35
I scoured the archives and found a person who was experiencing a similar issue, but the solution provided was to update gcc. As you can see, I'm running a pretty recent version of gcc. http://www.caida.org/dynamic/archives/cflowd/0621.html
Any help would be greatly appreciated!
P.S. Please reply to all as I'm not currently subscribed to this mailing list.
John E. Rockwell
Network Engineer, Data Level II Operations
Choice One Communications
100 Chestnut Street
Rochester, New York 14604
Cflowd mailing list
This archive was generated by hypermail 2.1.4 : Sat Dec 07 2002 - 08:57:54 PST