linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* HARDHAT 1.2 -> libc_nonshared.a not found by LD!
@ 2000-09-05  8:20 Paolo Scaffardi
  2000-09-05 15:50 ` Cal Erickson
  0 siblings, 1 reply; 2+ messages in thread
From: Paolo Scaffardi @ 2000-09-05  8:20 UTC (permalink / raw)
  To: linuxppc-embedded


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/

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: HARDHAT 1.2 -> libc_nonshared.a not found by LD!
  2000-09-05  8:20 HARDHAT 1.2 -> libc_nonshared.a not found by LD! Paolo Scaffardi
@ 2000-09-05 15:50 ` Cal Erickson
  0 siblings, 0 replies; 2+ messages in thread
From: Cal Erickson @ 2000-09-05 15:50 UTC (permalink / raw)
  To: Paolo Scaffardi; +Cc: linuxppc-embedded


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/

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2000-09-05 15:50 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2000-09-05  8:20 HARDHAT 1.2 -> libc_nonshared.a not found by LD! Paolo Scaffardi
2000-09-05 15:50 ` Cal Erickson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).