Skip to contentSkip to conversation

Problems with new revision.

Buildroot Jared Holzman 2 participants 2 messages Nov 10, 2008

lore
Share & tools
lore
#0 lore raw

Hey,

Just updated to the latest revision using svn upd. I'm now having a problem with compiling fontconfig, xlib_libX11 and xlib_libXt. The problem seems to be that each package requires a host runnable executable to be build and it is attempting to link it using target flags. I've chased it down the following difference in the Makefiles:

-LDFLAGS =
+LDFLAGS = -L/home/jared/src/buildroot/build_arm/staging_dir/lib -L/home/jared/src/buildroot/build_arm/staging_dir/usr/lib -Wl,--rpath-link -Wl,/home/jared/src/buildroot/build_arm/staging_dir/lib -Wl,--rpath-link -Wl,/home/jared/src/buildroot/build_arm/staging_dir/usr/lib --sysroot=/home/jared/src/buildroot/build_arm/staging_dir/

But I don't have enough experience with the build system to track down where this is coming from.

Any ideas?

Signature · 21 lines
Regards,

Jared Holzman

------------------------------------------------------------------------

*Electronics Design Engineer*

*Genesys Electronics Design Pty Ltd*

Unit 5, 33 Ryde Rd Pymble
NSW, Australia 2073

Direct: +612 9496 8924
Phone: +612 9496 8900
Fax: +612 9496 8999

j.holzman at genesysdesign.com.au <mailto:[email protected]>
www.genesysdesign.com.au <http://www.genesysdesign.com.au>

------------------------------------------------------------------------
#1 lore raw

Le Mon, 10 Nov 2008 17:46:03 +1100,
Jared Holzman <[email protected]> a ?crit :

Quoted 15 lines

Just updated to the latest revision using svn upd. I'm now having a problem with compiling fontconfig, xlib_libX11 and xlib_libXt. The problem seems to be that each package requires a host runnable executable to be build and it is attempting to link it using target flags. I've chased it down the following difference in the Makefiles:

(quoted diff) +1 -7
-LDFLAGS =
+LDFLAGS = -L/home/jared/src/buildroot/build_arm/staging_dir/lib 
-L/home/jared/src/buildroot/build_arm/staging_dir/usr/lib 
-Wl,--rpath-link
-Wl,/home/jared/src/buildroot/build_arm/staging_dir/lib
-Wl,--rpath-link
-Wl,/home/jared/src/buildroot/build_arm/staging_dir/usr/lib
--sysroot=/home/jared/src/buildroot/build_arm/staging_dir/
Quoted 2 lines

But I don't have enough experience with the build system to track down where this is coming from.

It's probably another bug of the fix we're trying to work on with Daniel Laird. But the (incorrect) fix has been removed in r23954. Can you update after this revision and see if you're still having the problem ?

Moreover, can you send the .config with which you were having issues, and the exact errors you were getting ?

Thanks,

Thomas

Signature · 4 lines
Thomas Petazzoni, Free Electrons
Kernel, drivers and embedded Linux development,
consulting, training and support.
http://free-electrons.com