On Monday 16 February 2004 10:55, Keir Fraser wrote:
> They compile okay for me with 2.95.3. It shouldn't matter which
> compiler you use though.
Hmmm... what about this then:
gcc -pthread -fno-strict-aliasing -DNDEBUG -D_FILE_OFFSET_BITS=64
-DHAVE_LARGEFILE_SUPPORT -O2 -march=i586 -mcpu=i686 -fmessage-length=0 -fPIC
-Wall -fPIC -I../lib -I/usr/include/python2.3 -c Xc.c -o
build/temp.linux-i686-2.3/Xc.o
In file included from /usr/include/asm/sigcontext.h:4,
from /usr/include/bits/sigcontext.h:28,
from /usr/include/signal.h:326,
from /usr/include/python2.3/pyfpe.h:129,
from /usr/include/python2.3/Python.h:135,
from Xc.c:7:
/usr/include/linux/compiler.h:71: warning: `__attribute_used__' redefined
/usr/include/sys/cdefs.h:195: warning: this is the location of the previous
definition
cc1: Invalid option `-fmessage-length=0'
error: command 'gcc' failed with exit status 1
> Okay, I've added some tracing to vbd_setextents. Pull the latest
> changes to 1.2, rebuild, and reinstall.
Here it is:
xen:~/build/xeno-1.2.bk/tools # xc_dom_create.py -f /etc/xc/test -D vmid=1
Parsing config file '/etc/xc/test'
/usr/lib/python2.3/site-packages/XenoUtil.py:96: FutureWarning: x<<y losing
bits or changing sign will return a long in Python 2.4 and up
a = ( (string.atoi(l[0])<<24) | (string.atoi(l[1])<<16) |
VM image : "/boot/xenolinux.gz"
VM ramdisk : ""
VM memory (MB) : "64"
VM IP address(es) : "10.0.0.4; 169.254.1.1"
VM block device(s) : "vd:1,sda1,w; vd:2,sda2,w"
VM cmdline : " root=/dev/sda1 VMID=1 "
vbd_setextents: extent 0 -- 'nr_sectors' is not a long.
Traceback (most recent call last):
File "/usr/bin/xc_dom_create.py", line 308, in ?
current_id = make_domain()
File "/usr/bin/xc_dom_create.py", line 266, in make_domain
extents=segments):
SystemError: NULL result without error in PyObject_Call
-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/xen-devel
|