[AGENT++] AGENTPP Digest, Vol 72, Issue 8

ruggero bacenetti ruggio82 at hotmail.com
Wed Jan 20 21:51:37 CET 2010


Hi,

I had forgot to mention that snmp++ compiles, builds correctly and works.

As far as agent++, I tried again with the latest version, and compilation fails, as you can see below:

vxrm *.o *.rpo ctdt.c symTbl.c vxApp*
vxrm C:\Tornado2\agent++\src\prjComps.h C:\Tornado2\agent++\src\prjParams.h C:\Tornado2\agent++\src\prjConfig.c C:\Tornado2\agent++\src\linkSyms.c
vxrm C:\Tornado2\agent++\src\libs.nm C:\Tornado2\agent++ \src\libs.size
cc386 -g -O0 -m486 -ansi -nostdinc -DRW_MULTI_THREAD -Wall -D_REENTRANT 
 -fvolatile -nostdlib -fno-builtin -fno-defer-pop -I. -IC:\Tornado2\target\h -I..\..\inclu 
de -I..\..\..\snmp++\include -DCPU=I80486 -DVXWORKS -c C:\Tornado2\agent++\src\vacm.cpp
..\..\..\snmp++\include\snmp_pp\msec.h: In method `int msec::IsInfinite() const':
In file included from ..\..\..\snmp++\include\snmp_pp\snmp_pp.h:73,
                 from ..\..\include\agent_pp\agent++.h:122,
                 from C:\Tornado2\agent++\src\vacm.cpp:93:
..\..\..\snmp++\include\snmp_pp\msec.h:147: warning: comparison between signed and unsigne 
d
..\..\include\agent_pp\map.h: At top level:
In file included from ..\..\include\agent_pp\avl_map.h:115,
                 from ..\..\include\agent_pp\List.h:99,
                 from ..\..\include\agent_pp\threads.h:108,
                 from ..\..\include\agent_pp\mib.h:98,
                 from ..\..\include\agent_pp\vacm.h:94,
                 from C:\Tornado2\agent++\src\vacm.cpp:95:
..\..\include\agent_pp\map.h:159: syntax error before `0'
In file included from ..\..\include\agent_pp\List.h:99,
                 from ..\..\include\agent_pp\threads.h:108,
                 from ..\..\include\agent_pp\mib.h:98,
                 from ..\..\include\agent_pp\vacm.h:94,
                 from C:\Tornado2\agent++\src\vacm.cpp:95:
..\..\include\agent_pp\avl_map.h:179: syntax error before `0'
In file included from ..\..\include\agent_pp\mib_avl_map.h:116,
                 from ..\..\include\agent_pp\mib.h:100,
                 from ..\..\include\agent_pp\vacm.h:94,
                 from C:\Tornado2\agent++\src\vacm.cpp:95:
..\..\include\agent_pp\mib_map.h:161: syntax error before `0'
In file included from ..\..\include\agent_pp\mib.h:100,
                 from ..\..\include\agent_pp\vacm.h:94,
                 from C:\Tornado2\agent++\src\vacm.cpp:95:
..\..\include\agent_pp\mib_avl_map.h:178: syntax error before `0'
..\..\..\snmp++\include\snmp_pp\smival.h:172: warning: `const class type_info & __tf10Snmp 
Syntax()' declared `static' but never defined
..\..\..\snmp++\include\snmp_pp\gauge.h:144: warning: `const class type_info & __tf7Gauge3 
2()' declared `static' but never defined
..\..\..\snmp++\include\snmp_pp\octet.h:456: warning: `const class type_info & __tf9Opaque 
Str()' declared `static' but never defined
..\..\..\snmp++\include\snmp_pp\eventlist.h:126: warning: `const class type_info & __tf7CE 
vents()' declared `static' but never defined
..\..\include\agent_pp\snmp_pp_ext.h:631: warning: `const class type_info & __tf4Pdux()' d 
eclared `static' but never defined
..\..\include\agent_pp\snmp_pp_ext.h:782: warning: `const class type_info & __tf5Snmpx()'  
declared `static' but never defined
..\..\include\agent_pp\mib.h:1144: warning: `const class type_info & __tf13MibTableVoter() 
' declared `static' but never defined
..\..\include\agent_pp\mib.h:2136: warning: `const class type_info & __tf18NotificationSen 
der()' declared `static' but never defined
..\..\include\agent_pp\mib.h:2182: warning: `const class type_info & __tf16NotificationTyp 
e()' declared `static' but never defined
..\..\include\agent_pp\mib.h:2226: warning: `const class type_info & __tf15MibConfigFormat 
()' declared `static' but never defined
make: *** [vacm.o] Error 0x1

