Hello Göran, * Göran Hillebrink wrote on Wed, Jan 09, 2008 at 04:27:27PM CET: > > I'm trying to cross compile net-snmp but have run into a libtool > problem. I'm using libtool 1.5.24 together with net-snmp 5.4.1. > > I've tracked down the problem to archive_cmds in libtool. The $deplibs > parameter indicates -L/usr/lib instead of > -L/home/goranh/src/etrax/target/crisv32-axis-linux-gnu/usr/lib.
Not sure whether I can help you, but could you please run this command manually with --debug added right after `../libtool': > (cd /usr/local/src/etrax/apps/ucd-snmp/net-snmp-5.4/src/agent; /bin/sh > ../libtool --mode=relink gcc-cris -isystem > /home/goranh/src/etrax/target/crisv32-axis-linux-gnu/include -isystem > /home/goranh/src/etrax/target/crisv32-axis-linux-gnu/usr/include -mlinux > -march=v32 -Wall -Os -g > -I/home/goranh/src/etrax/target/crisv32-axis-linux-gnu/usr/include -Ulinux > -Dlinux=linux -rpath /usr/lib -version-info 16:0:1 -o libnetsnmpagent.la > snmp_agent.lo snmp_vars.lo agent_read_config.lo agent_registry.lo > agent_index.lo agent_trap.lo kernel.lo agent_handler.lo > mibgroup/utilities/execute.lo mibgroup/mibII/vacm_conf.lo > mibgroup/snmpv3/usmConf.lo ../snmplib/libnetsnmp.la > -L/home/goranh/src/etrax/target/crisv32-axis-linux-gnu/lib > -L/home/goranh/src/etraxtarget/crisv32-axis-linux-gnu/lib > -L/home/goranh/src/etrax/target/crisv32-axis-linux-gnu/usr/lib > -L/home/goranh/src/etrax/target/crisv32-axis-linux-gnu/usr/lib > -inst-prefix-dir /home/goranh/src/etrax/target/crisv32-axis-linux-gnu) and this added at the end > log-snmp-cross-relink 2>&1 && gzip log-snmp-cross-relink and post log-snmp-cross-relink.gz as well as the output of ../libtool --config ? Further, where is the cris libc located on your system? Thanks, Ralf _______________________________________________ http://lists.gnu.org/mailman/listinfo/libtool