From: Hamish Moffatt <hamish@cloud.net.au>
To: buildroot@busybox.net
Subject: [Buildroot] Error:"Staging_dir/lib/libc.so.0: could not read symbols:file in wrong format" while "make" buildroot with xscale, gcc-4.2.3
Date: Wed, 23 Apr 2008 21:43:31 +1000 [thread overview]
Message-ID: <20080423114331.GA15032@cloud.net.au> (raw)
In-Reply-To: <1208921910.480eaf36b427a@www.server101.com>
On Wed, Apr 23, 2008 at 01:38:30PM +1000, Li Liang wrote:
> The same error message appeared again as following while I executed "make" after
> "make menuconfig"
>
> /home/user/workspace/MFSP/uCroot/buildroot/build_armeb/staging_dir/lib/libc.so.0:
> could not read symbols: File in wrong format
> collect2: ld returned 1 exit status
So can you run "file" on the libc.so.0? It should say 32-bit ARM MSB.
> I am using the following packages to build the tool-chain:
>
> kernel 2.6.24
> uClibc 0.9.29
> binutils 2.18
> gcc 4.2.3
I'm using gcc 4.1.x here. I couldn't get 4.2.3 built successfully for
armeb, but that was months ago and it might be fixed by now. Also I'm
still using OABI rather than EABI because I couldn't get the latter
compiled either.
Unless you really need 4.2.x you could try the older version.
Hamish
--
Hamish Moffatt VK3SB <hamish@debian.org> <hamish@cloud.net.au>
prev parent reply other threads:[~2008-04-23 11:43 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-04-22 15:04 [Buildroot] Error:"Staging_dir/lib/libc.so.0: could not read symbols:file in wrong format" while "make" buildroot with xscale, gcc-4.2.3 Li Liang
2008-04-22 15:45 ` Rex Ashbaugh
2008-04-23 3:38 ` Li Liang
2008-04-23 11:43 ` Hamish Moffatt [this message]
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=20080423114331.GA15032@cloud.net.au \
--to=hamish@cloud.net.au \
--cc=buildroot@busybox.net \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.