Skip to contentSkip to conversation

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

DISCUSSION Luciano Rocha 3 participants 3 messages Mar 20, 2008

lore
Share & tools
lore
#0 lore raw

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

Signature · 2 lines
Luciano Rocha <[email protected]>
Eurotux Informática, S.A. <http://www.eurotux.com/>
#1 lore raw

From: Luciano Rocha <[email protected]>
Date: Tue, 18 Mar 2008 15:24:37 +0000

Quoted 6 lines

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

#2 lore raw
In reply to Luciano Rocha
Quoted 12 lines · 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
Quoted 7 lines

...
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