From: Hebbar <gururajakr@sanyo.co.in>
To: buildroot@busybox.net
Subject: [Buildroot] DirectFB Fails with --enable-static option because of incorrect ld location
Date: Thu, 7 Feb 2008 23:22:09 -0800 (PST) [thread overview]
Message-ID: <15350519.post@talk.nabble.com> (raw)
Hi,
Today i was trying to make arm926ejs toolchain with buildroot 4th feb
snapshot. I added --enable-static option in directfb.mk file. During build i
noticed that directfb is using root ld (/usr/bin/ld) instead of arm-linux-ld
build by buildroot toolchain. i renamed /usr/bin/ld to /usr/bin/ld_orig and
it failed with below error.
Is there any way to make directfb makefile to consider buildroot toolchain
built ld instead of /usr/bin/ld
<snip>
<snip>
Making install in fbdev
make[3]: Entering directory
`/home/project/original/bldrt/buildroot/build_arm/DirectFB-1.0.1/systems/fbdev'
rm -f .libs/libdirectfb_fbdev.a.tmp/*.o
if test -d .libs/libdirectfb_fbdev.a.tmp; then rmdir
.libs/libdirectfb_fbdev.a.tmp; fi
mkdir .libs/libdirectfb_fbdev.a.tmp
(cd .libs/libdirectfb_fbdev.a.tmp &&
/home/project/original/bldrt/buildroot/build_arm/staging_dir/usr/bin/arm-linux-uclibc-ar
x ../../.libs/libdirectfb_fbdev.a)
ld -o libdirectfb_fbdev.o -r .libs/libdirectfb_fbdev.a.tmp/*.o
/bin/sh: ld: command not found
make[3]: *** [libdirectfb_fbdev.o] Error 127
make[3]: Leaving directory
`/home/project/original/bldrt/buildroot/build_arm/DirectFB-1.0.1/systems/fbdev'
make[2]: *** [install-recursive] Error 1
make[2]: Leaving directory
`/home/project/original/bldrt/buildroot/build_arm/DirectFB-1.0.1/systems'
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory
`/home/project/original/bldrt/buildroot/build_arm/DirectFB-1.0.1'
make: ***
[/home/project/original/bldrt/buildroot/build_arm/staging_dir/usr/lib/libdirectfb.so]
Error 2
root at guru_vlinux:~/project/original/bldrt/buildroot# ls -la /usr/bin/ld*
-rwxr-xr-x 1 root root 430804 Jan 4 11:17 /usr/bin/ld_orig
-rwxr-xr-x 1 root root 5871 Jan 12 15:21 /usr/bin/ldd_orig
Regards
Gururaja
--
View this message in context: http://www.nabble.com/DirectFB-Fails-with---enable-static-option-because-of-incorrect-ld-location-tp15350519p15350519.html
Sent from the BuildRoot mailing list archive at Nabble.com.
next reply other threads:[~2008-02-08 7:22 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-02-08 7:22 Hebbar [this message]
2008-02-16 3:19 ` [Buildroot] DirectFB Fails with --enable-static option because of incorrect ld location Hebbar
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=15350519.post@talk.nabble.com \
--to=gururajakr@sanyo.co.in \
--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.