[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-users] problem when building xen from source by gcc4



Hi every body
        I am running fedora 3, and try to build the xen from the source
tree. When I use the gcc 4 , compilier complians for

/usr/src/xen-2.0.hg/xen/include/asm/processor.h:175: error: array type has
incomplete element type

this is wellknown problem of the compability of gcc 4; then I swithc to
gcc 3.3.6 or lower version to make the xen, this time the compiler
complian for

gcc -pthread -fno-strict-aliasing -DNDEBUG -O2 -g -pipe
-D_FORTIFY_SOURCE=2 -m32 -march=i386 -mtune=pentium4 -D_GNU_SOURCE -fPIC
-m32 -march=i686 -fPIC -I../../tools/python/xen/lowlevel/xu
-I../../tools/libxc -I../../tools/libxutil -Ixen/lowlevel/xc
-I/usr/include/python2.4 -c xen/lowlevel/xc/xc.c -o
build/temp.linux-i686-2.4/xen/lowlevel/xc/xc.o -fno-strict-aliasing -Wall
-Werror
cc1: error: invalid option `tune=pentium4'

Any hint for that?

Thanks a lot

wei

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.