[Buildroot] DirectFB Fails with --enable-static option because of incorrect ld location

Hebbar gururajakr at sanyo.co.in
Fri Feb 8 07:22:09 UTC 2008


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 


Making install in fbdev
make[3]: Entering directory
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 &&
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
make[2]: *** [install-recursive] Error 1
make[2]: Leaving directory
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory
make: ***
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

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.

More information about the buildroot mailing list