public inbox for linux-omap@vger.kernel.org
 help / color / mirror / Atom feed
From: Indraneel <indraneel.m@samsung.com>
To: Linux-omap-open-source@linux.omap.com
Subject: Problem in linking with montavista toolchain for omap2420
Date: Sun, 28 Jan 2007 17:23:03 +0530	[thread overview]
Message-ID: <1169985183.16634.24.camel@localhost.localdomain> (raw)

Hi,
I'm trying to cross-compile a program using the montavista tool chain
for arm_v5t_le architecture for the omap2420(h4 board). I get the
following error when linking a simple c program:

$ arm_v5t_le-gcc -DPOSIX -DMD=2 rz.c
/opt/montavista/devkit/arm/v5t_le/lib/gcc-lib/armv5tl-hardhat-linux/3.3.1/../../../../armv5tl-hardhat-linux/bin/ld: cannot find libc.so.6
collect2: ld returned 1 exit status


Surprisingly i couldn't find any file or link by the name libc.so.6 in
the toolchain, although there was
/opt/montavista/devkit/arm/v5t_le/target/usr/lib/libc.so

Other info
gcc
version 3.3.1 (MontaVista 3.3.1-7.0.15.0500230 2005-02-20)
--with-sysroot=/opt/montavista/devkit/arm/v5t_le/target

GNU ld
version 2.14 20030612 (MontaVista 2.14-11.0.7.0500230 2005-02-20)

PATH=/opt/montavista/devkit/arm/v5t_le/bin:$PATH


I have searched for the error but couldn't find anything definitive.

Can anyone provide any clues as to what is wrong and how can i solve
this linking issue?

Any pointers will be appreciated.

Regards,
Indraneel

             reply	other threads:[~2007-01-28 11:53 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-01-28 11:53 Indraneel [this message]
2007-01-30  6:16 ` Problem in linking with montavista toolchain for omap2420 Madhava Gauranga
2007-01-30 11:25   ` Indraneel
2007-01-30 14:55     ` andrzej zaborowski
2007-01-31 11:20       ` Indraneel

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1169985183.16634.24.camel@localhost.localdomain \
    --to=indraneel.m@samsung.com \
    --cc=Linux-omap-open-source@linux.omap.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox