[AGENT++] AgentX++ compile error

Jochen Katz katz at agentpp.com
Thu Oct 21 22:42:52 CEST 2004


Hi,

> Is it necessary in the agent++ build to do the libdes step if snmp++
> was built against openssl?

for building the libs, it does not matter if snmp++ was configured for 
libdes, libtomcrypt or openssl, but to build the examples with openssl, 
you will have to add the -lcrypto -lssl manually.

> rm -f  agentx.o
> g++  -g -Wall  -c -o agentx.o -I../include -I../../agent++/include
> -I../../snmp++/include agentx.cpp
> In file included from ../include/agentx_pp/agentx.h:28,
>                 from agentx.cpp:46:
> ../include/agentx_pp/agentx_pdu.h:36: error: syntax error before `{' token

These look like Namespace problems. Try to disable snmp++ namespace 
until a new version of agentX++ is released.

Regards,
   Jochen



More information about the AGENTPP mailing list