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
Regards,
Luciano Rocha
--
Luciano Rocha <[email protected]>
Eurotux Inform?tica, S.A. <http://www.eurotux.com/>
From: Luciano Rocha <[email protected]>
Date: Tue, 18 Mar 2008 15:24:37 +0000
>
> 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?
Simply remove the if_addrlabel.h line from include/linux/Kbuild,
this will be fixed in a future 2.6.24.x release
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