From: NAHieu Subject: problem on "make world" with -unstable Date: Sun, 5 Feb 2006 17:42:49 +0900 Message-ID: <5d7aca950602050042n48e4806bj61e159e9a0efef7@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Return-path: Content-Disposition: inline List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Xen-devel List-Id: xen-devel@lists.xenproject.org Hi, I have a problem when compiling -unstable (latest changeset, as of today: 8758:57e6d7218427). "make world" returns the error like below: ^^^ CONFIG_MODULES=3Dy make[3]: Entering directory `/home/hieu/projects/xen/0205.unstable/linux-2.6.16-rc2-xen0' /bin/sh: -c: line 0: syntax error near unexpected token `(' /bin/sh: -c: line 0: `set -e; echo ' CHK =20 include/linux/version.h'; mkdir -p include/linux/; if [ `echo -n "2.6.16-rc2-xen0 .file null .ident GCC:(GNU)4.0.220050808(prerelease)(Ubuntu4.0.1-4ubuntu9) .section .note.GNU-stack,,@progbits" | wc -c ` -gt 64 ]; then echo '"2.6.16-rc2-xen0 .file null .ident GCC:(GNU)4.0.220050808(prerelease)(Ubuntu4.0.1-4ubuntu9) .section .note.GNU-stack,,@progbits" exceeds 64 characters' >&2; exit 1; fi; (echo \#define UTS_RELEASE \"2.6.16-rc2-xen0 .file null .ident GCC:(GNU)4.0.220050808(prerelease)(Ubuntu4.0.1-4ubuntu9) .section .note.GNU-stack,,@progbits\"; echo \#define LINUX_VERSION_CODE `expr 2 \\* 65536 + 6 \\* 256 + 16`; echo '#define KERNEL_VERSION(a,b,c) (((a) << 16) + ((b) << 8) + (c))'; ) < /home/hieu/projects/xen/0205.unstable/linux-2.6.16-rc2-xen0/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 echo ' UPD =20 include/linux/version.h'; mv -f include/linux/version.h.tmp include/linux/version.h; fi' make[3]: *** [include/linux/version.h] Error 2 make[3]: Leaving directory `/home/hieu/projects/xen/0205.unstable/linux-2.6.16-rc2-xen0' make[3]: Entering directory `/home/hieu/projects/xen/0205.unstable/linux-2.6.16-rc2-xen0' /bin/sh: -c: line 0: syntax error near unexpected token `(' /bin/sh: -c: line 0: `rm -rf /home/hieu/projects/xen/0205.unstable/dist/install/lib/modules/2.6.16-rc2-x= en0 .file null .ident GCC:(GNU)4.0.220050808(prerelease)(Ubuntu4.0.1-4ubuntu9) .section .note.GNU-stack,,@progbits/kernel' make[3]: *** [_modinst_] Error 2 make[3]: Leaving directory `/home/hieu/projects/xen/0205.unstable/linux-2.6.16-rc2-xen0' make[2]: *** [build] Error 2 make[2]: Leaving directory `/home/hieu/projects/xen/0205.unstable' make[1]: *** [linux-2.6-xen0-install] Error 2 make[1]: Leaving directory `/home/hieu/projects/xen/0205.unstable' make: *** [install-kernels] Error 1 ^^^ I am running Ubuntu Breeze Badger, with gcc 4.0.2 $ gcc -v Using built-in specs. Target: i486-linux-gnu Configured with: ../src/configure -v --enable-languages=3Dc,c++,java,f95,objc,ada,treelang --prefix=3D/usr --with-gxx-include-dir=3D/usr/include/c++/4.0.2 --enable-shared --with-system-zlib --libexecdir=3D/usr/lib --enable-nls --without-included-gettext --enable-threads=3Dposix --program-suffix=3D-4.0 --enable-__cxa_atexit --enable-libstdcxx-allocator=3Dmt --enable-clocale=3Dgnu --enable-libstdcxx-debug --enable-java-gc=3Dboehm --enable-java-awt=3Dgtk --enable-gtk-cairo --with-java-home=3D/usr/lib/jvm/java-1.4.2-gcj-4.0-1.4.2.0/jre --enable-mpfr --disable-werror --enable-checking=3Drelease i486-linux-gnu Thread model: posix gcc version 4.0.2 20050808 (prerelease) (Ubuntu 4.0.1-4ubuntu9) It seems that the problem is because my "gcc version" is too long, and in weird format? Many thanks. Hieu