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