All of lore.kernel.org
 help / color / mirror / Atom feed
* centos 4.2 xen 3 compile error
@ 2006-01-31 20:31 Andrew Leach
  2006-01-31 21:06 ` Anthony Liguori
  0 siblings, 1 reply; 2+ messages in thread
From: Andrew Leach @ 2006-01-31 20:31 UTC (permalink / raw)
  To: Xen-devel


[-- Attachment #1.1: Type: text/plain, Size: 1747 bytes --]

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

[-- Attachment #1.2: Type: text/html, Size: 1841 bytes --]

[-- Attachment #2: Type: text/plain, Size: 138 bytes --]

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: centos 4.2 xen 3 compile error
  2006-01-31 20:31 centos 4.2 xen 3 compile error Andrew Leach
@ 2006-01-31 21:06 ` Anthony Liguori
  0 siblings, 0 replies; 2+ messages in thread
From: Anthony Liguori @ 2006-01-31 21:06 UTC (permalink / raw)
  To: Andrew Leach; +Cc: Xen-devel

It appears that you haven't installed the python devel package.

Regards,

Anthony Liguori

Andrew Leach wrote:

> 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@lists.xensource.com
>http://lists.xensource.com/xen-devel
>  
>

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2006-01-31 21:06 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-01-31 20:31 centos 4.2 xen 3 compile error Andrew Leach
2006-01-31 21:06 ` Anthony Liguori

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.