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-devel

[Xen-devel] centos 4.2 xen 3 compile error

To: Xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-devel] centos 4.2 xen 3 compile error
From: Andrew Leach <imamushroom@xxxxxxxxx>
Date: Tue, 31 Jan 2006 20:31:42 +0000
Delivery-date: Tue, 31 Jan 2006 20:41:34 +0000
Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type; b=Tf8monYorKEYesMAwUuCkx8ZGO8PpHgE/dGHpsQs53FX1gvthKjFGfulpbhj66hEBxd1Ol/fjcCNqzF3YNV+chLQqCCiNTverXXE9DNqdqr1nd7r4NtUwgJ+9ffOO/H5nU6608CZqC208EaB6n20D2zbXeD7GByU5Ctnt5hXQlE=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Hi,

Could someone tell me what I'm doing wrong please.

Trying to compile the tools and I'm getting this...

xen/lowlevel/xc/xc.c:1172: warning: implicit declaration of function `Py_InitModule'
xen/lowlevel/xc/xc.c:1175: warning: `return' with no value, in function returning non-void
xen/lowlevel/xc/xc.c:1177: warning: implicit declaration of function `PyErr_NewException'
xen/lowlevel/xc/xc.c:1177: warning: assignment makes pointer from integer without a cast
xen/lowlevel/xc/xc.c:1178: warning: assignment makes pointer from integer without a cast
xen/lowlevel/xc/xc.c:1185: warning: implicit declaration of function `PyModule_AddObject'
xen/lowlevel/xc/xc.c:1185: error: syntax error before ')' token
xen/lowlevel/xc/xc.c: In function `pyxc_domain_getinfo':
xen/lowlevel/xc/xc.c:228: warning: statement with no effect
xen/lowlevel/xc/xc.c: In function `pyxc_vcpu_getinfo':
xen/lowlevel/xc/xc.c:287: warning: statement with no effect
xen/lowlevel/xc/xc.c: At top level:
xen/lowlevel/xc/xc.c:1102: warning: 'PyXc_init' defined but not used
xen/lowlevel/xc/xc.c:1112: warning: 'PyXc_dealloc' defined but not used
error: command 'gcc' failed with exit status 1
make[3]: *** [build] Error 1
make[3]: Leaving directory `/usr/src/xen-3.0.0/tools/python'
make[2]: *** [install] Error 2
make[2]: Leaving directory `/usr/src/xen-3.0.0/tools'
make[1]: *** [install-tools] Error 2
make[1]: Leaving directory `/usr/src/xen- 3.0.0'
make: *** [world] Error 2
[root@localhost xen-3.0.0]#

My CFLAGS are " -march=nocona -mfpmath=sse2 -O3 -formit-frame-pointer -fstack-protector -pipe -m64 " using gcc version Red Hat 3.4.4-2.

The source code I'm using is this...Xen/latest/xen-3.0.0-src.tgz

Please help.

Thanks
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
<Prev in Thread] Current Thread [Next in Thread>