I am using the net-snmp V5.2.1 shipped with ucLinux 2.6.x The makefile is the one used to build the snmp application from the uclinux user/net-snmp directory.
This constructs a NET_SNMP_CFG symbol with all the required snmp configuration info and runs ../configure $(NET_SNMP_CFG) in the build rule. I have attached the makefile for you. Unfortunately ucLinux use make menuconfig to setup configuration data for all applications built in. I don't think the net-snmp app has an entry for endian setting. This is obviously not your problem. I will ask on the uclinux forum as well. Thanks for your help. Regards, Steve -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Dave Shield Sent: 27 February 2008 09:27 To: Steve McCarthy Cc: net-snmp-users@lists.sourceforge.net Subject: Re: snmpv3 authentication failure On 27/02/2008, Steve McCarthy <[EMAIL PROTECTED]> wrote: > I have been having problems getting snmpv3 authentication of the passphrase > to work, and I have seen a lot of emails from others with this problem. > > I have found that my problem was due to my snmp libraries being built for my > Linux Motorola system with compilation set for little-endian instead of > big-endian. > How should I set this define in the build? $ ./configure --help | grep endian --with-endianness=big|little define endianness of target platform > I can see: > > ifdef CONFIG_CPU_BIG_ENDIAN > NET_SNMP_CFG += --with-endianness=big > else > NET_SNMP_CFG += --with-endianness=little > Endif > > In the top makefile. Which makefile is this? I've just checked the current source, and there's no mention of CONFIG_CPU_BIG_ENDIAN at all. The code above looks suspiciously like an external wrapper around the Net-SNMP configure mechanism. Where did you pick the SNMP code up from? Dave
makefile
Description: makefile
------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________ 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