Re: target headers_install: no linux/if_addrlabel.h (2.6.24.3)

From: Randy Dunlap
Date: Wed Mar 19 2008 - 20:38:50 EST


On Tue, 18 Mar 2008 15:24:37 +0000 Luciano Rocha wrote:

>
> Hello,
>
> I've compiled Linux 2.6.24.3 for arm, using gcc 4.3.0, and I get the
> following error when trying to extract the kernel headers. Is this
> known, or do I have a problem with my configuration?
>
> $ nice make -C /home/luciano/work/gilix/v2/src/linux O=$PWD ARCH=arm \
> CROSS_COMPILE=arm-unknown-linux-gnueabi- V=1 \
> modules_install INSTALL_MOD_PATH=$PWD/dist \
> headers_install INSTALL_HDR_PATH=$PWD/dist/usr
>
> ...
> scripts/unifdef -U__KERNEL__ /home/luciano/work/gilix/v2/src/linux/include/linux/icmpv6.h | sed -e "s/ inline / __inline__ /g" -e "s/[[:space:]]__user[[:space:]]\{1,\}/ /g" -e "s/(__user[[:space:]]\{1,\}/ (/g" -e "s/[[:space:]]__force[[:space:]]\{1,\}/ /g" -e "s/(__force[[:space:]]\{1,\}/ (/g" -e "s/[[:space:]]__iomem[[:space:]]\{1,\}/ /g" -e "s/(__iomem[[:space:]]\{1,\}/ (/g" -e "s/[[:space:]]__attribute_const__[[:space:]]\{1,\}/\ /g" -e "s/[[:space:]]__attribute_const__$//" -e "/^#include <linux\/compiler.h>/d" > /home/luciano/work/gilix/v2/build/linux/dist/usr/include/linux/icmpv6.h || :
> scripts/unifdef -U__KERNEL__ /home/luciano/work/gilix/v2/src/linux/include/linux/if_addr.h | sed -e "s/ inline / __inline__ /g" -e "s/[[:space:]]__user[[:space:]]\{1,\}/ /g" -e "s/(__user[[:space:]]\{1,\}/ (/g" -e "s/[[:space:]]__force[[:space:]]\{1,\}/ /g" -e "s/(__force[[:space:]]\{1,\}/ (/g" -e "s/[[:space:]]__iomem[[:space:]]\{1,\}/ /g" -e "s/(__iomem[[:space:]]\{1,\}/ (/g" -e "s/[[:space:]]__attribute_const__[[:space:]]\{1,\}/\ /g" -e "s/[[:space:]]__attribute_const__$//" -e "/^#include <linux\/compiler.h>/d" > /home/luciano/work/gilix/v2/build/linux/dist/usr/include/linux/if_addr.h || :
> make[3]: *** No rule to make target `/home/luciano/work/gilix/v2/src/linux/include/linux/if_addrlabel.h', needed by `/home/luciano/work/gilix/v2/build/linux/dist/usr/include/linux/if_addrlabel.h'. Stop.
> make[2]: *** [linux] Error 2
> make[1]: *** [headers_install] Error 2
> make: *** [sub-make] Error 2

The fix for this is queued and will be present (fixed) in the
next 2.6.24.x stable release.

---
~Randy
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/