Best practice for 'net-snmp-config --base-cflags' returning multiple instances of Net-SNMP?
James Gosnell <[email protected]>
| Newsgroups | gmane.network.net-snmp.user |
|---|---|
| Message-ID | <CAEhBLvj5wtdwjJAFO9Q-WkmoXWARiBgtvWo1u_LPrExkpJNseA@mail.gmail.com> |
Hello, I have multiple versions of Net-SNMP on my Mac OS X it seems. One install comes with the Mac OS X and another install is one from the Homebrew port system. The deeper issue is where when i run 'make -f myTable_Makefile', everything compiles without errors, but I get runtime issues, like no return values on an snmp get request. Along with a dev, I found the problem was that `net-snmp-config --base-cflags' returns multiple values to my Makefile and that I have something like this when I run `net-snmp-config --base-cflags': net-snmp-config --base-cflags -DNETSNMP_ENABLE_IPV6 -g -Os -pipe -DBUILD=132 -DMACOSX_DEPLOYMENT_TARGET=10.7 -F/System/Library/PrivateFrameworks/ -F/System/Library/Frameworks/ -Udarwin11 -Ddarwin11=darwin11 -I/usr/local/include When I do a search 'sudo find / -name net-snmp-config.h' I get returned the multiple instances of the header: new-host-4:mib james$ sudo find / -name net-snmp-config.h /Developer/SDKs/MacOSX10.6.sdk/usr/include/net-snmp/net-snmp-config.h /Developer/SDKs/MacOSX10.7.sdk/usr/include/net-snmp/net-snmp-config.h /usr/include/net-snmp/net-snmp-config.h Is there a best practice for returning the most recent library on a system that has multiple instances of Net-SNMP installed? I think the lib binary might also have a similar issue, but I'm not sure. -- James Gosnell, ACP ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ 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