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/  

------------------------------------------------------------------------------
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
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

Reply via email to