Hi,
I have a problem when compiling -unstable (latest changeset, as of
today: 8758:57e6d7218427). "make world" returns the error like below:
^^^
CONFIG_MODULES=y
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
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
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-xen0
.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=c,c++,java,f95,objc,ada,treelang --prefix=/usr
--with-gxx-include-dir=/usr/include/c++/4.0.2 --enable-shared
--with-system-zlib --libexecdir=/usr/lib --enable-nls
--without-included-gettext --enable-threads=posix
--program-suffix=-4.0 --enable-__cxa_atexit
--enable-libstdcxx-allocator=mt --enable-clocale=gnu
--enable-libstdcxx-debug --enable-java-gc=boehm --enable-java-awt=gtk
--enable-gtk-cairo
--with-java-home=/usr/lib/jvm/java-1.4.2-gcj-4.0-1.4.2.0/jre
--enable-mpfr --disable-werror --enable-checking=release
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
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|