From: Jan Kobler <eng1@koblersystems.de>
To: gentoo-embedded@lists.gentoo.org
Subject: [gentoo-embedded] Adjust paths when cross-compiling
Date: Thu, 16 Sep 2010 13:03:38 +0200 [thread overview]
Message-ID: <4C91F98A.6030307@koblersystems.de> (raw)
Hi,
when cross-compiling I have encountered some problems with path names:
ROOT=/usr/armv4tl-softfloat-linux-gnueabi
SYSROOT=/usr/armv4tl-softfloat-linux-gnueabi
I get error messages like:
/usr/lib/libgmp.so: could not read symbols: File in wrong format
or
/usr/libexec/gcc/armv4tl-softfloat-linux-gnueabi/ld: cannot find
/lib/libcrack.so.2
I have changed the paths manually
in the file $ROOT/usr/lib/libgmp.la
from
libdir='/usr/lib'
to
libdir='/usr/armv4tl-softfloat-linux-gnueabi/usr/lib'
in the file $ROOT/usr/lib/libcrack.so
from
GROUP ( /lib/libcrack.so.2 )
to
GROUP ( /usr/armv4tl-softfloat-linux-gnueabi/lib/libcrack.so.2 )
Are there any tools which can do this automatically.
I know that there is cross-fix-root or lafilefixer, but I am reluctant
to test it logged in as root.
Are there any docs about these tools beside --help on the command line.
These problems occurred when cross-compiling as described in
http://gentoo.mindzoo.de/index.cgi/wiki/cross-compiling-chroot
(currently Version 2)
Best regards
Jan
next reply other threads:[~2010-09-16 11:11 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-09-16 11:03 Jan Kobler [this message]
2010-09-20 17:39 ` [gentoo-embedded] Adjust paths when cross-compiling Mike Frysinger
2010-09-20 20:12 ` Jan Kobler
2010-09-21 11:04 ` Enrico Weigelt
2010-09-21 20:07 ` Mike Frysinger
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=4C91F98A.6030307@koblersystems.de \
--to=eng1@koblersystems.de \
--cc=gentoo-embedded@lists.gentoo.org \
/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