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

2013-09-24 Thread Артём Орлов
 You should be chrooted into your new LFS build before installing the
 headers at step 6.7.1. As such your version of bash should look similar
 to this:
 bash -version
 GNU bash, version 4.2.45(2)-release (x86_64-unknown-linux-gnu)


My bash version is:
root:/sources# bash -version
GNU bash, version 4.2.45(2)-release (i686-pc-linux-gnu)


 If command substitution is broken in your temp tools bash while in
 chroot, then your host wasn't setup properly. You should have bash as
 your default shell and bison yacc, not some other yacc. The host
 system requirements page helps set the stage for that.


My linux distribution is Debian 7.1 and 'Berkley LA LR Yacc parser
generator' is installed by default. I should change it to 'YACC-compatible
parser generator' and rebuild bash in tools.

Thank you, gentlemen.

--
With respect,
Artem Orlov
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


[lfs-support] (no subject)

2013-09-19 Thread Артём Орлов
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
  WRAParch/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 

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

2013-09-19 Thread Артём Орлов
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
  WRAParch/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