[lfs-support] Installation of Linux API Headers (chapter 6.7.1) problem

Артём Орлов a.orlov at veedo.ru
Thu Sep 19 02:10:56 PDT 2013


Hello!

I am trying to make LFS-7.4 release. I passed chapters successfully but got
stuck in chapter 6.7.1 (Installation of Linux API Headers). I
untar linux-3.10.10.tar.xz and trying to make headers check but the
following errors appear:

root:/sources/linux-3.10.10# make headers_check
  CHK     include/generated/uapi/linux/version.h
  UPD     include/generated/uapi/linux/version.h
  HOSTCC  scripts/basic/fixdep
  WRAP    arch/x86/include/generated/asm/clkdev.h
  SYSHDR  arch/x86/syscalls/../include/generated/uapi/asm/unistd_32.h
  SYSHDR  arch/x86/syscalls/../include/generated/uapi/asm/unistd_64.h
  SYSHDR  arch/x86/syscalls/../include/generated/uapi/asm/unistd_x32.h
  SYSTBL  arch/x86/syscalls/../include/generated/asm/syscalls_32.h
  HOSTCC  arch/x86/tools/relocs_32.o
  HOSTCC  arch/x86/tools/relocs_64.o
  HOSTCC  arch/x86/tools/relocs_common.o
  HOSTLD  arch/x86/tools/relocs
  HOSTCC  scripts/unifdef
  INSTALL include/asm-generic (35 files)
scripts/headers_install.sh: command substitution: line 30: syntax error
near unexpected token `)'
scripts/headers_install.sh: command substitution: line 30: `basename "$i")"'
  INSTALL include/drm (17 files)
scripts/headers_install.sh: command substitution: line 30: syntax error
near unexpected token `)'
scripts/headers_install.sh: command substitution: line 30: `basename "$i")"'
  INSTALL include/linux/byteorder (2 files)
scripts/headers_install.sh: command substitution: line 30: syntax error
near unexpected token `)'
scripts/headers_install.sh: command substitution: line 30: `basename "$i")"'
  INSTALL include/linux/caif (2 files)
scripts/headers_install.sh: command substitution: line 30: syntax error
near unexpected token `)'
scripts/headers_install.sh: command substitution: line 30: `basename "$i")"'
  INSTALL include/linux/can (5 files)
scripts/headers_install.sh: command substitution: line 30: syntax error
near unexpected token `)'
scripts/headers_install.sh: command substitution: line 30: `basename "$i")"'
  INSTALL include/linux/dvb (8 files)
scripts/headers_install.sh: command substitution: line 30: syntax error
near unexpected token `)'
scripts/headers_install.sh: command substitution: line 30: `basename "$i")"'
  INSTALL include/linux/hdlc (1 file)
scripts/headers_install.sh: command substitution: line 30: syntax error
near unexpected token `)'
scripts/headers_install.sh: command substitution: line 30: `basename "$i")"'
  INSTALL include/linux/hsi (1 file)
scripts/headers_install.sh: command substitution: line 30: syntax error
near unexpected token `)'
scripts/headers_install.sh: command substitution: line 30: `basename "$i")"'
  INSTALL include/linux/isdn (1 file)
scripts/headers_install.sh: command substitution: line 30: syntax error
near unexpected token `)'
scripts/headers_install.sh: command substitution: line 30: `basename "$i")"'
  INSTALL include/linux/mmc (1 file)
scripts/headers_install.sh: command substitution: line 30: syntax error
near unexpected token `)'
scripts/headers_install.sh: command substitution: line 30: `basename "$i")"'
  INSTALL include/linux/netfilter/ipset (4 files)
scripts/headers_install.sh: command substitution: line 30: syntax error
near unexpected token `)'
scripts/headers_install.sh: command substitution: line 30: `basename "$i")"'
  INSTALL include/linux/netfilter (78 files)
scripts/headers_install.sh: command substitution: line 30: syntax error
near unexpected token `)'
scripts/headers_install.sh: command substitution: line 30: `basename "$i")"'
  INSTALL include/linux/netfilter_arp (2 files)
scripts/headers_install.sh: command substitution: line 30: syntax error
near unexpected token `)'
scripts/headers_install.sh: command substitution: line 30: `basename "$i")"'
  INSTALL include/linux/netfilter_bridge (18 files)
scripts/headers_install.sh: command substitution: line 30: syntax error
near unexpected token `)'
scripts/headers_install.sh: command substitution: line 30: `basename "$i")"'
  INSTALL include/linux/netfilter_ipv4 (10 files)
