Net-SNMP: endian problems

Loneliness, Depression & Relationship Forum

Help Support Loneliness, Depression & Relationship Forum:

This site may earn a commission from merchant affiliate links, including eBay, Amazon, and others.

nbm2

New member
Joined
Oct 3, 2010
Messages
2
Reaction score
0
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-octeon-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/
 
I dont know what to do about that

sorry :(

Do you think this a forum about a different kind of "networking" ?

or maybe can you explain your post a little further ?

maybe someone DOES know the answer, but it seems in a differernt language to me.

Any takers ?
 

Latest posts

Back
Top