I mean how to compile it with armeb-linux-gcc.
with my private mib.
That is how to use configure and then make to get an mini agent called snmpd.
I have had such problem
Assembler messages:
Error: unknown architecture `i386'
Error: unrecognized option -march=i386
cc1: error: invalid option `32'
cc1: error: unrecognized command line option "-fstack-protector"
cc1: error: invalid parameter `ssp-buffer-size'
default_store.c:1: error: bad value (generic) for -mtune= switch
default_store.c:1: error: bad value (i386) for -march= switch
make[2]: *** [default_store.o] error 1
make[2]: Leaving directory `/home/woody/source/net-snmp-5.4.1/perl/default_store'
make[1]: *** [subdirs] error 2
make[1]: Leaving directory `/home/woody/source/net-snmp-5.4.1/perl'
make: *** [perlmodules] error 1
./configure CC=armeb-linux-gcc --host=armeb-linux --enable-mini-agent --disable-ipv6 --with-endianness=little --disable-applications --disable-manuals --disable-scripts --with-mib-modules="mtiw/netSNMPMIB" --disable-embedded-perl