libtool
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: libtool problem when cross compiling net-snmp


From: Göran Hillebrink
Subject: RE: libtool problem when cross compiling net-snmp
Date: Thu, 10 Jan 2008 10:17:31 +0100

Thank you for your response.

Attached are the logs you asked for.
libc is located in /home/goranh/src/etrax/target/crisv32-axis-linux-gnu/lib.

/Goran


-----Original Message-----
From:   Ralf Wildenhues [mailto:address@hidden
Sent:   Wed 1/9/2008 8:51 PM
To:     Göran Hillebrink
Cc:     address@hidden
Subject:        Re: libtool problem when cross compiling net-snmp

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





Attachment: log-snmp-cross-relink.gz
Description: log-snmp-cross-relink.gz

Attachment: log-snmp-cross-relink-config.gz
Description: log-snmp-cross-relink-config.gz


reply via email to

[Prev in Thread] Current Thread [Next in Thread]