scripts/headers_install.sh: command substitution: line 30: syntax error
near unexpected token `)'
scripts/headers_install.sh: command substitution: line 30: `basename "$i")"'
  INSTALL include/linux/netfilter_ipv6 (12 files)
scripts/headers_install.sh: command substitution: line 30: syntax error
near unexpected token `)'
scripts/headers_install.sh: command substitution: line 30: `basename "$i")"'
  INSTALL include/linux/nfsd (5 files)
scripts/headers_install.sh: command substitution: line 30: syntax error
near unexpected token `)'
scripts/headers_install.sh: command substitution: line 30: `basename "$i")"'
  INSTALL include/linux/raid (2 files)
scripts/headers_install.sh: command substitution: line 30: syntax error
near unexpected token `)'
scripts/headers_install.sh: command substitution: line 30: `basename "$i")"'
  INSTALL include/linux/spi (1 file)
scripts/headers_install.sh: command substitution: line 30: syntax error
near unexpected token `)'
scripts/headers_install.sh: command substitution: line 30: `basename "$i")"'
  INSTALL include/linux/sunrpc (1 file)
scripts/headers_install.sh: command substitution: line 30: syntax error
near unexpected token `)'
scripts/headers_install.sh: command substitution: line 30: `basename "$i")"'
  INSTALL include/linux/tc_act (7 files)
scripts/headers_install.sh: command substitution: line 30: syntax error
near unexpected token `)'
scripts/headers_install.sh: command substitution: line 30: `basename "$i")"'
  INSTALL include/linux/tc_ematch (4 files)
scripts/headers_install.sh: command substitution: line 30: syntax error
near unexpected token `)'
scripts/headers_install.sh: command substitution: line 30: `basename "$i")"'
  INSTALL include/linux/usb (10 files)
scripts/headers_install.sh: command substitution: line 30: syntax error
near unexpected token `)'
scripts/headers_install.sh: command substitution: line 30: `basename "$i")"'
  INSTALL include/linux/wimax (1 file)
scripts/headers_install.sh: command substitution: line 30: syntax error
near unexpected token `)'
scripts/headers_install.sh: command substitution: line 30: `basename "$i")"'
  INSTALL include/linux (385 files)
scripts/headers_install.sh: command substitution: line 30: syntax error
near unexpected token `)'
scripts/headers_install.sh: command substitution: line 30: `basename "$i")"'
  INSTALL include/mtd (5 files)
scripts/headers_install.sh: command substitution: line 30: syntax error
near unexpected token `)'
scripts/headers_install.sh: command substitution: line 30: `basename "$i")"'
  INSTALL include/rdma (6 files)
scripts/headers_install.sh: command substitution: line 30: syntax error
near unexpected token `)'
scripts/headers_install.sh: command substitution: line 30: `basename "$i")"'
  INSTALL include/scsi/fc (4 files)
scripts/headers_install.sh: command substitution: line 30: syntax error
near unexpected token `)'
scripts/headers_install.sh: command substitution: line 30: `basename "$i")"'
  INSTALL include/scsi (3 files)
scripts/headers_install.sh: command substitution: line 30: syntax error
near unexpected token `)'
scripts/headers_install.sh: command substitution: line 30: `basename "$i")"'
  INSTALL include/sound (10 files)
scripts/headers_install.sh: command substitution: line 30: syntax error
near unexpected token `)'
scripts/headers_install.sh: command substitution: line 30: `basename "$i")"'
  INSTALL include/video (3 files)
scripts/headers_install.sh: command substitution: line 30: syntax error
near unexpected token `)'
scripts/headers_install.sh: command substitution: line 30: `basename "$i")"'
  INSTALL include/xen (2 files)
scripts/headers_install.sh: command substitution: line 30: syntax error
near unexpected token `)'
scripts/headers_install.sh: command substitution: line 30: `basename "$i")"'
  INSTALL include/uapi (0 file)
  INSTALL include/asm (64 files)
scripts/headers_install.sh: command substitution: line 30: syntax error
near unexpected token `)'
scripts/headers_install.sh: command substitution: line 30: `basename "$i")"'
make[2]: *** No rule to make target
`/sources/linux-3.10.10/usr/include/asm-generic/auxvec.h', needed by
`/sources/linux-3.10.10/usr/include/asm-generic/.check'.  Stop.
make[1]: *** [asm-generic] Error 2
make: *** [headers_check] Error 2

If I do next steps there are no header files in "/usr/include/*" subdirs.
Please help me understand how to solve this problem.

--
With respect,
Artem Orlov
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linuxfromscratch.org/pipermail/lfs-support/attachments/20130919/caaa371d/attachment.html>


More information about the lfs-support mailing list