Re: Building Linux 2.6.16-rc1-git4
On Sun, Jan 22, 2006 at 01:50:37AM +0200, Linas Zvirblis wrote:
> I cannot get 2.6.16-rc1[-git4] to build, so am seeking advice here.
>
> "make vmlinux" gives me this:
>
> /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-git4 .file
> null .ident GCC:(GNU)4.0.320060115(prerelease)(Debian4.0.2-7) .section
> .note.GNU-stack,,@progbits" | wc -c ` -gt 64 ]; then echo
> '"2.6.16-rc1-git4 .file null .ident
> GCC:(GNU)4.0.320060115(prerelease)(Debian4.0.2-7) .section
> .note.GNU-stack,,@progbits" exceeds 64 characters' >&2; exit 1; fi;
> (echo \#define UTS_RELEASE \"2.6.16-rc1-git4 .file null .ident
> GCC:(GNU)4.0.320060115(prerelease)(Debian4.0.2-7) .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/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
Seems other people have had similar problems. Apparently something
with /dev/null accidentally being removed and then replaced with a
regular file containing trash... See this thread:
http://marc.theaimsgroup.com/?l=linux-kernel&m=113765329515437&w=2
Almut
Reply to: