lkml.org 
[lkml]   [2006]   [Jan]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: 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/

    \
     
     \ /
      Last update: 2006-01-19 10:25    [W:3.015 / U:0.524 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site