I've been trying to configure Net SNMP to compile for a Coldfire processor
running a linux kernel 2.6.10. I'm able to get it to compile and install
without issue but the executables just give me a "bus error" message.

I'm using the following configuration settings:

CFLAGS=-mcfv4e --with-endianness=big
--host m68k-linux

Running strace ./snmpstatus gives the message:

================================================== ========================
open("/etc/ld.so.preload", O_RDONLY) = -1 ENOENT (No such file or
, O_RDONLY) = -1 ENOENT (No such file or directory)
0xbffff206) =
-1 ENOENT (No such file or directory)
bus error
================================================== =========================

Which suggests to me that the system is trying to find the lib files in
the directory they're found on my build system not on the host system it's
being run on. Not sure how to correct that. Tried --exec-prefix and
--prefix but didn't seem to help.

Any help/suggestions very much appreciated...

This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
Net-snmp-coders mailing list