On Fri, 2006-01-27 at 14:39 +0000, Raffles wrote:
> OK I've fixed it. All you need to be able to link the agent in to a C++ 
> application, is a small change to the Makefiles in the agent and apps 
> directories. When linking the Makefile needs to give g++ as the first 
> "argument" to libtool, rather than gcc.

> The real fix for this needs the code which autogenerates the Makefiles 
> to be changed, so that ./configure produces the patched version of the 
> Makefiles.

I don't think we'd want to switch to linking with g++ as a matter of
course.  Net-SNMP is fundamentally a C-based project, not a C++ one.
It's up to the person wanting to use in a "non-standard" way to make
the necessary adjustments.
   But it would certainly be useful if those adjustments could be as
simple as possible.

What happens if you run

        ./configure --with-cc=g++

?

Dave


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users

Reply via email to