[beagleboard] Cross-compiling net-snmp

Hi. I have CodeSourcery toolchain, and was trying to compile net-
snmp.
For that I did in the commandline:

1) ./configure --prefix=/meda/LABEL2/usr/bin --with-ar=arm-none-linux-
gnueabi-ar --with-CC arm-none-linux-gnueabi-gcc --with-linkcc=arm-none-
linux-gnueabi-gcc --with-ld=arm-none-linux-gnueabi-ld --target=arm-
linux-gnueabi --build=i686-linux --with-endianness=big --disable-
shared --host=arm-linux --enable-mini-agent --with-defaults --disable-
embedded-perl

2) make
On the step two I got errors:
#/home/imax/CodeSourcery/arm-2009q3/bin/../lib/gcc/arm-none-linux-
gnueabi/4.4.1/../../../../arm-none-linux-gnueabi/bin/ld: snmpd.o:
Relocations in generic ELF (EM: 3)
#snmpd.o: could not read symbols: File in wrong format (here is more
complete log http://pastebin.com/Q4X8WWbp)

What did I wrong?

I am new to ARM. But I have done this for PPC. Try
1. make distclean and make
2. Ignore the target and build options and make
3. If same error occurs again, check snmpd.o type using "file".

Bye :slight_smile:

I did 'bitbake net-smnp' and it built: http://www.angstrom-distribution.org/repo/?pkgsearch=net-snmp

regards,

Koen

Hello

as the Angstrom server is down and does not seem to get fixed,

can you make the package available somewhere else??

Great thanks
Andy