Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757970AbYBLDhi (ORCPT ); Mon, 11 Feb 2008 22:37:38 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1753914AbYBLDha (ORCPT ); Mon, 11 Feb 2008 22:37:30 -0500 Received: from ns3.system-techniques.com ([204.91.156.41]:37235 "EHLO ns3.baby-dragons.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751615AbYBLDha (ORCPT ); Mon, 11 Feb 2008 22:37:30 -0500 Date: Mon, 11 Feb 2008 18:37:24 -0900 (AKST) From: "Mr. James W. Laferriere" To: Sam Ravnborg cc: Linux Kernel Mailing List Subject: Re: Linux 2.6.25-rc1 , syntax error near unexpected token `;' In-Reply-To: <20080211132603.GA20959@uranus.ravnborg.org> Message-ID: References: <20080211132603.GA20959@uranus.ravnborg.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 3143 Lines: 74 Hello Sam , On Mon, 11 Feb 2008, Sam Ravnborg wrote: > On Sun, Feb 10, 2008 at 04:47:43PM -0900, Mr. James W. Laferriere wrote: >> Hello All , grabbed using git just moments ago . >> >> make V=1 KBUILD_VERBOSE=1 INSTALL_PATH=/boot clean all install >> modules_install >> >> ...snip... >> make -f scripts/Makefile.clean obj=sound/usb/usx2y >> make -f scripts/Makefile.clean obj=usr >> rm -rf .tmp_versions >> rm -f arch/x86/boot/fdimage arch/x86/boot/image.iso >> arch/x86/boot/mtools.conf vmlinux System.map .tmp_kallsyms* .tmp_version >> .tmp_vmlinux* .tmp_System.map >> rm -f include/config/kernel.release >> echo 2.6.25-rc1 > include/config/kernel.release >> set -e; ; mkdir -p include/linux/; (echo \#define LINUX_VERSION_CODE >> 132633; echo '#define KERNEL_VERSION(a,b,c) (((a) << 16) + ((b) << 8) + >> (c))';) < /usr/src/linux-2.6.25-rc1-git/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 ; mv -f include/linux/version.h.tmp >> include/linux/version.h; fi >> /bin/sh: -c: line 0: syntax error near unexpected token `;' >> /bin/sh: -c: line 0: `set -e; ; mkdir -p include/linux/; (echo >> \#define LINUX_VERSION_CODE 132633; echo '#define KERNEL_VERSION(a,b,c) >> (((a) << 16) + ((b) << 8) + (c))';) < >> /usr/src/linux-2.6.25-rc1-git/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 ; >> mv -f include/linux/version.h.tmp include/linux/version.h; fi' >> make: *** [include/linux/version.h] Error 2 > > Please use following fix. > > Sam > > diff --git a/scripts/Kbuild.include b/scripts/Kbuild.include > index da3559e..d64e6ba 100644 > --- a/scripts/Kbuild.include > +++ b/scripts/Kbuild.include > @@ -39,10 +39,13 @@ escsq = $(subst $(squote),'\$(squote)',$1) > # - If they are equal no change, and no timestamp update > # - stdin is piped in from the first prerequisite ($<) so one has > # to specify a valid file as first prerequisite (often the kbuild file) > + chk_filechk = : > quiet_chk_filechk = echo ' CHK $@' > silent_chk_filechk = : > + upd_filechk = : > quiet_upd_filechk = echo ' UPD $@' > silent_upd_filechk = : > + > define filechk > $(Q)set -e; \ > $($(quiet)chk_filechk); \ > Thank You . that got me past that error . 2.6.25-rc1 is compiling as I write this . Tnx Agn , JimL -- +------------------------------------------------------------------+ | James W. Laferriere | System Techniques | Give me VMS | | Network&System Engineer | 2133 McCullam Ave | Give me Linux | | babydr@baby-dragons.com | Fairbanks, AK. 99701 | only on AXP | +------------------------------------------------------------------+ -- 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/