Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] No rule to make target /buildroot-avr32-v2.2.0/toolchain_build_avr32/gcc-4.2.2-final/.libs_installed
@ 2008-10-02  8:02 Matuschka, Sebastian
  2008-10-02  8:31 ` Hans-Christian Egtvedt
  0 siblings, 1 reply; 3+ messages in thread
From: Matuschka, Sebastian @ 2008-10-02  8:02 UTC (permalink / raw)
  To: buildroot

Hi,

i'm using the buildroot-avr32-v2.2.0 from atmel.no now.
Compiling with atstk1002_defconfig works, but i had to change a few
things which i need or not need for our board, which is based on the
atstk1002.
Now i get this error every time i make it:
mkdir -p
/buildroot-avr32-v2.2.0/project_build_avr32/RavenBT/root/usr/lib
/buildroot-avr32-v2.2.0/project_build_avr32/RavenBT/root/usr/sbin
touch
/buildroot-avr32-v2.2.0/toolchain_build_avr32/gcc-4.2.2-final/.installed
make: *** No rule to make target
>/buildroot-avr32-v2.2.0/toolchain_build_avr32/gcc-4.2.2-final/.libs_ins
talled<,
  needed by `cross_compiler'. Stop.

I've used make clean, make distclean, deleted toolchain_build_avr32
completely, played with make menuconfig, but I get this error every time
I run make.

I guess that the point where this error occurs is in
toolchain/gcc/gcc-uclibc-4.x.mk (Line 390):
cross_compiler:=$(STAGING_DIR)/usr/bin/$(REAL_GNU_TARGET_NAME)-gcc
cross_compiler gcc: uclibc-configured binutils gcc_initial \
	$(LIBFLOAT_TARGET) uclibc \
	$(GCC_BUILD_DIR2)/.installed $(GCC_BUILD_DIR2)/.libs_installed \
	$(GCC_TARGETS)

But I don't know what to correct now.

Best Regards
Sebastian

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Buildroot] No rule to make target /buildroot-avr32-v2.2.0/toolchain_build_avr32/gcc-4.2.2-final/.libs_installed
  2008-10-02  8:02 [Buildroot] No rule to make target /buildroot-avr32-v2.2.0/toolchain_build_avr32/gcc-4.2.2-final/.libs_installed Matuschka, Sebastian
@ 2008-10-02  8:31 ` Hans-Christian Egtvedt
  2008-10-02  9:33   ` Matuschka, Sebastian
  0 siblings, 1 reply; 3+ messages in thread
From: Hans-Christian Egtvedt @ 2008-10-02  8:31 UTC (permalink / raw)
  To: buildroot

On Thu, 2 Oct 2008 10:02:53 +0200
"Matuschka, Sebastian" <Sebastian.Matuschka@gcd-solutions.de> wrote:

> Hi,
> 
> i'm using the buildroot-avr32-v2.2.0 from atmel.no now.
> Compiling with atstk1002_defconfig works, but i had to change a few
> things which i need or not need for our board, which is based on the
> atstk1002.
> Now i get this error every time i make it:
> mkdir -p
> /buildroot-avr32-v2.2.0/project_build_avr32/RavenBT/root/usr/lib
> /buildroot-avr32-v2.2.0/project_build_avr32/RavenBT/root/usr/sbin
> touch
> /buildroot-avr32-v2.2.0/toolchain_build_avr32/gcc-4.2.2-final/.installed
> make: *** No rule to make target
> >/buildroot-avr32-v2.2.0/toolchain_build_avr32/gcc-4.2.2-final/.libs_ins
> talled<,
>   needed by `cross_compiler'. Stop.
> 

Aha, you have enabled sysroot in GCC, I have not tested that. Could you
try the attached patch?

If it does not work, there is something wrong ongoing in
toolchain/gcc/gcc-uclibc-4.x.mk

> I've used make clean, make distclean, deleted toolchain_build_avr32
> completely, played with make menuconfig, but I get this error every
> time I run make.
> 
> I guess that the point where this error occurs is in
> toolchain/gcc/gcc-uclibc-4.x.mk (Line 390):
> cross_compiler:=$(STAGING_DIR)/usr/bin/$(REAL_GNU_TARGET_NAME)-gcc
> cross_compiler gcc: uclibc-configured binutils gcc_initial \
> 	$(LIBFLOAT_TARGET) uclibc \
> 	$(GCC_BUILD_DIR2)/.installed
> $(GCC_BUILD_DIR2)/.libs_installed \ $(GCC_TARGETS)
> 
> But I don't know what to correct now.
> 

Let me know if the patch works for you.

-- 
Best regards,
Hans-Christian Egtvedt
-------------- next part --------------
A non-text attachment was scrubbed...
Name: gcc-with-sysroot-fix-libs-installed-rule.patch
Type: text/x-patch
Size: 584 bytes
Desc: not available
Url : http://busybox.net/lists/buildroot/attachments/20081002/0fd483af/attachment.bin 

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Buildroot] No rule to make target /buildroot-avr32-v2.2.0/toolchain_build_avr32/gcc-4.2.2-final/.libs_installed
  2008-10-02  8:31 ` Hans-Christian Egtvedt
@ 2008-10-02  9:33   ` Matuschka, Sebastian
  0 siblings, 0 replies; 3+ messages in thread
From: Matuschka, Sebastian @ 2008-10-02  9:33 UTC (permalink / raw)
  To: buildroot

<snip>
> Aha, you have enabled sysroot in GCC, I have not tested that. Could
you
> try the attached patch?

Yes, i have enabled sysroot. I think it's maybe neccessary because I
have three Buildroot's which I sometimes let run make at the same time.
And I just want to be sure they use the correct path.

> 
> If it does not work, there is something wrong ongoing in
> toolchain/gcc/gcc-uclibc-4.x.mk
> 
> > I've used make clean, make distclean, deleted toolchain_build_avr32
> > completely, played with make menuconfig, but I get this error every
> > time I run make.
> >
> > I guess that the point where this error occurs is in
> > toolchain/gcc/gcc-uclibc-4.x.mk (Line 390):
> > cross_compiler:=$(STAGING_DIR)/usr/bin/$(REAL_GNU_TARGET_NAME)-gcc
> > cross_compiler gcc: uclibc-configured binutils gcc_initial \
> > 	$(LIBFLOAT_TARGET) uclibc \
> > 	$(GCC_BUILD_DIR2)/.installed
> > $(GCC_BUILD_DIR2)/.libs_installed \ $(GCC_TARGETS)
> >
> > But I don't know what to correct now.
> >
> 
> Let me know if the patch works for you.

The patch worked fine for me, the complete buildroot make finished
without failure.
A great Thank you for this patch and also the avahi patch yesterday (it
came just right, as I was running into this error and couldn't find a
solution since one hour or so)

Sebastian

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2008-10-02  9:33 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-10-02  8:02 [Buildroot] No rule to make target /buildroot-avr32-v2.2.0/toolchain_build_avr32/gcc-4.2.2-final/.libs_installed Matuschka, Sebastian
2008-10-02  8:31 ` Hans-Christian Egtvedt
2008-10-02  9:33   ` Matuschka, Sebastian

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox