HARDHAT 1.2 -> libc_nonshared.a not found by LD!

2 messages, 2 authors, 2000-09-05 · open the first message on its own page

HARDHAT 1.2 -> libc_nonshared.a not found by LD!

From: Paolo Scaffardi <hidden>
Date: 2000-09-05 08:20:22

I installed HardHat 1.2 on my i386 Linux box to cross-compiling for my
mpc823 fads board on the previous working hardhat version (Journeyman). I
had many projects and packages configured to cross-compile. I tried to
rebuild them with the new toolkit but i experienced one big problem that i
cannot resolve by myself.

While trying to configure and compile GGI, i got this error from the linker
(/opt/hardhat/devkit/ppc/8xx/powerpc-hardhat-linux/bin/ld):

cannot find /lib/libc_nonshared.a

It seems that the linker looks for it in the host /lib instead of target
/lib (under /opt/hardhat/devkit/8xx/powerpc-hardhat-linux/lib).

How can resolve this?

I spent one day to indagate on this... :-((

Bye,
Paolo


** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

Re: HARDHAT 1.2 -> libc_nonshared.a not found by LD!

From: Cal Erickson <hidden>
Date: 2000-09-05 15:50:12

Paolo,
You could add -L /opt/hardhat/devkit/8xx/powerpc-hardhat-linux/lib
to you build file. That would force the linker to look there.
Cal

Paolo Scaffardi wrote:
I installed HardHat 1.2 on my i386 Linux box to cross-compiling for my
mpc823 fads board on the previous working hardhat version (Journeyman). I
had many projects and packages configured to cross-compile. I tried to
rebuild them with the new toolkit but i experienced one big problem that i
cannot resolve by myself.

While trying to configure and compile GGI, i got this error from the linker
(/opt/hardhat/devkit/ppc/8xx/powerpc-hardhat-linux/bin/ld):

cannot find /lib/libc_nonshared.a

It seems that the linker looks for it in the host /lib instead of target
/lib (under /opt/hardhat/devkit/8xx/powerpc-hardhat-linux/lib).

How can resolve this?

I spent one day to indagate on this... :-((

Bye,
Paolo
--
===========================================================================
Cal Erickson                 MontaVista Software Inc.
Customer Support Engineer    490 Potrero Avenue
Phone (408) 328-0304         Sunnyvale CA 94085
Fax   (408) 328-9204         e-mail cal_erickson@mvista.com
Pager 877-566-2012           support 1-800-759-8888 pin 202-7489
web http://www.mvista.com    support e-mail: support@mvista.com
eCode: http://cal@work.com.ecode.com
===========================================================================


** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help