On 9/30/06, Jim Gifford <[EMAIL PROTECTED]> wrote:
We will get someone to put this information into the wiki, what type of
errors did you receive during the kernel build, that's what I'm very
curious about.

 CC      init/calibrate.o
 LD      init/built-in.o
 HOSTCC  usr/gen_init_cpio
/home/clfs/sources/linux-2.6.17.13/scripts/gen_initramfs_list.sh: 102:
Syntax error: Bad substitution
gmake[1]: *** [usr/initramfs_data.cpio.gz] Error 2
gmake: *** [usr] Error 2

$ cat -n scripts/gen_initramfs_list.sh |grep -3 -A 3 102
   99  # for links, devices etc the format differs. See gen_init_cpio
for details
  100  parse() {
  101          local location="$1"
  102          local name="${location/${srcdir}//}"
  103          # change '//' into '/'
  104          name="${name//\/\///}"
  105          local mode="$2"

BTW,

$ head -n 1 scripts/gen_initramfs_list.sh
#!/bin/bash

but

$ file /bin/bash
/bin/bash: cannot open `/bin/bash' (No such file or directory)

--
Alexander Nasonov
http://nasonov.blogspot.com
http://alnsn.livejournal.com
_______________________________________________
Clfs-dev mailing list
[email protected]
http://lists.cross-lfs.org/cgi-bin/mailman/listinfo/clfs-dev

Reply via email to