[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-API] Few Questions About Xen management API
Hi Ewan:
Thanks so much for your particular explaination ! That's really helpful !
And I try the c-bings from the wiki page, but seems that there are lot of unexpected
problems. I konw this is not a stable version API, but can u help me find what's the reason cause these problems? I just wanna see the snap-shot of these test_bings.
I list the my install steps for investigation.
Thanks in advance!
============
Softwate Env
============
Fedora Core release 5 (Bordeaux)
gcc version 4.1.0 20060304 (Red Hat 4.1.0-3)
libxml2 libxml2-2.6.23-1.2 libxml2-python-2.6.23-1.2 libxml2-devel-2.6.23-1.2 curl curl-devel-7.15.1-1.2.1 curl-7.15.1-1.2.1 xen 3.0.2 ============
Steps
============ 1 make
-----------------------------------------------------------------------------------------
cc -Iinclude -I/usr/include/libxml2 -W -Wall -Werror -std=c99 -O2 -fPIC -c -o src/xen_common.o src/xen_common.c
cc1: warnings being treated as errors src/xen_common.c: In function ¡®xen_init¡¯: src/xen_common.c:102: warning: pointer targets in passing argument 1 of ¡®xmlXPathCompile¡¯ differ in signedness src/xen_common.c:105: warning: pointer targets in passing argument 1 of ¡®xmlXPathCompile¡¯ differ in signedness src/xen_common.c: In function ¡®call_raw¡¯: src/xen_common.c:243: warning: pointer targets in passing argument 2 of ¡®parse_result¡¯ differ in signedness src/xen_common.c: In function ¡®is_container_node¡¯: src/xen_common.c:293: warning: pointer targets in passing argument 1 of ¡®strlen¡¯ differ in signedness src/xen_common.c:293: warning: pointer targets in passing argument 1 of ¡®__builtin_strcmp¡¯ differ in signedness src/xen_common.c:293: warning: pointer targets in passing argument 1 of ¡®strlen¡¯ differ in signedness src/xen_common.c:293: warning: pointer targets in passing argument 1 of ¡®__builtin_strcmp¡¯ differ in signedness src/xen_common.c:293: warning: pointer targets in passing argument 1 of ¡®__builtin_strcmp¡¯ differ in signedness src/xen_common.c:293: warning: pointer targets in passing argument 1 of ¡®__builtin_strcmp¡¯ differ in signedness src/xen_common.c: In function ¡®string_from_value¡¯: src/xen_common.c:308: warning: pointer targets in passing argument 1 of ¡®strlen¡¯ differ in signedness src/xen_common.c:308: warning: pointer targets in passing argument 1 of ¡®__builtin_strcmp¡¯ differ in signedness src/xen_common.c:308: warning: pointer targets in passing argument 1 of ¡®strlen¡¯ differ in signedness src/xen_common.c:308: warning: pointer targets in passing argument 1 of ¡®__builtin_strcmp¡¯ differ in signedness src/xen_common.c:308: warning: pointer targets in passing argument 1 of ¡®__builtin_strcmp¡¯ differ in signedness src/xen_common.c:308: warning: pointer targets in passing argument 1 of ¡®__builtin_strcmp¡¯ differ in signedness src/xen_common.c: In function ¡®string_from_name¡¯: src/xen_common.c:327: warning: pointer targets in passing argument 1 of ¡®strlen¡¯ differ in signedness src/xen_common.c:327: warning: pointer targets in passing argument 1 of ¡®__builtin_strcmp¡¯ differ in signedness src/xen_common.c:327: warning: pointer targets in passing argument 1 of ¡®strlen¡¯ differ in signedness src/xen_common.c:327: warning: pointer targets in passing argument 1 of ¡®__builtin_strcmp¡¯ differ in signedness src/xen_common.c:327: warning: pointer targets in passing argument 1 of ¡®__builtin_strcmp¡¯ differ in signedness src/xen_common.c:327: warning: pointer targets in passing argument 1 of ¡®__builtin_strcmp¡¯ differ in signedness src/xen_common.c: In function ¡®count_children¡¯: src/xen_common.c:345: warning: pointer targets in passing argument 1 of ¡®strlen¡¯ differ in signedness src/xen_common.c:345: warning: pointer targets in passing argument 1 of ¡®__builtin_strcmp¡¯ differ in signedness src/xen_common.c:345: warning: pointer targets in passing argument 1 of ¡®strlen¡¯ differ in signedness src/xen_common.c:345: warning: pointer targets in passing argument 1 of ¡®__builtin_strcmp¡¯ differ in signedness src/xen_common.c:345: warning: pointer targets in passing argument 1 of ¡®__builtin_strcmp¡¯ differ in signedness src/xen_common.c:345: warning: pointer targets in passing argument 1 of ¡®__builtin_strcmp¡¯ differ in signedness src/xen_common.c: In function ¡®parse_into¡¯: src/xen_common.c:386: warning: pointer targets in passing argument 1 of ¡®strlen¡¯ differ in signedness src/xen_common.c:386: warning: pointer targets in passing argument 1 of ¡®__builtin_strcmp¡¯ differ in signedness src/xen_common.c:386: warning: pointer targets in passing argument 1 of ¡®strlen¡¯ differ in signedness src/xen_common.c:386: warning: pointer targets in passing argument 1 of ¡®__builtin_strcmp¡¯ differ in signedness src/xen_common.c:386: warning: pointer targets in passing argument 1 of ¡®__builtin_strcmp¡¯ differ in signedness src/xen_common.c:386: warning: pointer targets in passing argument 1 of ¡®__builtin_strcmp¡¯ differ in signedness src/xen_common.c:506: warning: pointer targets in passing argument 1 of ¡®strlen¡¯ differ in signedness src/xen_common.c:506: warning: pointer targets in passing argument 1 of ¡®__builtin_strcmp¡¯ differ in signedness src/xen_common.c:506: warning: pointer targets in passing argument 1 of ¡®strlen¡¯ differ in signedness src/xen_common.c:506: warning: pointer targets in passing argument 1 of ¡®__builtin_strcmp¡¯ differ in signedness src/xen_common.c:506: warning: pointer targets in passing argument 1 of ¡®__builtin_strcmp¡¯ differ in signedness src/xen_common.c:506: warning: pointer targets in passing argument 1 of ¡®__builtin_strcmp¡¯ differ in signedness src/xen_common.c:523: warning: pointer targets in passing argument 1 of ¡®strlen¡¯ differ in signedness src/xen_common.c:523: warning: pointer targets in passing argument 1 of ¡®__builtin_strcmp¡¯ differ in signedness src/xen_common.c:523: warning: pointer targets in passing argument 1 of ¡®strlen¡¯ differ in signedness src/xen_common.c:523: warning: pointer targets in passing argument 1 of ¡®__builtin_strcmp¡¯ differ in signedness src/xen_common.c:523: warning: pointer targets in passing argument 1 of ¡®__builtin_strcmp¡¯ differ in signedness src/xen_common.c:523: warning: pointer targets in passing argument 1 of ¡®__builtin_strcmp¡¯ differ in signedness src/xen_common.c:547: warning: pointer targets in passing argument 1 of ¡®strlen¡¯ differ in signedness src/xen_common.c:547: warning: pointer targets in passing argument 1 of ¡®__builtin_strcmp¡¯ differ in signedness src/xen_common.c:547: warning: pointer targets in passing argument 1 of ¡®strlen¡¯ differ in signedness src/xen_common.c:547: warning: pointer targets in passing argument 1 of ¡®__builtin_strcmp¡¯ differ in signedness src/xen_common.c:547: warning: pointer targets in passing argument 1 of ¡®__builtin_strcmp¡¯ differ in signedness src/xen_common.c:547: warning: pointer targets in passing argument 1 of ¡®__builtin_strcmp¡¯ differ in signedness src/xen_common.c:598: warning: pointer targets in passing argument 1 of ¡®strlen¡¯ differ in signedness src/xen_common.c:598: warning: pointer targets in passing argument 1 of ¡®__builtin_strcmp¡¯ differ in signedness src/xen_common.c:598: warning: pointer targets in passing argument 1 of ¡®strlen¡¯ differ in signedness src/xen_common.c:598: warning: pointer targets in passing argument 1 of ¡®__builtin_strcmp¡¯ differ in signedness src/xen_common.c:598: warning: pointer targets in passing argument 1 of ¡®__builtin_strcmp¡¯ differ in signedness src/xen_common.c:598: warning: pointer targets in passing argument 1 of ¡®__builtin_strcmp¡¯ differ in signedness src/xen_common.c:619: warning: pointer targets in passing argument 1 of ¡®strlen¡¯ differ in signedness src/xen_common.c:619: warning: pointer targets in passing argument 1 of ¡®__builtin_strcmp¡¯ differ in signedness src/xen_common.c:619: warning: pointer targets in passing argument 1 of ¡®strlen¡¯ differ in signedness src/xen_common.c:619: warning: pointer targets in passing argument 1 of ¡®__builtin_strcmp¡¯ differ in signedness src/xen_common.c:619: warning: pointer targets in passing argument 1 of ¡®__builtin_strcmp¡¯ differ in signedness src/xen_common.c:619: warning: pointer targets in passing argument 1 of ¡®__builtin_strcmp¡¯ differ in signedness src/xen_common.c: In function ¡®parse_structmap_value¡¯: src/xen_common.c:754: warning: pointer targets in passing argument 1 of ¡®strlen¡¯ differ in signedness src/xen_common.c:754: warning: pointer targets in passing argument 1 of ¡®__builtin_strcmp¡¯ differ in signedness src/xen_common.c:754: warning: pointer targets in passing argument 1 of ¡®strlen¡¯ differ in signedness src/xen_common.c:754: warning: pointer targets in passing argument 1 of ¡®__builtin_strcmp¡¯ differ in signedness src/xen_common.c:754: warning: pointer targets in passing argument 1 of ¡®__builtin_strcmp¡¯ differ in signedness src/xen_common.c:754: warning: pointer targets in passing argument 1 of ¡®__builtin_strcmp¡¯ differ in signedness src/xen_common.c: In function ¡®parse_fault¡¯: src/xen_common.c:810: warning: pointer targets in passing argument 1 of ¡®xen_strdup_¡¯ differ in signedness src/xen_common.c:811: warning: pointer targets in passing argument 1 of ¡®xen_strdup_¡¯ differ in signedness src/xen_common.c: In function ¡®parse_result¡¯: src/xen_common.c:912: warning: pointer targets in passing argument 1 of ¡®strlen¡¯ differ in signedness src/xen_common.c:912: warning: pointer targets in passing argument 1 of ¡®__builtin_strcmp¡¯ differ in signedness src/xen_common.c:912: warning: pointer targets in passing argument 1 of ¡®strlen¡¯ differ in signedness src/xen_common.c:912: warning: pointer targets in passing argument 1 of ¡®__builtin_strcmp¡¯ differ in signedness src/xen_common.c:912: warning: pointer targets in passing argument 1 of ¡®__builtin_strcmp¡¯ differ in signedness src/xen_common.c:912: warning: pointer targets in passing argument 1 of ¡®__builtin_strcmp¡¯ differ in signedness make: *** [src/xen_common.o] Error 1 ----------------------------------------------------------------------------------------- 2 Waring
gcc version cause these waring message
delete -Werror in the Makefile will ignore these warnnings and compile successfully
3 cp
cp hacked-XMLRPCServer.py /usr/lib/python/xen/xend/server/XMLRPCServer.py 4 start xend
5 test_bindings failed
export LD_LIBRARY_PATH=src
./test/test_bindings localhost:8005/RPC2 root 123456
-----------------------------------------------------------------------------------------
:5: parser error : Opening and ending tag mismatch: META line 2 and HEAD ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ----------------------------------------------------------------------------------------- can you show me which steps I got mistake ? Thanks.
_______________________________________________ xen-api mailing list xen-api@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-api
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |