Re: Using Net-SNMP within uclinux distribution
"Dave Shield" <[email protected]>
| Newsgroups | gmane.network.net-snmp.user |
|---|---|
| Message-ID | <[email protected]> |
On 22/11/2007, Steve McCarthy <[email protected]> wrote: > Do you know if the uclinux make, should install the net-snmp module in the > same way as if I installed net-snmp on it's own on a unix machine?... Do I > need to install the perl module as well? I don't know how ucLinux handles MIB modules, but you certainly shouldn't need the perl module. It's really only used by mib2c for generating MIB template code (assuming the agent hasn't enabled "embedded perl"). That template code can be generated on any convenient system, the coding completed manually, and then these files transferred to the target system for inclusing in the agent. You don't need perl for any of these later stages. > I have been trying to build these into my application on my unix machine > but I keep getting undefined references to SNMP code even though I have > copied the .a files to /usr/local/lib and set -L and -I's to point to these library > files in my makefile. You may need to run "ldconfig" after installing the libraries, in order that the linker can find then. That's typically required on normal Linux systems - I'll let someone else comment on how ucLinux differs (or not). Dave ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ 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