[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-users] Unable to compile 2.0.7 on FC4



I've installed gcc32, removed the "tune=pentium4", and do a

make CC=gcc32 HOSTCC=gcc32 world (or dist)

and get the following error. What am I doing wrong?


>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>

xen/lowlevel/xc/xc.c: At top level:
xen/lowlevel/xc/xc.c:1151: syntax error before '*' token
xen/lowlevel/xc/xc.c: In function `PyXc_dealloc':
xen/lowlevel/xc/xc.c:1153: `xc' undeclared (first use in this function)
xen/lowlevel/xc/xc.c:1153: syntax error before ')' token
xen/lowlevel/xc/xc.c:1155: `self' undeclared (first use in this function)
xen/lowlevel/xc/xc.c: At top level:
xen/lowlevel/xc/xc.c:1158: syntax error before "PyXcType"
xen/lowlevel/xc/xc.c:1158: warning: type defaults to `int' in declaration
of `PyXcType'
xen/lowlevel/xc/xc.c:1159: warning: implicit declaration of function
`PyObject_HEAD_INIT'
xen/lowlevel/xc/xc.c:1159: `PyType_Type' undeclared here (not in a function)
xen/lowlevel/xc/xc.c:1160: initializer element is not constant
xen/lowlevel/xc/xc.c:1160: (near initialization for `PyXcType')
xen/lowlevel/xc/xc.c:1160: syntax error before numeric constant
xen/lowlevel/xc/xc.c:1161: warning: excess elements in scalar initializer
xen/lowlevel/xc/xc.c:1161: warning: (near initialization for `PyXcType')
xen/lowlevel/xc/xc.c:1162: warning: excess elements in scalar initializer
xen/lowlevel/xc/xc.c:1162: warning: (near initialization for `PyXcType')
xen/lowlevel/xc/xc.c:1163: warning: excess elements in scalar initializer
xen/lowlevel/xc/xc.c:1163: warning: (near initialization for `PyXcType')
xen/lowlevel/xc/xc.c:1164: warning: excess elements in scalar initializer
xen/lowlevel/xc/xc.c:1164: warning: (near initialization for `PyXcType')
xen/lowlevel/xc/xc.c:1165: warning: excess elements in scalar initializer
xen/lowlevel/xc/xc.c:1165: warning: (near initialization for `PyXcType')
xen/lowlevel/xc/xc.c:1166: warning: excess elements in scalar initializer
xen/lowlevel/xc/xc.c:1166: warning: (near initialization for `PyXcType')
xen/lowlevel/xc/xc.c:1167: warning: excess elements in scalar initializer
xen/lowlevel/xc/xc.c:1167: warning: (near initialization for `PyXcType')
xen/lowlevel/xc/xc.c:1168: warning: excess elements in scalar initializer
xen/lowlevel/xc/xc.c:1168: warning: (near initialization for `PyXcType')
xen/lowlevel/xc/xc.c:1169: warning: excess elements in scalar initializer
xen/lowlevel/xc/xc.c:1169: warning: (near initialization for `PyXcType')
xen/lowlevel/xc/xc.c:1170: warning: excess elements in scalar initializer
xen/lowlevel/xc/xc.c:1170: warning: (near initialization for `PyXcType')
xen/lowlevel/xc/xc.c:1171: warning: excess elements in scalar initializer
xen/lowlevel/xc/xc.c:1171: warning: (near initialization for `PyXcType')
xen/lowlevel/xc/xc.c:1172: warning: excess elements in scalar initializer
xen/lowlevel/xc/xc.c:1172: warning: (near initialization for `PyXcType')
xen/lowlevel/xc/xc.c:1174: warning: excess elements in scalar initializer
xen/lowlevel/xc/xc.c:1174: warning: (near initialization for `PyXcType')
xen/lowlevel/xc/xc.c:1174: warning: data definition has no type or storage
class
xen/lowlevel/xc/xc.c:1176: syntax error before "PyXc_methods"
xen/lowlevel/xc/xc.c:1176: warning: type defaults to `int' in declaration
of `PyXc_methods'
xen/lowlevel/xc/xc.c:1177: warning: braces around scalar initializer
xen/lowlevel/xc/xc.c:1177: warning: (near initialization for
`PyXc_methods[0]')
xen/lowlevel/xc/xc.c:1177: warning: initialization makes integer from
pointer without a cast
xen/lowlevel/xc/xc.c:1177: warning: excess elements in scalar initializer
xen/lowlevel/xc/xc.c:1177: warning: (near initialization for
`PyXc_methods[0]')
xen/lowlevel/xc/xc.c:1177: `METH_VARARGS' undeclared here (not in a function)
xen/lowlevel/xc/xc.c:1177: warning: excess elements in scalar initializer
xen/lowlevel/xc/xc.c:1177: warning: (near initialization for
`PyXc_methods[0]')
xen/lowlevel/xc/xc.c:1177: warning: excess elements in scalar initializer
xen/lowlevel/xc/xc.c:1177: warning: (near initialization for
`PyXc_methods[0]')
xen/lowlevel/xc/xc.c:1178: warning: braces around scalar initializer
xen/lowlevel/xc/xc.c:1178: warning: (near initialization for
`PyXc_methods[1]')
xen/lowlevel/xc/xc.c:1178: warning: initialization makes integer from
pointer without a cast
xen/lowlevel/xc/xc.c:1178: warning: excess elements in scalar initializer
xen/lowlevel/xc/xc.c:1178: warning: (near initialization for
`PyXc_methods[1]')
xen/lowlevel/xc/xc.c:1178: warning: excess elements in scalar initializer
xen/lowlevel/xc/xc.c:1178: warning: (near initialization for
`PyXc_methods[1]')
xen/lowlevel/xc/xc.c:1178: warning: excess elements in scalar initializer
xen/lowlevel/xc/xc.c:1178: warning: (near initialization for
`PyXc_methods[1]')
xen/lowlevel/xc/xc.c:1179: warning: data definition has no type or storage
class
xen/lowlevel/xc/xc.c:1181: syntax error before "initxc"
xen/lowlevel/xc/xc.c:1182: warning: return type defaults to `int'
xen/lowlevel/xc/xc.c: In function `initxc':
xen/lowlevel/xc/xc.c:1183: `PyObject' undeclared (first use in this function)
xen/lowlevel/xc/xc.c:1183: `m' undeclared (first use in this function)
xen/lowlevel/xc/xc.c:1183: `d' undeclared (first use in this function)
xen/lowlevel/xc/xc.c:1183: warning: left-hand operand of comma expression
has no effect
xen/lowlevel/xc/xc.c:1185: warning: implicit declaration of function
`Py_InitModule'
xen/lowlevel/xc/xc.c:1187: warning: implicit declaration of function
`PyModule_GetDict'
xen/lowlevel/xc/xc.c:1188: warning: implicit declaration of function
`PyErr_NewException'
xen/lowlevel/xc/xc.c:1188: warning: assignment makes pointer from integer
without a cast
xen/lowlevel/xc/xc.c:1189: warning: implicit declaration of function
`PyDict_SetItemString'
xen/lowlevel/xc/xc.c:1191: warning: assignment makes pointer from integer
without a cast
error: command 'gcc32' failed with exit status 1
make[2]: *** [install] Error 1
make[2]: Leaving directory `/root/downloads/xen-2.0/tools/python'
make[1]: *** [install] Error 2
make[1]: Leaving directory `/root/downloads/xen-2.0/tools'
make: *** [tools] Error 2
[root@teegeeack xen-2.0]#


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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.