Re: Linux 2.6.25-rc1 , syntax error near unexpected token `;'

2008-02-11 Thread Mr. James W. Laferriere

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 | SystemTechniques | Give me VMS |
| Network&System Engineer | 2133McCullam Ave |  Give me Linux  |
| [EMAIL PROTECTED] | Fairbanks, AK. 99701 |   only  on  AXP |
+--+
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: Linux 2.6.25-rc1 , syntax error near unexpected token `;'

2008-02-11 Thread Sam Ravnborg
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); \
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


[patch] Re: Linux 2.6.25-rc1 , syntax error near unexpected token `;'

2008-02-11 Thread Oleg Verych
>> set -e; ; mkdir -p include/linux/;  (echo \#define LINUX_VERSION_CODE

http://mid.gmane.org/[EMAIL PROTECTED]
_
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: Linux 2.6.25-rc1 , syntax error near unexpected token `;'

2008-02-10 Thread Ray Lee
On Feb 10, 2008 5:47 PM, Mr. James W. Laferriere
<[EMAIL PROTECTED]> 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
>
>
> # scripts/ver_linux
> If some fields are empty or look unusual you may have an old version.
> Compare to the current minimal requirements in Documentation/Changes.
>
> Linux filesrv2 2.6.23-rc9 #1 SMP Wed Oct 3 02:12:33 UTC 2007 i686 pentium4 
> i386 GNU/Linux
>
> Gnu C  3.4.6
> Gnu make   3.81
> binutils   2.15.92.0.2
> util-linux 2.12r
> mount  2.12r
> module-init-tools  3.2.2
> e2fsprogs  1.38
> jfsutils   1.1.11
> reiserfsprogs  3.6.19
> xfsprogs   2.8.10
> pcmciautils014
> pcmcia-cs  3.2.8
> quota-tools3.13.
> PPP2.4.4
> Linux C Library2.3.6
> Dynamic linker (ldd)   2.3.6
> Linux C++ Library  6.0.3
> Procps 3.2.7
> Net-tools  1.60
> Kbd1.12
> oprofile   0.9.1
> Sh-utils   5.97
> udev   097
> Modules Loaded
>
> --

Please send your .config as well so someone can try to reproduce this.
And have you done a make mrproper first before trying to compile?
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: Linux 2.6.25-rc1 , syntax error near unexpected token `;'

2008-02-10 Thread Mr. James W. Laferriere

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


# scripts/ver_linux
If some fields are empty or look unusual you may have an old version.
Compare to the current minimal requirements in Documentation/Changes.

Linux filesrv2 2.6.23-rc9 #1 SMP Wed Oct 3 02:12:33 UTC 2007 i686 pentium4 i386 
GNU/Linux

Gnu C  3.4.6
Gnu make   3.81
binutils   2.15.92.0.2
util-linux 2.12r
mount  2.12r
module-init-tools  3.2.2
e2fsprogs  1.38
jfsutils   1.1.11
reiserfsprogs  3.6.19
xfsprogs   2.8.10
pcmciautils014
pcmcia-cs  3.2.8
quota-tools3.13.
PPP2.4.4
Linux C Library2.3.6
Dynamic linker (ldd)   2.3.6
Linux C++ Library  6.0.3
Procps 3.2.7
Net-tools  1.60
Kbd1.12
oprofile   0.9.1
Sh-utils   5.97
udev   097
Modules Loaded

--
+--+
| James   W.   Laferriere | SystemTechniques | Give me VMS |
| Network&System Engineer | 2133McCullam Ave |  Give me Linux  |
| [EMAIL PROTECTED] | Fairbanks, AK. 99701 |   only  on  AXP |
+--+
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/