public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* compile failure on 2.6.19
@ 2006-12-31 17:25 Robin Cook
  2006-12-31 18:27 ` David Brown
  0 siblings, 1 reply; 4+ messages in thread
From: Robin Cook @ 2006-12-31 17:25 UTC (permalink / raw)
  To: Linux-kernel

[-- Attachment #1: Type: text/plain, Size: 1210 bytes --]

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/conf
scripts/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 '  CHK
include/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


[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 827 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: compile failure on 2.6.19
  2006-12-31 17:25 compile failure on 2.6.19 Robin Cook
@ 2006-12-31 18:27 ` David Brown
  2006-12-31 20:02   ` Ken Moffat
  2006-12-31 20:41   ` Robin Cook
  0 siblings, 2 replies; 4+ messages in thread
From: David Brown @ 2006-12-31 18:27 UTC (permalink / raw)
  To: Robin Cook; +Cc: Linux-kernel

On 12/31/06, Robin Cook <rcook@wyrms.net> wrote:
> 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/conf
> scripts/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 '  CHK
> include/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

I'd check /dev/null and make sure it's not a regular file this
happened to me a while back

- David Brown

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: compile failure on 2.6.19
  2006-12-31 18:27 ` David Brown
@ 2006-12-31 20:02   ` Ken Moffat
  2006-12-31 20:41   ` Robin Cook
  1 sibling, 0 replies; 4+ messages in thread
From: Ken Moffat @ 2006-12-31 20:02 UTC (permalink / raw)
  To: David Brown; +Cc: Robin Cook, Linux-kernel

On Sun, Dec 31, 2006 at 10:27:26AM -0800, David Brown wrote:
> On 12/31/06, Robin Cook <rcook@wyrms.net> wrote:
> >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/conf
> >scripts/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 '  CHK
> >include/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
> 
> I'd check /dev/null and 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
-- 
das eine Mal als Tragödie, das andere Mal als Farce

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: compile failure on 2.6.19
  2006-12-31 18:27 ` David Brown
  2006-12-31 20:02   ` Ken Moffat
@ 2006-12-31 20:41   ` Robin Cook
  1 sibling, 0 replies; 4+ messages in thread
From: Robin Cook @ 2006-12-31 20:41 UTC (permalink / raw)
  To: Linux-kernel

[-- Attachment #1: Type: text/plain, Size: 1575 bytes --]

That fixed the problem.

Thanks

On Sun, 2006-12-31 at 10:27 -0800, David Brown wrote:
> On 12/31/06, Robin Cook <rcook@wyrms.net> wrote:
> > 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/conf
> > scripts/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 '  CHK
> > include/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
> 
> I'd check /dev/null and make sure it's not a regular file this
> happened to me a while back
> 
> - David Brown
> 

[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 827 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2006-12-31 20:41 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-12-31 17:25 compile failure on 2.6.19 Robin Cook
2006-12-31 18:27 ` David Brown
2006-12-31 20:02   ` Ken Moffat
2006-12-31 20:41   ` Robin Cook

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox