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

Jochen Katz katz at agentpp.com
Wed Jul 14 23:02:45 CEST 2004


Hi,

the last time I checed on RH9 I didn't have any problems...

> 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

snmp_pp_ext.h:126 is the following line:

class AGENTPP_DECL Oidx: public Oid {

So the compiler possibly doesn't know class Oid, although it should know 
it. Can you add "-E" to the compiler command and send me the resulting 
text file mib.o?

Regards,
   Jochen




More information about the AGENTPP mailing list