[AGENT++] Regd. Building Agent++ in solaris 5.8 using gcc 3.3

Jochen Katz katz at agentpp.com
Wed Mar 10 22:09:12 CET 2004


Hi,

> g++ -I../agent++/include -I../snmp++/include -I../libdes -c 
> snmpAgent.cpp -o ./snmpAgent.o
> snmpAgent.cpp:6: error: parse error before `{' token
> make: *** [snmpAgent.o] Error 1
>     Please advice if I have to add anything special to the makefile/code.

obviously compilers sometimes produce strange errors ;-)
You have to add
using namespace Agentpp;

Regards,
   Jochen



More information about the AGENTPP mailing list