Messages in this thread | | | Date | Thu, 19 Jan 2006 10:23:20 +0100 | From | Sam Ravnborg <> | Subject | Re: 2.6.16-rc1-git1 -- Build error "make: *** [include/linux/version.h] Error 2" |
| |
On Thu, Jan 19, 2006 at 01:15:49AM -0800, Miles Lane wrote: > I do have .kernelrelease that contains: > "2.6.16-rc1-mm1 .file null .ident > GCC:(GNU)4.0.320060115(prerelease)(Ubuntu4.0.2-7ubuntu1) .section > .note.GNU-stack,,@progbits" > I tried deleting it, but it gets recreated. > > I'm pretty frustrated. I have built hundreds of kernels and have not > hit this problem before. > > Any help is most appreciated! This can also be a side-effect of /dev/null being damaged. In scripts/kconfig/lxdialog/check-lxdialog.sh we do: echo main() {} | gcc -nncursesw -cx - -o /dev/null
I could imagine that your /dev/null has become a regular file and is now filled with garbage. And then the trick: cat /dev/null $(wildcard .kernelrelease) causes KERNELRELEASE to be full of crap.
Care to check that?
I have not a patch ready to fix the /dev/null issue - later today.
Sam - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |