From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andrew Leach Subject: centos 4.2 xen 3 compile error Date: Tue, 31 Jan 2006 20:31:42 +0000 Message-ID: <91ceaec60601311231s35f8a699q@mail.gmail.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0177532286==" Return-path: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Mime-version: 1.0 Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org --===============0177532286== Content-Type: multipart/alternative; boundary="----=_Part_15470_6850920.1138739502675" ------=_Part_15470_6850920.1138739502675 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline 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=3Dnocona -mfpmath=3Dsse2 -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 ------=_Part_15470_6850920.1138739502675 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline 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:1= 172: warning: implicit declaration of function `Py_InitModule'
xen/lowle= vel/xc/xc.c:1175: warning: `return' with no value, in function returning no= n-void
xen/lowlevel/xc/xc.c:1177: warning: implicit declaration of function `P= yErr_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 `P= yModule_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: war= ning: 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
err= or: 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/t= ools'
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]#

M= y CFLAGS are " -march=3Dnocona -mfpmath=3Dsse2 -O3 -formit-frame-point= er -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
------=_Part_15470_6850920.1138739502675-- --===============0177532286== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel --===============0177532286==--