From: Miles Lane <miles.lane@gmail.com>
To: LKML <linux-kernel@vger.kernel.org>
Subject: Re: 2.6.16-rc1-git1 -- Build error "make: *** [include/linux/version.h] Error 2"
Date: Thu, 19 Jan 2006 11:59:26 -0800 [thread overview]
Message-ID: <a44ae5cd0601191159y4801d6b6ld45785b7e7e356b8@mail.gmail.com> (raw)
In-Reply-To: <200601191105.k0JB5sKN012313@typhaon.pacific.net.au>
On 1/19/06, David Luyer <david@luyer.net> wrote:
> On Wed, Jan 18, 2006 at 10:47:13PM -0800, Miles Lane wrote:
> > 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
> [...]
>
> Happens for me also (on latest snapshot).
>
> /dev/null is removed by this line in check-lxdialog.sh during a
> 'make menuconfig':
>
> echo "main() {}" | $cc -lncursesw -xc - -o /dev/null 2> /dev/null
>
> This only happens if you don't have a libncursesw installed (not sure
> if it is compiler dependant as well).
>
> /dev/null being removed has many side-effects, this is just one of them.
>
> Obviously 'cd /dev; ./MAKEDEV null' will fix. Oh, and fixing the script
> would be useful too ;-)
I checked and /dev/null exists. I also have libncursesw5 installed.
Oddly, I rebooted and when I ran make, the build proceeded. I quit
and ran "make menuconfig" again. As you suggested, this did break
my build process as before. I had to reboot in order to complete the
build process. Any other possibilities?
Thanks!
Miles
next prev parent reply other threads:[~2006-01-19 19:59 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-01-19 6:47 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 [this message]
2006-01-19 20:05 ` Miles Lane
2006-01-19 20:07 ` Sam Ravnborg
2006-01-19 8:41 joel.soete
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=a44ae5cd0601191159y4801d6b6ld45785b7e7e356b8@mail.gmail.com \
--to=miles.lane@gmail.com \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®