Hi,
I'm attempting to make cflowd on
# uname -a
Linux noc 2.6.5-7.191-default #1 Tue Jun 28 14:58:56 UTC 2005 i686 i686 i386
GNU/Linux
# gcc -v
Reading specs from /usr/lib/gcc-lib/i586-suse-linux/3.3.3/specs
Configured with: ../configure --enable-threads=posix --prefix=/usr
--with-local-prefix=/usr/local --infodir=/usr/share/info
--mandir=/usr/share/man --enable-languages=c,c++,f77,objc,java,ada
--disable-checking --libdir=/usr/lib --enable-libgcj
--with-gxx-include-dir=/usr/include/g++
--with-slibdir=/lib --with-system-zlib --enable-shared --enable-__cxa_atexit
i586-suse-linux Thread model: posix gcc version 3.3.3 (SuSE Linux)
We do "make" for arts++-1-1-a8 :
#
# make
cd classes; make
make[1]: Entering directory
`/usr/local/src/NetFlow/CFlowD/arts++-1-1-a8/classes'
cd src; make
make[2]: Entering directory
`/usr/local/src/NetFlow/CFlowD/arts++-1-1-a8/classes/src'
c++ -c -g -O2 -I../include Arts.cc -o Arts.o
In file included from /usr/include/g++/backward/ostream.h:31,
from ../include/ArtsHeader.hh:53,
from ../include/Arts.hh:49,
from Arts.cc:50:
/usr/include/g++/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 17.4.1.2 of the C++ standard. Examples
include substituting the <X> header for the <X.h> header for C++ includes, or
<sstream> instead of the deprecated header <strstream.h>. To disable this
warning use -Wno-deprecated. In file included from
../include/ArtsAttributeVector.hh:48,
from ../include/Arts.hh:50,
from Arts.cc:50:
../include/ArtsAttribute.hh:294: error: ISO C++ forbids declaration of `string'
with no type
../include/ArtsAttribute.hh:294: error: syntax error before `(' token
../include/ArtsAttribute.hh:368: error: ISO C++ forbids declaration of `string'
with no type
../include/ArtsAttribute.hh:368: error: declaration of `const int
...............................................
...............................................
...............................................
...............................................
We do "make" for cflowd-2-1-b1 :
# make
cd snmp++; make
make[1]: Entering directory `/usr/local/src/NetFlow/CFlowD/cflowd-2-1-b1/snmp++'
cd classes; make
make[2]: Entering directory
`/usr/local/src/NetFlow/CFlowD/cflowd-2-1-b1/snmp++/classes'
cd src; make
make[3]: Entering directory
`/usr/local/src/NetFlow/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/g++/backward/iostream.h:31,
from ../include/snmp++/smival.h:49,
from ../include/snmp++/oid.h:62,
from oid.cpp:59:
/usr/include/g++/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 17.4.1.2 of the C++ standard. Examples
include substituting the <X> header for the <X.h> header for C++ includes, or
<sstream> instead of the deprecated header <strstream.h>. To disable this
warning use -Wno-deprecated. In file included from oid.cpp:59:
../include/snmp++/oid.h:181: error: `vector' was not declared in this scope
../include/snmp++/oid.h:181: error: syntax error before `>' token
oid.cpp:503: error: `vector' was not declared in this scope
oid.cpp:503: error: syntax error before `>' token
oid.cpp: In member function `void Oid::get_oid(...) const':
oid.cpp:505: error: `outVect' undeclared (first use this function)
oid.cpp:505: error: (Each undeclared identifier is reported only once for each
function it appears in.)
make[3]: *** [oid.lo] Error 1
make[3]: Leaving directory
`/usr/local/src/NetFlow/CFlowD/cflowd-2-1-b1/snmp++/classes/src'
make[2]: *** [all] Error 2
make[2]: Leaving directory
`/usr/local/src/NetFlow/CFlowD/cflowd-2-1-b1/snmp++/classes'
make[1]: *** [classes/lib/libsnmp++.a] Error 2
make[1]: Leaving directory `/usr/local/src/NetFlow/CFlowD/cflowd-2-1-b1/snmp++'
make: *** [all] Error 2
Thank you,
JS.
_______________________________________________
Flow-tools mailing list
[EMAIL PROTECTED]
http://mailman.splintered.net/mailman/listinfo/flow-tools