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@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|