
joakim.tjernlund at transmode
Dec 22, 2010, 7:28 AM
Post #2 of 3
(490 views)
Permalink
|
Mike Frysinger <vapier [at] gentoo> wrote on 2010/12/22 16:59:08: > > On Wednesday, December 22, 2010 08:06:06 Joakim Tjernlund wrote: > > make -j3 -s headers_install > > INSTALL_HDR_PATH=/var/tmp/portage/cross-crisv32-linux-gnu/linux-headers-2. > > 6.36.1/image///usr/crisv32-linux-gnu/usr/include/.. ARCH=cris > > CROSS_COMPILE=i686-pc-linux-gnu- > > /var/tmp/portage/cross-crisv32-linux-gnu/linux-headers-2.6.36.1/work/gento > > o-headers-base-2.6.36.1/scripts/Makefile.headersinst:14: > > /var/tmp/portage/cross-crisv32-linux-gnu/linux-headers-2.6.36.1/work/gento > > o-headers-base-2.6.36.1/arch/cris/include/asm/arch-v10/Kbuild: No such file > > or directory make[2]: *** No rule to make target > > `/var/tmp/portage/cross-crisv32-linux-gnu/linux-headers-2.6.36.1/work/gent > > oo-headers-base-2.6.36.1/arch/cris/include/asm/arch-v10/Kbuild'. Stop. > > complain to the upstream cris maintainers. take the linux-2.6.36 tree and run > `make ARCH=cris headers_install` and you'll see the same error. Right, meanwhile I just found out that the below patch fixes it linux-cris-kernel [at] axis added to this email. Axis I then get this glibc-2.12.1 error: make[2]: *** No rule to make target `/var/tmp/portage/cross-cris-linux-gnu/glibc-2.12.1-r3/image//usr/cris-linux-gnu/usr/include/bits/semaphore.h', needed by `install-headers-nosubdir'. Stop. make[2]: *** Waiting for unfinished jobs.... make[1]: *** [nptl/install-headers] Error 2 make: *** [install-headers] Error 2 emake failed Why is semabphore.h missing? Should I use some other glibc version? --- arch/cris/include/asm/Kbuild.org 2010-12-22 14:14:28.000000000 +0100 +++ arch/cris/include/asm/Kbuild 2010-12-22 15:59:54.000000000 +0100 @@ -1,7 +1,7 @@ include include/asm-generic/Kbuild.asm -header-y += arch-v10/ -header-y += arch-v32/ +header-y += ../arch-v10/arch/ +header-y += ../arch-v32/arch/ header-y += ethernet.h header-y += etraxgpio.h
|