[AGENT++] Help please with libagent++ undefined reference erroron linux

O'Brien, Tara Tara.Obrien at AirservicesAustralia.com
Tue Sep 1 01:52:47 CEST 2009


Hi Frank and Jochen,
 
Thank you for the help. Yes, the _DEBUG flag was the problem

Cheers,
Tara


Tara O'Brien
Software Engineer
Aviation and Business Systems
E-mail: tara.obrien at airservicesaustralia.com
Phone: (02) 62684718
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Airservices Australia
Ph 1300 301 120       (within Australia)
Ph +61 2 6268 4111    (outside Australia)  
Fax +61 2 6268 5683
www.airservicesaustralia.com
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

-----Original Message-----
From: agentpp-bounces at agentpp.org [mailto:agentpp-bounces at agentpp.org] On Behalf Of Jochen Katz
Sent: Monday, 31 August 2009 5:41 AM
To: agent++
Subject: Re: [AGENT++] Help please with libagent++ undefined reference erroron linux

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
_______________________________________________
AGENTPP mailing list
AGENTPP at agentpp.org
http://lists.agentpp.org/mailman/listinfo/agentpp



More information about the AGENTPP mailing list