compile failure on 2.6.19
I am getting this error when I try to compile 2.6.19 and 2.6.19.1.
I ran make mrproper and make menuconfig then ran make and got the below error.
HOSTLD scripts/kconfig/confscripts/kconfig/conf -s arch/i386/Kconfig
CHK include/linux/version.h
UPD include/linux/version.h/bin/sh: -c: line 0: syntax error near unexpected token (' /bin/sh: -c: line 0: set -e; echo ' CHKinclude/linux/utsrelease.h'; mkdir -p include/linux/; if [ `echo -n
"2.6.19.1 .file null .ident
GCC:(GNU)4.1.1 .section .note.GNU-stack,,@progbits" | wc -c ` -gt 64 ]; then echo '"2.6.19.1 .file null .ident
GCC:(GNU)4.1.1 .section .note.GNU-stack,,@progbits" exceeds 64 characters' >&2; exit 1; fi; (echo \#define UTS_RELEASE \"2.6.19.1 .file null .ident GCC:(GNU)4.1.1 .section .note.GNU-stack,,@progbits\";) < include/config/kernel.release > include/linux/utsrelease.h.tmp; if [ -r include/linux/utsrelease.h ] && cmp -s include/linux/utsrelease.h include/linux/utsrelease.h.tmp; then rm -f include/linux/utsrelease.h.tmp; else echo ' UPD include/linux/utsrelease.h'; mv -f include/linux/utsrelease.h.tmp include/linux/utsrelease.h; fi'
make: *** [include/linux/utsrelease.h] Error 2
Quoted 17 lines · Robin Cook
I am getting this error when I try to compile 2.6.19 and 2.6.19.1.
I ran make mrproper and make menuconfig then ran make and got the below error.
HOSTLD
scripts/kconfig/confscripts/kconfig/conf-sarch/i386/Kconfig
CHKinclude/linux/version.h
UPDinclude/linux/version.h/bin/sh: -c: line 0: syntax error near unexpected token(' /bin/sh: -c: line 0:set -e; echo ' CHKinclude/linux/utsrelease.h'; mkdir -pinclude/linux/; if [ `echo -n
"2.6.19.1 .file null .ident
GCC:(GNU)4.1.1 .section .note.GNU-stack,,@progbits" | wc -c ` -gt 64 ]; then echo '"2.6.19.1 .file null .ident
GCC:(GNU)4.1.1 .section .note.GNU-stack,,@progbits" exceeds 64 characters' >&2; exit 1; fi; (echo \#defineUTS_RELEASE\"2.6.19.1 .file
Quoted 8 lines
null .ident GCC:(GNU)4.1.1 .section .note.GNU-stack,,@progbits\";) <
include/config/kernel.release>include/linux/utsrelease.h.tmp; if [ -rinclude/linux/utsrelease.h] && cmp -sinclude/linux/utsrelease.hinclude/linux/utsrelease.h.tmp; then rm -finclude/linux/utsrelease.h.tmp; else echo ' UPDinclude/linux/utsrelease.h'; mv -finclude/linux/utsrelease.h.tmpinclude/linux/utsrelease.h; fi'
make: *** [include/linux/utsrelease.h] Error 2
I'd check /dev/null and make sure it's not a regular file this happened to me a while back
- David Brown
Quoted 27 lines · David Brown
Quoted 17 lines · Robin Cook
I am getting this error when I try to compile 2.6.19 and 2.6.19.1.
I ran make mrproper and make menuconfig then ran make and got the below error.
HOSTLD
scripts/kconfig/confscripts/kconfig/conf-sarch/i386/Kconfig
CHKinclude/linux/version.h
UPDinclude/linux/version.h/bin/sh: -c: line 0: syntax error near unexpected token(' /bin/sh: -c: line 0:set -e; echo ' CHKinclude/linux/utsrelease.h'; mkdir -pinclude/linux/; if [ `echo -n
"2.6.19.1 .file null .ident
GCC:(GNU)4.1.1 .section .note.GNU-stack,,@progbits" | wc -c ` -gt 64 ]; then echo '"2.6.19.1 .file null .ident
GCC:(GNU)4.1.1 .section .note.GNU-stack,,@progbits" exceeds 64 characters' >&2; exit 1; fi; (echo \#defineUTS_RELEASE\"2.6.19.1 .fileQuoted 8 lines
null .ident GCC:(GNU)4.1.1 .section .note.GNU-stack,,@progbits\";) <
include/config/kernel.release>include/linux/utsrelease.h.tmp; if [ -rinclude/linux/utsrelease.h] && cmp -sinclude/linux/utsrelease.hinclude/linux/utsrelease.h.tmp; then rm -finclude/linux/utsrelease.h.tmp; else echo ' UPDinclude/linux/utsrelease.h'; mv -finclude/linux/utsrelease.h.tmpinclude/linux/utsrelease.h; fi'
make: *** [include/linux/utsrelease.h] Error 2
Quoted 4 lines
I'd check
/dev/nulland make sure it's not a regular file this happened to me a while back- David Brown
If that doesn't fix it, I suspect it's a shell problem (e.g.
bash-3.{1,2} without all the patches). I've seen a number of issues with bash in the past few months, sometimes it highlighted code that needed to be fixed, other times it tripped over parentheses.
Ken
Signature · 1 line
das eine Mal als Tragödie, das andere Mal als Farce
That fixed the problem.
Thanks
Quoted 32 lines · David Brown
Quoted 17 lines · Robin Cook
I am getting this error when I try to compile 2.6.19 and 2.6.19.1.
I ran make mrproper and make menuconfig then ran make and got the below error.
HOSTLD
scripts/kconfig/confscripts/kconfig/conf-sarch/i386/Kconfig
CHKinclude/linux/version.h
UPDinclude/linux/version.h/bin/sh: -c: line 0: syntax error near unexpected token(' /bin/sh: -c: line 0:set -e; echo ' CHKinclude/linux/utsrelease.h'; mkdir -pinclude/linux/; if [ `echo -n
"2.6.19.1 .file null .ident
GCC:(GNU)4.1.1 .section .note.GNU-stack,,@progbits" | wc -c ` -gt 64 ]; then echo '"2.6.19.1 .file null .ident
GCC:(GNU)4.1.1 .section .note.GNU-stack,,@progbits" exceeds 64 characters' >&2; exit 1; fi; (echo \#defineUTS_RELEASE\"2.6.19.1 .fileQuoted 8 lines
null .ident GCC:(GNU)4.1.1 .section .note.GNU-stack,,@progbits\";) <
include/config/kernel.release>include/linux/utsrelease.h.tmp; if [ -rinclude/linux/utsrelease.h] && cmp -sinclude/linux/utsrelease.hinclude/linux/utsrelease.h.tmp; then rm -finclude/linux/utsrelease.h.tmp; else echo ' UPDinclude/linux/utsrelease.h'; mv -finclude/linux/utsrelease.h.tmpinclude/linux/utsrelease.h; fi'
make: *** [include/linux/utsrelease.h] Error 2I'd check
/dev/nulland make sure it's not a regular file this happened to me a while back- David Brown