endian problems in Net-SNMP

"Naama Bar Menachem" <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
Hi

I have endian issues in net-snmp.
when requesting for a value, instead of presenting 1 I get 16777216
(which is 1000...0000)
I tried adding the flag "--with-endianness" in configure with both big
and little values - and none worked

What to do?

here are configure commands (in a file that I execute):
------------------------------------------------------------------------
------
CC=mips64-octeon-linux-gnu-gcc\
LD=/home/naamab/projects/eclipse/env/cavium-sdk/tools-gcc-4.3/mips64-oct
eon-linux-gnu/bin/ld\
./configure --target=mips64-octeon-linux-gnu\
--build=mips64-octeon-linux-gnu\
--host=i686-pc-linux-gnu\
--prefix=$PWD/usr\
--exec-prefix=$PWD/../../../bin\
--with-build-cc=gc\
--with-endianness=big\
--enable-shared\
--enable-embedded-perl\
--with-mib-modules="ucd_snmp"\
--with-default-snmp-version=3\
--with-sys-location=\
--with-logfile=/data/net/naamab/snmp/log/snmpd.log\
--with-persistent-directory=/data/net/naamab/snmp/snmp_persist/

 

Naaama Bar-Menachem

Software Engineer, R&D

 

T: +972-9958-9730 | M: +972-57-641-1810 | F: +972-9-958-9731  | 
[email protected] <mailto:[email protected]>  

Novelsat Ltd. 21st Hataasiya St. Raanana 43654, Israel  | 
www.novelsat.com <http://www.novelsat.com/> 

P Please consider the environment before printing this e-mail.

------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev

_______________________________________________
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
image001.jpg (image/jpeg, 4.2 KB) - not displayed
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.