From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Petazzoni Date: Sat, 19 Dec 2009 08:51:57 +0100 Subject: [Buildroot] In-tree build OK, out-of-tree build fails In-Reply-To: References: Message-ID: <20091219085157.710264c7@surf> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: buildroot@busybox.net Hello, Le Sat, 19 Dec 2009 04:28:14 +0000 (UTC), Grant Edwards 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