From: carlos amado chan pacheco (sal0001@salamanca.ugto.mx)
Date: Fri Dec 13 2002 - 15:45:05 PST
el siguiente error se provoca por que se compila con versiones gcc-3.2.
yo utilice el g++ 2.9.3 y listo.
SunOS ultra5 5.9 Generic sun4u sparc SUNW,Ultra-5_1
gcc - GNU Compiler Collection
(sparc) 2.95.3,REV=2001.05.21.04.41
ultra5# make
cd snmp++; make
make[1]: Entering directory
`/servicios/home/chan/netflow/cflowd/cflowd-2-1-b1/snmp++'
cd classes; make
make[2]: Entering directory
`/servicios/home/chan/netflow/cflowd/cflowd-2-1-b1/snmp++/classes'
cd src; make
make[3]: Entering directory
`/servicios/home/chan/netflow/cflowd/cflowd-2-1-b1/snmp++/classes/src'
g++ -g -mt -D_REENTRANT -fPIC -D_XPG4_EXTENDED -Dsun -D__unix
-I../include/snmp++ -I./ -c oid.cpp -o oid.o
cc1plus: invalid option `t'
make[3]: *** [oid.lo] Error 1
make[3]: Leaving directory
`/servicios/home/chan/netflow/cflowd/cflowd-2-1-b1/snmp++/classes/src'
make[2]: *** [all] Error 2
make[2]: Leaving directory
`/servicios/home/chan/netflow/cflowd/cflowd-2-1-b1/snmp++/classes'
make[1]: *** [classes/lib/libsnmp++.a] Error 2
make[1]: Leaving directory
`/servicios/home/chan/netflow/cflowd/cflowd-2-1-b1/snmp++'
make: *** [all] Error 2
ultra5# make
cd snmp++; make
make[1]: Entering directory
`/servicios/home/chan/netflow/cflowd/cflowd-2-1-b1/snmp++'
cd classes; make
make[2]: Entering directory
`/servicios/home/chan/netflow/cflowd/cflowd-2-1-b1/snmp++/classes'
cd src; make
make[3]: Entering directory
`/servicios/home/chan/netflow/cflowd/cflowd-2-1-b1/snmp++/classes/src'
g++ -g -m -D_REENTRANT -fPIC -D_XPG4_EXTENDED -Dsun -D__unix
-I../include/snmp++ -I./ -c oid.cpp -o oid.o
In file included from /usr/local/include/c++/3.2/backward/iostream.h:31,
from ../include/snmp++/smival.h:49,
from ../include/snmp++/oid.h:62,
from oid.cpp:59:
/usr/local/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
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: `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
oid.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[3]: *** [oid.lo] Error 1
make[3]: Leaving directory
`/servicios/home/chan/netflow/cflowd/cflowd-2-1-b1/snmp++/classes/src'
make[2]: *** [all] Error 2
make[2]: Leaving directory
`/servicios/home/chan/netflow/cflowd/cflowd-2-1-b1/snmp++/classes'
make[1]: *** [classes/lib/libsnmp++.a] Error 2
make[1]: Leaving directory
`/servicios/home/chan/netflow/cflowd/cflowd-2-1-b1/snmp++'
make: *** [all] Error 2
_______________________________________________
Cflowd mailing list
Cflowd@caida.org
http://login.caida.org/mailman/listinfo/cflowd
This archive was generated by hypermail 2.1.4 : Fri Dec 13 2002 - 15:53:28 PST