[uClibc]buildroot compile error
acmay at acmay.homeip.net
acmay at acmay.homeip.net
Wed Jan 22 03:31:59 UTC 2003
On Tue, Jan 21, 2003 at 05:18:15PM -0700, Erik Andersen wrote:
> On Tue Jan 21, 2003 at 05:27:22PM -0600, Tony J. White wrote:
> >
> > I downloaded the CVS today 20030121 and tried to make buildroot for the
> > first time.
> >
> > The build fails when building gcc (for the staging_dir I think, because the
> > build/gcc-initial directory seems to be intact). The error is
> >
> > <blah>/bin/ld: cannot open crti.o: No such file or directory
>
> My fault. I've been doing a _lot_ of work on buildroot and
> I accidentally checked in something stupid early this morning.
> This is fixed now. Care to do a 'cvs up' and try again?
>
Can you include this patch so the kernel dir isn't hard coded.
I am also having problems with doing a cross-compile. The programs
install in the staging_dir seem to be for the target, not the host
like they use to be.
-------------- next part --------------
--- buildroot.main/make/uclibc_toolchain.mk 2003-01-21 16:31:09.000000000 -0800
+++ buildroot.3/make/uclibc_toolchain.mk 2003-01-21 17:35:20.000000000 -0800
@@ -285,7 +285,7 @@
bzcat $(DL_DIR)/$(UCLIBC_SOURCE) | tar -C $(BUILD_DIR) -xvf -
touch $(UCLIBC_DIR)/.unpacked
-$(UCLIBC_DIR)/.configured: $(UCLIBC_DIR)/.unpacked $(BUILD_DIR)/linux/.configured
+$(UCLIBC_DIR)/.configured: $(UCLIBC_DIR)/.unpacked $(LINUX_DIR)/.configured
perl -i -p -e 's,^CROSS=.*,TARGET_ARCH=$(ARCH)\nCROSS=$(TARGET_CROSS),g' \
$(UCLIBC_DIR)/Rules.mak
cp $(SOURCE_DIR)/uClibc.config $(UCLIBC_DIR)/.config
More information about the uClibc
mailing list