Hi,
We had recently upgraded from Net-SNMP 5.1 to Net-SNMP
5.4.2.1. To debug when we added mtrace() to the code and build snmpd for
powerpc, it fails to log to file even after setting "MALLOC_TRACE" Is
this some kind of restriction.
Thjs is my final link command
powerpc-linux-gcc -nodefaultlibs -g -O2 -Ulinux -Dlinux=linux -o snmpd
..libs/snmpd.o -L/home/venkat/Learning/net-snmp-5.4.2.1/agent/.libs
-L/home/venkat/Learning/net-snmp-5.4.2.1/agent/helpers/.libs
-L/home/venkat/Learning/net-snmp-5.4.2.1/snmplib/.libs
-L/home/venkat/Learning/net-snmp-5.4.2.1/snmplib
-L/home/venkat/Learning/net-snmp-5.4.2.1/agent/helpers
-L/home/ravi/pius/ssl/openssl-0.9.8b/lib ./.libs/libnetsnmpagent.a
helpers/.libs/libnetsnmphelpers.a ./.libs/libnetsnmpmibs.a
/home/venkat/Learning/net-snmp-5.4.2.1/agent/helpers/.libs/libnetsnmphel
pers.a
/home/venkat/Learning/net-snmp-5.4.2.1/agent/.libs/libnetsnmpagent.a
/home/venkat/Learning/net-snmp-5.4.2.1/snmplib/.libs/libnetsnmp.a -ldl
.../snmplib/.libs/libnetsnmp.a -lcrypto -lpthread
-L/home/venkat/Learning/duma_2_5_14 -lduma -lc -lgcc
../mibgroup/target/snmpTargetParamsEntry.o
../mibgroup/target/snmpTargetAddrEntry.o ./mibgroup/target/target.o
../mibgroup/utilities/execute.o ./mibgroup/mibII/.libs/vacm_conf.o
I have added mtrace() to the start of the main in snmpd.c. Please let me
know if I am missing anything here.
Regards,
Venkatrangan
DISCLAIMER:
-----------------------------------------------------------------------------------------------------------------------
The contents of this e-mail and any attachment(s) are confidential and intended
for the named recipient(s) only.
It shall not attach any liability on the originator or HCL or its affiliates.
Any views or opinions presented in
this email are solely those of the author and may not necessarily reflect the
opinions of HCL or its affiliates.
Any form of reproduction, dissemination, copying, disclosure, modification,
distribution and / or publication of
this message without the prior written consent of the author of this e-mail is
strictly prohibited. If you have
received this email in error please delete it and notify the sender
immediately. Before opening any mail and
attachments please check them for viruses and defect.
-----------------------------------------------------------------------------------------------------------------------
------------------------------------------------------------------------------
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can't happen without you. Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders