symbolic link to resource.h is also necessary to build with linux kernel 3.2.
PATCH 1/1 symbolic link to resource.h is also necessary to build with linux kernel 3.2.
--- meta-initramfs/recipes-devtools/klibc/klibc_1.5.25.bb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
meta-initramfs/recipes-devtools/klibc/klibc_1.5.25.bb +2 -1
@@ -1,4 +1,4 @@ -PR = "${INC_PR}.0" +PR = "${INC_PR}.1" export INST = "${D}"
@@ -11,6 +11,7 @@ do_compile_prepend() { ln -sf ${STAGING_KERNEL_DIR}/arch/${TARGET_ARCH}/include/generated/asm/errno.h ${STAGING_KERNEL_DIR}/arch/${TARGET_ARCH}/include/asm/errno.h ln -sf ${STAGING_KERNEL_DIR}/arch/${TARGET_ARCH}/include/generated/asm/ioctl.h ${STAGING_KERNEL_DIR}/arch/${TARGET_ARCH}/include/asm/ioctl.h ln -sf ${STAGING_KERNEL_DIR}/arch/${TARGET_ARCH}/include/generated/asm/poll.h ${STAGING_KERNEL_DIR}/arch/${TARGET_ARCH}/include/asm/poll.h + ln -sf ${STAGING_KERNEL_DIR}/arch/${TARGET_ARCH}/include/generated/asm/resource.h ${STAGING_KERNEL_DIR}/arch/${TARGET_ARCH}/include/asm/resource.h fi }
Signature · 1 line
1.7.10.4
Quoted 26 lines · Takeshi Hamasaki
--- meta-initramfs/recipes-devtools/klibc/klibc_1.5.25.bb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)meta-initramfs/recipes-devtools/klibc/klibc_1.5.25.bb +2
-2@@ -1,4 +1,4 @@ -PR = "${INC_PR}.0" +PR = "${INC_PR}.1" export INST = "${D}"@@ -11,6 +11,7 @@ do_compile_prepend() { ln -sf ${STAGING_KERNEL_DIR}/arch/${TARGET_ARCH}/include/generated/asm/errno.h ${STAGING_KERNEL_DIR}/arch/${TARGET_ARCH}/include/asm/errno.h ln -sf ${STAGING_KERNEL_DIR}/arch/${TARGET_ARCH}/include/generated/asm/ioctl.h ${STAGING_KERNEL_DIR}/arch/${TARGET_ARCH}/include/asm/ioctl.h ln -sf ${STAGING_KERNEL_DIR}/arch/${TARGET_ARCH}/include/generated/asm/poll.h ${STAGING_KERNEL_DIR}/arch/${TARGET_ARCH}/include/asm/poll.h + ln -sf ${STAGING_KERNEL_DIR}/arch/${TARGET_ARCH}/include/generated/asm/resource.h ${STAGING_KERNEL_DIR}/arch/${TARGET_ARCH}/include/asm/resource.h fi } --1.7.10.4
Quoted 4 lines
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
Hi,
you are using an outdated recipe, the issue is already fixed. Please update your meta-initramfs layer and you'll get klibc_2.0.2.
Regards
Andrea
2013/1/15 Andrea Adami <[email protected]>:
Quoted 4 lines
Hi,
you are using an outdated recipe, the issue is already fixed. Please update your meta-initramfs layer and you'll get klibc_2.0.2.
Thank you for your advice,
according to the output from
$ git branch at sources/meta-openembedded/meta-initramfs/ directory, there are two branches available.
* denzil
master
Do you mean that I have to do:
$ git checkout master there? Or is there any trick using oebb.sh? (Though I can't find anything suggesting this from ./oebb.sh --help)
Signature · 1 line
Takeshi Hamasaki
Quoted 23 lines · Takeshi Hamasaki
2013/1/15 Andrea Adami <[email protected]>:
Quoted 4 lines
Hi,
you are using an outdated recipe, the issue is already fixed. Please update your meta-initramfs layer and you'll get klibc_2.0.2.
Thank you for your advice,
according to the output from$ git branch at sources/meta-openembedded/meta-initramfs/ directory, there are two branches available.* denzil
masterDo you mean that I have to do:
$ git checkout master there? Or is there any trick using oebb.sh? (Though I can't find anything suggesting this from ./oebb.sh --help) -- Takeshi Hamasaki
Quoted 4 lines
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
Ah, I see now: you are using the denzil branch with klibc_1.5.25.
This version was the last one built against kernel headers: starting with 1.5.26 the recipe uses linux-libc-headers for building. So for denzil, with kernel 3.2, I suggest you to:
a) add your patch and be happy with 1.5.25
b) update to 1.5.26, backporting the commits form master
c) checkout meta-initramfs master and get klibc_2.0.2 (pls remove linux-yocto-tiny-kexecboot_3.4.bb or you'll get errors)
Regards
Andrea
Hi,
2013/1/15 Andrea Adami <[email protected]>:
Quoted 10 lines
Ah, I see now: you are using the denzil branch with klibc_1.5.25.
This version was the last one built against kernel headers: starting with 1.5.26 the recipe uses linux-libc-headers for building. So for denzil, with kernel 3.2, I suggest you to:
a) add your patch and be happy with 1.5.25
b) update to 1.5.26, backporting the commits form master
c) checkout meta-initramfs master and get klibc_2.0.2 (pls remove linux-yocto-tiny-kexecboot_3.4.bb or you'll get errors)
I choose a) for a while, say, until Angstrom 2012.12 is released.
b) and c) are also helpful advice, thank you so much.
Signature · 1 line
Takeshi hamasaki