Done.

Most errors go away if I split classes in definitions (.h) and body (.cpp) yet in the end I am left with some  `const class type_info & __xxx ()' declared `static' but never defined errors
and I cannot build.

Does anyone know how to fix them ?

Best Regards

Ruggi


> From: agentpp-request at agentpp.org
> Subject: AGENTPP Digest, Vol 72, Issue 8
> To: agentpp at agentpp.org
> Date: Mon, 18 Jan 2010 12:00:02 +0100
> 
> Send AGENTPP mailing list submissions to
> 	agentpp at agentpp.org
> 
> To subscribe or unsubscribe via the World Wide Web, visit
> 	http://lists.agentpp.org/mailman/listinfo/agentpp
> or, via email, send a message with subject or body 'help' to
> 	agentpp-request at agentpp.org
> 
> You can reach the person managing the list at
> 	agentpp-owner at agentpp.org
> 
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of AGENTPP digest..."
> 
> 
> Today's Topics:
> 
>    1. Re: agentpp and VxVorks (Jochen Katz)
> 
> 
> ----------------------------------------------------------------------
> 
> Message: 1
> Date: Sun, 17 Jan 2010 13:41:25 +0100
> From: Jochen Katz <katz at agentpp.com>
> Subject: Re: [AGENT++] agentpp and VxVorks
> To: agentpp at agentpp.org
> Message-ID: <4B530575.7050309 at 2010.agentpp.com>
> Content-Type: text/plain; charset=ISO-8859-1
> 
> Hi,
> 
> we got some patches for vxworks some time ago and all those changes are
> in the current snmp++ and agent++: They are enclosed in
> #if defined (CPU) && CPU == PPC603.
> 
> These trigger the includes to
> #include <inetLib.h>
> #include <hostLib.h>
> and also activate some workarounds for functions not available in vxworks.
> 
> Regards,
>   Jochen
> 
> 
> Am 14.01.2010 18:06, schrieb ruggero bacenetti:
> > 
> > Hello,
> > 
> > I've been using agent++ successfully in the past, both on linux and
> > windows.
> > 
> > I thought it would be plain sailing using it on vxworks, on the
> > contrary I'm getting a lot of compiler errors and warning.
> > 
> > I wonder if someone who has successfully solved the problem can help
> > me with his/her project file ... or just give me some hints
> > 
> > I'm using Tornado2 and VxWorks5.4
> > 
> > Thanks
> > 
> > Ruggi  
> > _________________________________________________________________ 
> > Hotmail: Free, trusted and rich email service. 
> > http://clk.atdmt.com/GBL/go/196390708/direct/01/ 
> > _______________________________________________ AGENTPP mailing list 
> > AGENTPP at agentpp.org 
> > http://lists.agentpp.org/mailman/listinfo/agentpp
> > 
> 
> 
> ------------------------------
> 
> _______________________________________________
> AGENTPP mailing list
> AGENTPP at agentpp.org
> http://lists.agentpp.org/mailman/listinfo/agentpp
> 
> 
> End of AGENTPP Digest, Vol 72, Issue 8
> **************************************
 		 	   		  
_________________________________________________________________
Hotmail: Trusted email with Microsoft’s powerful SPAM protection.
http://clk.atdmt.com/GBL/go/196390706/direct/01/


More information about the AGENTPP mailing list