[AGENT++] Help please with libagent++ undefined reference error on linux
Jochen Katz
katz at agentpp.com
Sun Aug 30 21:41:09 CEST 2009
My answer was rejected as I sent it with the wrong from address, but
here it is:
> Hi,
>
>> /usr/local/lib/libagent++.so: undefined reference to
>> 'debughexcprintf(int, char const*, unsigned char const*, unsigned int)'
>> /usr/local/lib/libagent++.so: undefined reference to 'debugprintf(int,
>> char const*, ...)'
>
> this most likely indicates, that agent++ was not completely recompiled,
> or you have different settings for _DEBUG define for snmp++ and agent++.
> Verify that the debug flag is either defined or undefined for both libs
> and then do a "make clobber ; make" in snmp++/src and agent++/src
> directories.
>
>> Not sure what this is as I don't use either of these functions, they are
>> in snmp++ but the error states it is in libagent++?
>
> The agent++ library uses the function, but snmp++ was compiled with
> settings to not include it.
>
>> Do I need to installed rpms like net-snmp-utils or libnet-snmp10-devel
>> or net-snmp-5.4.2.1.tar.gz?? Or should I be able to installed snmp++ and
>> agent++ without having an snmp.conf file or mib directory? I do not have
>> libdes as I am not using v3 - this shouldn't be a problem should it?
>
> snmp++ and agent++ are all you need if you keep snmpv3 disabled. Libdes
> or openssl are only required if you enable snmpv3.
>
> Regards,
> Jochen
More information about the AGENTPP
mailing list