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