Does adding
#include <string.h>
At the top of tools/python/xen/lowlevel/xc/xc.c
help?
-- Keir
On 29/05/2009 15:59, "Boris Derzhavets" <
bderzhavets@xxxxxxxxx> wrote:
> 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
Xen-devel@xxxxxxxxxxxxxxxxxxxhttp://lists.xensource.com/xen-devel