[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-users] XEN 4 installation
Hi All: I am trying to install xen-4.0.0 on SuSe, I've got the following error during compilation: building 'xc' extension creating build/temp.linux-i686-2.6 creating build/temp.linux-i686-2.6/xen creating build/temp.linux-i686-2.6/xen/lowlevel creating build/temp.linux-i686-2.6/xen/lowlevel/xc gcc -DNDEBUG -march=i586 -mtune=i686 -fmessage-length=0 -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -g -O2 -fomit-frame-pointer -m32 -march=i686 -fno-strict-aliasing -std=gnu99 -Wall -Wstrict-prototypes -Wno-unused-value -Wdeclaration-after-statement -D__XEN_TOOLS__ -MMD -MF .buildpy.d -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -mno-tls-direct-seg-refs -fPIC -I../../tools/libxc -I../../tools/xenstore -I../../tools/include -Ixen/lowlevel/xc -I/usr/include/python2.6 -c xen/lowlevel/xc/xc.c -o build/temp.linux-i686-2.6/xen/lowlevel/xc/xc.o -fno-strict-aliasing -Werror xen/lowlevel/xc/xc.c:7:20: error: Python.h: No such file or directory In file included from ../../tools/libxc/xc_dom.h:1, from xen/lowlevel/xc/xc.c:23: ../../tools/include/xen/libelf/libelf.h:102: error: expected specifier-qualifier-list before ‘FILE’ ../../tools/include/xen/libelf/libelf.h:186: error: expected declaration specifiers or ‘...’ before ‘FILE’ In file included from xen/lowlevel/xc/xc.c:23: ../../tools/libxc/xc_dom.h:186: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token xen/lowlevel/xc/xc.c:37: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token xen/lowlevel/xc/xc.c:40: error: expected specifier-qualifier-list before ‘PyObject_HEAD’ xen/lowlevel/xc/xc.c:45: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token xen/lowlevel/xc/xc.c:48: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token xen/lowlevel/xc/xc.c:73: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token xen/lowlevel/xc/xc.c:91: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token xen/lowlevel/xc/xc.c:96: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token xen/lowlevel/xc/xc.c:144: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token xen/lowlevel/xc/xc.c:158: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token xen/lowlevel/xc/xc.c:163: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token xen/lowlevel/xc/xc.c:168: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token xen/lowlevel/xc/xc.c:178: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token xen/lowlevel/xc/xc.c:183: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token xen/lowlevel/xc/xc.c:197: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token xen/lowlevel/xc/xc.c:212: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token xen/lowlevel/xc/xc.c:263: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token xen/lowlevel/xc/xc.c:299: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token xen/lowlevel/xc/xc.c:369: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token xen/lowlevel/xc/xc.c:431: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token xen/lowlevel/xc/xc.c:450: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token xen/lowlevel/xc/xc.c:542: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token xen/lowlevel/xc/xc.c:562: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token cc1: warnings being treated as errors xen/lowlevel/xc/xc.c: In function ‘token_value’: xen/lowlevel/xc/xc.c:584: error: implicit declaration of function ‘strchr’ xen/lowlevel/xc/xc.c:584: error: incompatible implicit declaration of built-in function ‘strchr’ xen/lowlevel/xc/xc.c:585: error: implicit declaration of function ‘strtol’ xen/lowlevel/xc/xc.c: In function ‘next_bdf’: xen/lowlevel/xc/xc.c:592: error: incompatible implicit declaration of built-in function ‘strchr’ xen/lowlevel/xc/xc.c:597: error: incompatible implicit declaration of built-in function ‘strchr’ xen/lowlevel/xc/xc.c: At top level: xen/lowlevel/xc/xc.c:609: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token xen/lowlevel/xc/xc.c:641: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token xen/lowlevel/xc/xc.c:673: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token xen/lowlevel/xc/xc.c:705: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token xen/lowlevel/xc/xc.c:803: error: expected ‘)’ before ‘*’ token xen/lowlevel/xc/xc.c:820: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token xen/lowlevel/xc/xc.c:839: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token xen/lowlevel/xc/xc.c:862: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token xen/lowlevel/xc/xc.c:878: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token xen/lowlevel/xc/xc.c:902: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token xen/lowlevel/xc/xc.c:918: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token xen/lowlevel/xc/xc.c:935: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token xen/lowlevel/xc/xc.c:1011: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token xen/lowlevel/xc/xc.c:1030: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token xen/lowlevel/xc/xc.c:1048: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token xen/lowlevel/xc/xc.c:1067: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token xen/lowlevel/xc/xc.c:1089: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token xen/lowlevel/xc/xc.c:1144: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token xen/lowlevel/xc/xc.c:1155: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token xen/lowlevel/xc/xc.c:1255: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token xen/lowlevel/xc/xc.c:1309: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token xen/lowlevel/xc/xc.c:1331: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token xen/lowlevel/xc/xc.c:1353: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token xen/lowlevel/xc/xc.c:1376: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token xen/lowlevel/xc/xc.c:1406: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token xen/lowlevel/xc/xc.c:1415: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token xen/lowlevel/xc/xc.c:1442: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token xen/lowlevel/xc/xc.c:1458: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token xen/lowlevel/xc/xc.c:1473: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token xen/lowlevel/xc/xc.c:1491: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token xen/lowlevel/xc/xc.c:1506: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token xen/lowlevel/xc/xc.c:1528: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token xen/lowlevel/xc/xc.c:1551: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token xen/lowlevel/xc/xc.c:1574: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token xen/lowlevel/xc/xc.c:1589: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token xen/lowlevel/xc/xc.c:1603: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token xen/lowlevel/xc/xc.c:1617: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token xen/lowlevel/xc/xc.c:1637: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token xen/lowlevel/xc/xc.c:1655: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token xen/lowlevel/xc/xc.c:1670: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token xen/lowlevel/xc/xc.c:1717: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token xen/lowlevel/xc/xc.c:1739: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token xen/lowlevel/xc/xc.c:1755: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘pyxc_methods’ xen/lowlevel/xc/xc.c:2271: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token xen/lowlevel/xc/xc.c:2276: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token xen/lowlevel/xc/xc.c:2289: error: expected declaration specifiers or ‘...’ before ‘PyObject’ xen/lowlevel/xc/xc.c:2289: error: expected declaration specifiers or ‘...’ before ‘PyObject’ xen/lowlevel/xc/xc.c: In function ‘PyXc_init’: xen/lowlevel/xc/xc.c:2291: error: ‘XcObject’ has no member named ‘xc_handle’ xen/lowlevel/xc/xc.c:2292: error: implicit declaration of function ‘pyxc_error_to_exception’ xen/lowlevel/xc/xc.c: In function ‘PyXc_dealloc’: xen/lowlevel/xc/xc.c:2301: error: ‘XcObject’ has no member named ‘xc_handle’ xen/lowlevel/xc/xc.c:2302: error: ‘XcObject’ has no member named ‘xc_handle’ xen/lowlevel/xc/xc.c:2303: error: ‘XcObject’ has no member named ‘xc_handle’ xen/lowlevel/xc/xc.c:2306: error: ‘XcObject’ has no member named ‘ob_type’ xen/lowlevel/xc/xc.c:2306: error: ‘PyObject’ undeclared (first use in this function) xen/lowlevel/xc/xc.c:2306: error: (Each undeclared identifier is reported only once xen/lowlevel/xc/xc.c:2306: error: for each function it appears in.) xen/lowlevel/xc/xc.c:2306: error: expected expression before ‘)’ token xen/lowlevel/xc/xc.c: At top level: xen/lowlevel/xc/xc.c:2309: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘PyXcType’ xen/lowlevel/xc/xc.c:2351: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘xc_methods’ xen/lowlevel/xc/xc.c:2353: error: return type defaults to ‘int’ xen/lowlevel/xc/xc.c: In function ‘DL_EXPORT’: xen/lowlevel/xc/xc.c:2353: error: expected declaration specifiers before ‘initxc’ xen/lowlevel/xc/xc.c:2382: error: expected ‘{’ at end of input error: command 'gcc' failed with exit status 1 make[3]: *** [buildpy] Error 1 make[3]: Leaving directory `/root/xen/xen-4.0.0/tools/python' make[2]: *** [subdir-install-python] Error 2 make[2]: Leaving directory `/root/xen/xen-4.0.0/tools' make[1]: *** [subdirs-install] Error 2 make[1]: Leaving directory `/root/xen/xen-4.0.0/tools' make: *** [install-tools] Error 2 -- Regards, Mehdi _______________________________________________ Xen-users mailing list Xen-users@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-users
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |