agent++3.3 linux build prob

Guy.HINDELL____opentrade.co.uk Guy.HINDELL____opentrade.co.uk
Thu Mar 30 15:50:38 CEST 2000


Hi

I have been using Joseph Hu's port of Agent++ 2.13 to create extension
agents on NT. I've now been asked to implement the MIBs I have been working
on under Linux, Solaris and Digital Unix - so it looks like agent++ was a
good choice :-)

However, I have a couple of questions.

As a first attempt I tried fetching snmp++2.8a and agent++3.3. How far do
these differ from the snmp++2.6/agent++2.13 material that I have developed
with so far? Am I in for a lot of code changes?

On trying to build under Linux (redhat 6.1, kernel 2.2.12) the snmp++ stuff
builds fine, but the agent++ build fails very early with the following
output...

make -f Makefile.linux 
rm -f  mib.o
g++ -g -Wall  -c -o mib.o -I../include -I../../snmp++/include
-I../../rsaeuro/source mib.cpp
In file included from ../../snmp++/include/snmpmsg.h:50,
                 from ../include/snmp_pp_ext.h:99,
                 from ../include/oidx_ptr.h:94,
                 from ../include/oidx_defs.h:112,
                 from ../include/map.h:117,
                 from ../include/avl_map.h:115,
                 from ../include/List.h:98,
                 from ../include/mib.h:97,
                 from mib.cpp:98:
../../snmp++/include/snmp_pp.h:242: warning: `class Snmp' has virtual
functions but non-virtual destructor
In file included from ../include/oidx_ptr.h:94,
                 from ../include/oidx_defs.h:112,
                 from ../include/map.h:117,
                 from ../include/avl_map.h:115,
                 from ../include/List.h:98,
                 from ../include/mib.h:97,
                 from mib.cpp:98:
../include/snmp_pp_ext.h:628: type specifier omitted for parameter
../include/snmp_pp_ext.h:628: parse error before `&'
../include/snmp_pp_ext.h:706: warning: `class Snmpx' has virtual functions
but non-virtual destructor
In file included from ../include/mib.h:105,
                 from mib.cpp:98:
../include/request.h:138: parse error before `&'


Am I doing something dumb here?

many thanks

guy


Guy Hindell
Opentrade Technologies
guy.hindell at opentrade.co.uk



* ------------------------------------------------------------------------ *
 Privileged/Confidential Information may be contained in this 
 message. If you are not the addressee indicated in this      
 message (or responsible for delivery of the message to such  
 person), you may not copy or deliver this message to anyone. 
 In such case, you should destroy this message and kindly     
 notify the sender by reply e-mail. Please advise immediately 
 if you or your employer does not consent to Internet e-mail  
 for messages of this kind. Opinions, conclusions and other   
 information in this message that do not relate to the        
 official business of my Company shall be understood as       
 neither given or endorsed by it.                             
* ------------------------------------------------------------------------ *





More information about the AGENTPP mailing list