Failure to make tools in xen-3.4-testing.hg and xen-unstable.hg
xen/lowlevel/xc/xc.c: In function ‘token_value’:xen/lowlevel/xc/xc.c:529: error: implicit declaration of function ‘strchr’ xen/lowlevel/xc/xc.c:529: error: incompatible implicit declaration of built-in function ‘strchr’ xen/lowlevel/xc/xc.c:530: error: implicit declaration of function ‘strtol’ xen/lowlevel/xc/xc.c: In function ‘next_bdf’:xen/lowlevel/xc/xc.c:537: error: incompatible implicit declaration of built-in function ‘strchr’ xen/lowlevel/xc/xc.c:542: error: incompatible implicit declaration of built-in function ‘strchr’ xen/lowlevel/xc/xc.c: At top level:xen/lowlevel/xc/xc.c:554: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token xen/lowlevel/xc/xc.c:586: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token xen/lowlevel/xc/xc.c:618: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token xen/lowlevel/xc/xc.c:650: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token xen/lowlevel/xc/xc.c:749: error: expected ‘)’ before ‘*’ token xen/lowlevel/xc/xc.c:766: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token xen/lowlevel/xc/xc.c:785: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token xen/lowlevel/xc/xc.c:808: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token xen/lowlevel/xc/xc.c:824: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token xen/lowlevel/xc/xc.c:849: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token xen/lowlevel/xc/xc.c:865: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token xen/lowlevel/xc/xc.c:882: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token xen/lowlevel/xc/xc.c:930: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token xen/lowlevel/xc/xc.c:949: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token xen/lowlevel/xc/xc.c:967: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token xen/lowlevel/xc/xc.c:986: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token xen/lowlevel/xc/xc.c:1008: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token xen/lowlevel/xc/xc.c:1038: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token xen/lowlevel/xc/xc.c:1049: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token xen/lowlevel/xc/xc.c:1126: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token xen/lowlevel/xc/xc.c:1175: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token xen/lowlevel/xc/xc.c:1197: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token xen/lowlevel/xc/xc.c:1219: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token xen/lowlevel/xc/xc.c:1242: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token xen/lowlevel/xc/xc.c:1272: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token xen/lowlevel/xc/xc.c:1281: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token xen/lowlevel/xc/xc.c:1308: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token xen/lowlevel/xc/xc.c:1324: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token xen/lowlevel/xc/xc.c:1339: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token xen/lowlevel/xc/xc.c:1357: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token xen/lowlevel/xc/xc.c:1372: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token xen/lowlevel/xc/xc.c:1394: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token xen/lowlevel/xc/xc.c:1417: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token xen/lowlevel/xc/xc.c:1440: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token xen/lowlevel/xc/xc.c:1455: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token xen/lowlevel/xc/xc.c:1475: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token xen/lowlevel/xc/xc.c:1493: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token xen/lowlevel/xc/xc.c:1508: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘pyxc_methods’ xen/lowlevel/xc/xc.c:1971: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token xen/lowlevel/xc/xc.c:1976: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token xen/lowlevel/xc/xc.c:1989: error: expected declaration specifiers or ‘...’ before ‘PyObject’ xen/lowlevel/xc/xc.c:1989: error: expected declaration specifiers or ‘...’ before ‘PyObject’ xen/lowlevel/xc/xc.c: In function ‘PyXc_init’:xen/lowlevel/xc/xc.c:1991: error: ‘XcObject’ has no member named ‘xc_handle’ xen/lowlevel/xc/xc.c:1992: error: implicit declaration of function ‘pyxc_error_to_exception’ xen/lowlevel/xc/xc.c: In function ‘PyXc_dealloc’:xen/lowlevel/xc/xc.c:2001: error: ‘XcObject’ has no member named ‘xc_handle’ xen/lowlevel/xc/xc.c:2002: error: ‘XcObject’ has no member named ‘xc_handle’ xen/lowlevel/xc/xc.c:2003: error: ‘XcObject’ has no member named ‘xc_handle’ xen/lowlevel/xc/xc.c:2006: error: ‘XcObject’ has no member named ‘ob_type’ xen/lowlevel/xc/xc.c:2006: error: ‘PyObject’ undeclared (first use in this function) xen/lowlevel/xc/xc.c:2006: error: (Each undeclared identifier is reported only once xen/lowlevel/xc/xc.c:2006: error: for each function it appears in.) xen/lowlevel/xc/xc.c:2006: error: expected expression before ‘)’ token xen/lowlevel/xc/xc.c: At top level:xen/lowlevel/xc/xc.c:2009: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘PyXcType’ xen/lowlevel/xc/xc.c:2051: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘xc_methods’ xen/lowlevel/xc/xc.c:2053: error: return type defaults to ‘int’xen/lowlevel/xc/xc.c: In function ‘DL_EXPORT’:xen/lowlevel/xc/xc.c:2053: error: expected declaration specifiers before ‘initxc’ xen/lowlevel/xc/xc.c:2082: error: expected ‘{’ at end of input
error: command 'gcc' failed with exit status 1
make[3]: *** [buildpy] Error 1
make[3]: Leaving directory `/usr/src/xen-3.4-testing.hg/tools/python'
make[2]: *** [subdir-install-python] Error 2
make[2]: Leaving directory `/usr/src/xen-3.4-testing.hg/tools'
make[1]: *** [subdirs-install] Error 2
make[1]: Leaving directory `/usr/src/xen-3.4-testing.hg/tools'
make: *** [install-tools] Error 2
root@ServerJ9:/usr/src/xen-3.4-testing.hg#
Boris.
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel
Boris Derzhavets writes ("Failure to make tools in xen-3.4-testing.hg and xen-unstable.hg"):
Quoted 2 lines
xen/lowlevel/xc/xc.c: In function øtoken_valueù:xen/lowlevel/xc/xc.c:529: error: implicit declaration of function østrchrù
What happened immediately before that ? Were there error messages about missing Python.h ?
Ian.
Does adding
#include <string.h>
At the top of tools/python/xen/lowlevel/xc/xc.c help?
-- Keir
Quoted 134 lines · Boris Derzhavets
xen/lowlevel/xc/xc.c: In function Œtoken_value¹:xen/lowlevel/xc/xc.c:529: error: implicit declaration of function Œstrchr¹xen/lowlevel/xc/xc.c:529: error: incompatible implicit declaration of built-in function Œstrchr¹xen/lowlevel/xc/xc.c:530: error: implicit declaration of function Œstrtol¹xen/lowlevel/xc/xc.c: In function Œnext_bdf¹:xen/lowlevel/xc/xc.c:537: error: incompatible implicit declaration of built-in function Œstrchr¹xen/lowlevel/xc/xc.c:542: error: incompatible implicit declaration of built-in function Œstrchr¹xen/lowlevel/xc/xc.c: At top level:xen/lowlevel/xc/xc.c:554: error: expected Œ=¹, Œ,¹, Œ;¹, Œasm¹ or Œ__attribute__¹ before Œ*¹ tokenxen/lowlevel/xc/xc.c:586: error: expected Œ=¹, Œ,¹, Œ;¹, Œasm¹ or Œ__attribute__¹ before Œ*¹ tokenxen/lowlevel/xc/xc.c:618: error: expected Œ=¹, Œ,¹, Œ;¹, Œasm¹ or Œ__attribute__¹ before Œ*¹ tokenxen/lowlevel/xc/xc.c:650: error: expected Œ=¹, Œ,¹, Œ;¹, Œasm¹ or Œ__attribute__¹ before Œ*¹ tokenxen/lowlevel/xc/xc.c:749: error: expected Œ)¹ before Œ*¹ tokenxen/lowlevel/xc/xc.c:766: error: expected Œ=¹, Œ,¹, Œ;¹, Œasm¹ or Œ__attribute__¹ before Œ*¹ tokenxen/lowlevel/xc/xc.c:785: error: expected Œ=¹, Œ,¹, Œ;¹, Œasm¹ or Œ__attribute__¹ before Œ*¹ tokenxen/lowlevel/xc/xc.c:808: error: expected Œ=¹, Œ,¹, Œ;¹, Œasm¹ or Œ__attribute__¹ before Œ*¹ tokenxen/lowlevel/xc/xc.c:824: error: expected Œ=¹, Œ,¹, Œ;¹, Œasm¹ or Œ__attribute__¹ before Œ*¹ tokenxen/lowlevel/xc/xc.c:849: error: expected Œ=¹, Œ,¹, Œ;¹, Œasm¹ or Œ__attribute__¹ before Œ*¹ tokenxen/lowlevel/xc/xc.c:865: error: expected Œ=¹, Œ,¹, Œ;¹, Œasm¹ or Œ__attribute__¹ before Œ*¹ tokenxen/lowlevel/xc/xc.c:882: error: expected Œ=¹, Œ,¹, Œ;¹, Œasm¹ or Œ__attribute__¹ before Œ*¹ tokenxen/lowlevel/xc/xc.c:930: error: expected Œ=¹, Œ,¹, Œ;¹, Œasm¹ or Œ__attribute__¹ before Œ*¹ tokenxen/lowlevel/xc/xc.c:949: error: expected Œ=¹, Œ,¹, Œ;¹, Œasm¹ or Œ__attribute__¹ before Œ*¹ tokenxen/lowlevel/xc/xc.c:967: error: expected Œ=¹, Œ,¹, Œ;¹, Œasm¹ or Œ__attribute__¹ before Œ*¹ tokenxen/lowlevel/xc/xc.c:986: error: expected Œ=¹, Œ,¹, Œ;¹, Œasm¹ or Œ__attribute__¹ before Œ*¹ tokenxen/lowlevel/xc/xc.c:1008: error: expected Œ=¹, Œ,¹, Œ;¹, Œasm¹ or Œ__attribute__¹ before Œ*¹ tokenxen/lowlevel/xc/xc.c:1038: error: expected Œ=¹, Œ,¹, Œ;¹, Œasm¹ or Œ__attribute__¹ before Œ*¹ tokenxen/lowlevel/xc/xc.c:1049: error: expected Œ=¹, Œ,¹, Œ;¹, Œasm¹ or Œ__attribute__¹ before Œ*¹ tokenxen/lowlevel/xc/xc.c:1126: error: expected Œ=¹, Œ,¹, Œ;¹, Œasm¹ or Œ__attribute__¹ before Œ*¹ tokenxen/lowlevel/xc/xc.c:1175: error: expected Œ=¹, Œ,¹, Œ;¹, Œasm¹ or Œ__attribute__¹ before Œ*¹ tokenxen/lowlevel/xc/xc.c:1197: error: expected Œ=¹, Œ,¹, Œ;¹, Œasm¹ or Œ__attribute__¹ before Œ*¹ tokenxen/lowlevel/xc/xc.c:1219: error: expected Œ=¹, Œ,¹, Œ;¹, Œasm¹ or Œ__attribute__¹ before Œ*¹ tokenxen/lowlevel/xc/xc.c:1242: error: expected Œ=¹, Œ,¹, Œ;¹, Œasm¹ or Œ__attribute__¹ before Œ*¹ tokenxen/lowlevel/xc/xc.c:1272: error: expected Œ=¹, Œ,¹, Œ;¹, Œasm¹ or Œ__attribute__¹ before Œ*¹ tokenxen/lowlevel/xc/xc.c:1281: error: expected Œ=¹, Œ,¹, Œ;¹, Œasm¹ or Œ__attribute__¹ before Œ*¹ tokenxen/lowlevel/xc/xc.c:1308: error: expected Œ=¹, Œ,¹, Œ;¹, Œasm¹ or Œ__attribute__¹ before Œ*¹ tokenxen/lowlevel/xc/xc.c:1324: error: expected Œ=¹, Œ,¹, Œ;¹, Œasm¹ or Œ__attribute__¹ before Œ*¹ tokenxen/lowlevel/xc/xc.c:1339: error: expected Œ=¹, Œ,¹, Œ;¹, Œasm¹ or Œ__attribute__¹ before Œ*¹ tokenxen/lowlevel/xc/xc.c:1357: error: expected Œ=¹, Œ,¹, Œ;¹, Œasm¹ or Œ__attribute__¹ before Œ*¹ tokenxen/lowlevel/xc/xc.c:1372: error: expected Œ=¹, Œ,¹, Œ;¹, Œasm¹ or Œ__attribute__¹ before Œ*¹ tokenxen/lowlevel/xc/xc.c:1394: error: expected Œ=¹, Œ,¹, Œ;¹, Œasm¹ or Œ__attribute__¹ before Œ*¹ tokenxen/lowlevel/xc/xc.c:1417: error: expected Œ=¹, Œ,¹, Œ;¹, Œasm¹ or Œ__attribute__¹ before Œ*¹ tokenxen/lowlevel/xc/xc.c:1440: error: expected Œ=¹, Œ,¹, Œ;¹, Œasm¹ or Œ__attribute__¹ before Œ*¹ tokenxen/lowlevel/xc/xc.c:1455: error: expected Œ=¹, Œ,¹, Œ;¹, Œasm¹ or Œ__attribute__¹ before Œ*¹ tokenxen/lowlevel/xc/xc.c:1475: error: expected Œ=¹, Œ,¹, Œ;¹, Œasm¹ or Œ__attribute__¹ before Œ*¹ tokenxen/lowlevel/xc/xc.c:1493: error: expected Œ=¹, Œ,¹, Œ;¹, Œasm¹ or Œ__attribute__¹ before Œ*¹ tokenxen/lowlevel/xc/xc.c:1508: error: expected Œ=¹, Œ,¹, Œ;¹, Œasm¹ or Œ__attribute__¹ before Œpyxc_methods¹xen/lowlevel/xc/xc.c:1971: error: expected Œ=¹, Œ,¹, Œ;¹, Œasm¹ or Œ__attribute__¹ before Œ*¹ tokenxen/lowlevel/xc/xc.c:1976: error: expected Œ=¹, Œ,¹, Œ;¹, Œasm¹ or Œ__attribute__¹ before Œ*¹ tokenxen/lowlevel/xc/xc.c:1989: error: expected declaration specifiers or Œ...¹ before ŒPyObject¹xen/lowlevel/xc/xc.c:1989: error: expected declaration specifiers or Œ...¹ before ŒPyObject¹xen/lowlevel/xc/xc.c: In function ŒPyXc_init¹:xen/lowlevel/xc/xc.c:1991: error: ŒXcObject¹ has no member named Œxc_handle¹xen/lowlevel/xc/xc.c:1992: error: implicit declaration of function Œpyxc_error_to_exception¹xen/lowlevel/xc/xc.c: In function ŒPyXc_dealloc¹:xen/lowlevel/xc/xc.c:2001: error: ŒXcObject¹ has no member named Œxc_handle¹xen/lowlevel/xc/xc.c:2002: error: ŒXcObject¹ has no member named Œxc_handle¹xen/lowlevel/xc/xc.c:2003: error: ŒXcObject¹ has no member named Œxc_handle¹xen/lowlevel/xc/xc.c:2006: error: ŒXcObject¹ has no member named Œob_type¹xen/lowlevel/xc/xc.c:2006: error: ŒPyObject¹ undeclared (first use in this function)xen/lowlevel/xc/xc.c:2006: error: (Each undeclared identifier is reported only oncexen/lowlevel/xc/xc.c:2006: error: for each function it appears in.)xen/lowlevel/xc/xc.c:2006: error: expected expression before Œ)¹ tokenxen/lowlevel/xc/xc.c: At top level:xen/lowlevel/xc/xc.c:2009: error: expected Œ=¹, Œ,¹, Œ;¹, Œasm¹ or Œ__attribute__¹ before ŒPyXcType¹xen/lowlevel/xc/xc.c:2051: error: expected Œ=¹, Œ,¹, Œ;¹, Œasm¹ or Œ__attribute__¹ before Œxc_methods¹xen/lowlevel/xc/xc.c:2053: error: return type defaults to Œint¹xen/lowlevel/xc/xc.c: In function ŒDL_EXPORT¹:xen/lowlevel/xc/xc.c:2053: error: expected declaration specifiers before Œinitxc¹xen/lowlevel/xc/xc.c:2082: error: expected Œ{¹ at end of input
error: command 'gcc' failed with exit status 1
make[3]: *** [buildpy] Error 1
make[3]: Leaving directory `/usr/src/xen-3.4-testing.hg/tools/python' make[2]: *** [subdir-install-python] Error 2
make[2]: Leaving directory `/usr/src/xen-3.4-testing.hg/tools' make[1]: *** [subdirs-install] Error 2
make[1]: Leaving directory `/usr/src/xen-3.4-testing.hg/tools'
make: *** [install-tools] Error 2 root@ServerJ9:/usr/src/xen-3.4-testing.hg#Boris.