public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* 2.6.16-rc1-git1 -- Build error "make: *** [include/linux/version.h] Error 2"
@ 2006-01-19  6:47 Miles Lane
  2006-01-19  7:35 ` Sam Ravnborg
  2006-01-19 11:05 ` David Luyer
  0 siblings, 2 replies; 10+ messages in thread
From: Miles Lane @ 2006-01-19  6:47 UTC (permalink / raw)
  To: LKML

make all install modules modules_install
/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-rc1-git1 .file null .ident
GCC:(GNU)4.0.320060115(prerelease)(Ubuntu4.0.2-7ubuntu1) .section
.note.GNU-stack,,@progbits" | wc -c ` -gt 64 ]; then echo
'"2.6.16-rc1-git1 .file null .ident
GCC:(GNU)4.0.320060115(prerelease)(Ubuntu4.0.2-7ubuntu1) .section
.note.GNU-stack,,@progbits" exceeds 64 characters' >&2; exit 1; fi;
(echo \#define UTS_RELEASE \"2.6.16-rc1-git1 .file null .ident
GCC:(GNU)4.0.320060115(prerelease)(Ubuntu4.0.2-7ubuntu1) .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))'; ) < /usr/src/linux-2.6/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

^ permalink raw reply	[flat|nested] 10+ messages in thread
* 2.6.16-rc1-git1 -- Build error "make: *** [include/linux/version.h]  Error 2"
@ 2006-01-19  8:41 joel.soete
  0 siblings, 0 replies; 10+ messages in thread
From: joel.soete @ 2006-01-19  8:41 UTC (permalink / raw)
  To: linux-kernel

Miles,

I read you experiment the same pb, as it makes me lost my previous day ;-(.

As far as I can investigate, it came from a pb with 'make mrproper' which (i
don't know yet when/how) rm a char dev namely /dev/null which is then replaced
by a ordinary file?

Anyway you have to 'rm /dev/null' and recreate the char dev:
e.g. with a debian install
# cd /dev
# ./MAKEDEV null 

Joel

---------------------------------------------------------------
A free anti-spam and anti-virus filter on all Scarlet mailboxes
More info on http://www.scarlet.be/


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

end of thread, other threads:[~2006-01-20  6:47 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-01-19  6:47 2.6.16-rc1-git1 -- Build error "make: *** [include/linux/version.h] Error 2" Miles Lane
2006-01-19  7:35 ` Sam Ravnborg
2006-01-19  9:15   ` Miles Lane
2006-01-19  9:23     ` Sam Ravnborg
2006-01-20  6:43       ` Nigel Cunningham
2006-01-19 11:05 ` David Luyer
2006-01-19 19:59   ` Miles Lane
2006-01-19 20:05     ` Miles Lane
2006-01-19 20:07     ` Sam Ravnborg
  -- strict thread matches above, loose matches on Subject: below --
2006-01-19  8:41 joel.soete

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