On 20 Oct 2004 15:55:59 +0530 ujjwal wrote:
U> With your suggestions and adding extern 'c' to some missing places I
U> managed to build and run the agent without any mib modules.

Patches would be greatly appreciated.

U> But one problem which I found is that the net-snmp-config.h file
U> generated by configure script for --with-cc="g++" is missing some of the
U> #defines like STRTOL, STRTOUL etc which are present for normal gcc
U> compilation.
U> net-snmp defines these functions if #defines are not present in
U> net-snmp-config.h, so I am getting the redefinition error for functions
U> like strtol.
U> configure's test programs are failing with g++. Is there any work around
U> for this ?

Not yet. Can you look in config.log and see why the test programs are failing?

-- 
Robert Story; NET-SNMP Junkie <http://www.net-snmp.org/>
<irc://irc.freenode.net/#net-snmp>  
Archive: <http://sourceforge.net/mailarchive/forum.php?forum=net-snmp-users>

You are lost in a twisty maze of little standards, all different. 


-------------------------------------------------------
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
_______________________________________________
Net-snmp-users mailing list
[EMAIL PROTECTED]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users

Reply via email to