[AGENT++] Agent++ compile error on RH9

Ellis Corey Corey.Ellis at comverse.com
Wed Jul 14 19:28:13 CEST 2004


Hi,

I am trying to evaluate this tool kit.  I followed the INSTALL file in the
agent++ src directory. My Issues:

make version is GNU make 3.80
gcc version is 3.2.2

libdes compiled successfully
snmp++v3.2.13 compiled successfully

agent++v3.5.19 fails

I am performing make -f Makefile.linux  here is some of the output (I added
the -DHEADER_DES_LOCL_H), but I was getting the same errors without this
flag.  Any advice is much appreciated.

Thanks

rm -f  mib.o
g++ -g -Wall -DHEADER_DES_LOCL_H  -c -o mib.o -I../include
-I../../snmp++/include mib.cpp
In file included from ../include/agent_pp/oidx_ptr.h:95,
                 from ../include/agent_pp/oidx_defs.h:112,
                 from ../include/agent_pp/map.h:109,
                 from ../include/agent_pp/avl_map.h:115,
                 from ../include/agent_pp/List.h:99,
                 from ../include/agent_pp/mib.h:98,
                 from mib.cpp:101:
../include/agent_pp/snmp_pp_ext.h:126: parse error before `{' token
../include/agent_pp/snmp_pp_ext.h:138: parse error before `const'
../include/agent_pp/snmp_pp_ext.h:146: parse error before `const'
../include/agent_pp/snmp_pp_ext.h:153: parse error before `const'
../include/agent_pp/snmp_pp_ext.h:158: destructors must be member functions
../include/agent_pp/snmp_pp_ext.h:158: virtual outside class declaration
../include/agent_pp/snmp_pp_ext.h:167: parse error before `unsigned'
../include/agent_pp/snmp_pp_ext.h:175: parse error before `unsigned'
../include/agent_pp/snmp_pp_ext.h:191: syntax error before `&' token
../include/agent_pp/snmp_pp_ext.h:202: syntax error before `(' token
../include/agent_pp/snmp_pp_ext.h:211: syntax error before `(' token
../include/agent_pp/snmp_pp_ext.h:218: non-member function `long unsigned
int 
   Agentpp::last()' cannot have `const' method qualifier

Errors of this nature continue, then the compiler bails out.






More information about the AGENTPP mailing list