[Buildroot] In-tree build OK, out-of-tree build fails

Thomas Petazzoni thomas.petazzoni at free-electrons.com
Sat Dec 19 07:51:57 UTC 2009


Hello,

Le Sat, 19 Dec 2009 04:28:14 +0000 (UTC),
Grant Edwards <grant.b.edwards at gmail.com> a écrit :

> Error 2 The "not found" file crt1.o is present in the output
> directory in staging/usr/lib/crt1.o, but it looks like the gcc
> command line used to link busybox is missing the required --sysroot
> option.

Could you post your .config file ?

> It looks like the combination of an external toolchain and
> out-of-tree build is what fails.

That's the configuration I'm using every day (external toolchain
generated by Crosstool-NG and out-of-tree build with O=).

Give me the .config file used to generate the toolchain + the .config
file used to produce the error and I'll try to reproduce.

Cheers,

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


More information about the buildroot mailing list