Dear Support members,
I getting the following error when I try to rebuild my kernel. The first kernel 
I built hung when I tried to boot, so I entered my lfs partition and tried to 
build my kernel again. I downloaded the source package again and even changed 
the version from linux-2.6.16.38 to linux-2.6.16.27, but I still get the 
following error---

root:/sources/linux-2.6.16.27# make
/bin/sh: -c: line 0: syntax error near unexpected token `('
/bin/sh: -c: line 0: `set -e; echo '  CHK     include/linux/version.h'; mkdir 
-p include/linux/;      if [ `echo -n "2.6.16.27 .file null .ident 
GCC:(GNU)4.0.3 .section .note.GNU-stack,,@progbits" | wc -c ` -gt 64 ]; then 
echo '"2.6.16.27 .file null .ident GCC:(GNU)4.0.3 .section 
.note.GNU-stack,,@progbits" exceeds 64 characters' >&2; exit 1; fi; (echo 
\#define UTS_RELEASE \"2.6.16.27 .file null .ident GCC:(GNU)4.0.3 .section 
.note.GNU-stack,,@progbits\"; echo \#define LINUX_VERSION_CODE `expr 2 \\* 
65536 + 6 \\* 256 + 16`; echo '#define KERNEL_VERSION(a,b,c) (((a) << 16) + 
((b) << 8) + (c))'; ) < /sources/linux-2.6.16.27/Makefile > 
include/linux/version.h.tmp; if [ -r include/linux/version.h ] && cmp -s 
include/linux/version.h include/linux/version.h.tmp; then rm -f 
include/linux/version.h.tmp; else echo '  UPD     include/linux/version.h'; mv 
-f include/linux/version.h.tmp include/linux/version.h; fi'
make: *** [include/linux/version.h] Error 2

any help would be appreciated.

Thank-you

David


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

Reply via email to