WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

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

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-users] problem when building xen from source by gcc4
From: Wei Lu <welu@xxxxxxxxxxxxxx>
Date: Thu, 14 Jul 2005 12:18:20 -0500 (EST)
Delivery-date: Thu, 14 Jul 2005 17:17:03 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
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

<Prev in Thread] Current Thread [Next in Thread>