In file included from io_getevents.c:23:0: syscall.h: At top level: syscall.h:38:2: error: #error "add syscall-arch.h" io_getevents.c:25:18: error: expected declaration specifiers or '...' before '__io_getevents_0_4' io_getevents.c:25:38: error: expected declaration specifiers or '...' before 'io_getevents' io_getevents.c:25:66: error: expected declaration specifiers or '...' before 'ctx' io_getevents.c:25:77: error: expected declaration specifiers or '...' before 'min_nr' io_getevents.c:25:91: error: expected declaration specifiers or '...' before 'nr' io_getevents.c:25:114: error: expected declaration specifiers or '...' before 'events' io_getevents.c:25:141: error: expected declaration specifiers or '...' before 'timeout' io_getevents.c:25:1: warning: return type defaults to 'int' io_getevents.c: In function 'io_syscall5': io_getevents.c:30:1: warning: empty declaration io_getevents.c:43:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token io_getevents.c:57:1: error: expected declaration specifiers before '__asm__' io_getevents.c:25:1: error: old-style parameter declarations in prototyped function definition io_getevents.c:25:1: error: parameter name omitted io_getevents.c:25:38: error: parameter name omitted io_getevents.c:25:66: error: parameter name omitted io_getevents.c:25:77: error: parameter name omitted io_getevents.c:25:102: error: parameter name omitted io_getevents.c:25:129: error: parameter name omitted io_getevents.c:57:1: error: expected '{' at end of input io_getevents.c:57:1: warning: control reaches end of non-void function make[2]: *** [io_queue_wait.ol] Error 1 make[2]: *** [io_queue_run.ol] Error 1 make[2]: *** [io_getevents.ol] Error 1 In file included from io_submit.c:20:0: ./libaio.h:115:2: error: #error endian? ./libaio.h:119:2: error: expected specifier-qualifier-list before 'PADDED' ./libaio.h:128:2: error: expected specifier-qualifier-list before 'PADDEDptr' ./libaio.h:143:2: error: expected specifier-qualifier-list before 'PADDEDptr' ./libaio.h:159:2: error: expected specifier-qualifier-list before 'PADDEDptr' ./libaio.h: In function 'io_set_callback': ./libaio.h:188:6: error: 'struct iocb' has no member named 'data' ./libaio.h: In function 'io_prep_pread': ./libaio.h:194:6: error: 'struct iocb' has no member named 'aio_fildes' ./libaio.h:195:6: error: 'struct iocb' has no member named 'aio_lio_opcode' ./libaio.h:196:6: error: 'struct iocb' has no member named 'aio_reqprio' ./libaio.h:197:6: error: 'struct iocb' has no member named 'u' ./libaio.h:198:6: error: 'struct iocb' has no member named 'u' ./libaio.h:199:6: error: 'struct iocb' has no member named 'u' ./libaio.h: In function 'io_prep_pwrite': ./libaio.h:205:6: error: 'struct iocb' has no member named 'aio_fildes' ./libaio.h:206:6: error: 'struct iocb' has no member named 'aio_lio_opcode' ./libaio.h:207:6: error: 'struct iocb' has no member named 'aio_reqprio' ./libaio.h:208:6: error: 'struct iocb' has no member named 'u' ./libaio.h:209:6: error: 'struct iocb' has no member named 'u' ./libaio.h:210:6: error: 'struct iocb' has no member named 'u' ./libaio.h: In function 'io_prep_preadv': ./libaio.h:216:6: error: 'struct iocb' has no member named 'aio_fildes' ./libaio.h:217:6: error: 'struct iocb' has no member named 'aio_lio_opcode' ./libaio.h:218:6: error: 'struct iocb' has no member named 'aio_reqprio' ./libaio.h:219:6: error: 'struct iocb' has no member named 'u' ./libaio.h:220:6: error: 'struct iocb' has no member named 'u' ./libaio.h:221:6: error: 'struct iocb' has no member named 'u' ./libaio.h: In function 'io_prep_pwritev': ./libaio.h:227:6: error: 'struct iocb' has no member named 'aio_fildes' ./libaio.h:228:6: error: 'struct iocb' has no member named 'aio_lio_opcode' ./libaio.h:229:6: error: 'struct iocb' has no member named 'aio_reqprio' ./libaio.h:230:6: error: 'struct iocb' has no member named 'u' ./libaio.h:231:6: error: 'struct iocb' has no member named 'u' ./libaio.h:232:6: error: 'struct iocb' has no member named 'u' ./libaio.h: In function 'io_prep_poll': ./libaio.h:240:13: error: 'struct iocb' has no member named 'aio_fildes' ./libaio.h:241:13: error: 'struct iocb' has no member named 'aio_lio_opcode' ./libaio.h:242:13: error: 'struct iocb' has no member named 'aio_reqprio' ./libaio.h:243:13: error: 'struct iocb' has no member named 'u' ./libaio.h: In function 'io_prep_fsync': ./libaio.h:256:6: error: 'struct iocb' has no member named 'aio_fildes' ./libaio.h:257:6: error: 'struct iocb' has no member named 'aio_lio_opcode' ./libaio.h:258:6: error: 'struct iocb' has no member named 'aio_reqprio' ./libaio.h: In function 'io_prep_fdsync': ./libaio.h:271:6: error: 'struct iocb' has no member named 'aio_fildes' ./libaio.h:272:6: error: 'struct iocb' has no member named 'aio_lio_opcode' ./libaio.h:273:6: error: 'struct iocb' has no member named 'aio_reqprio' ./libaio.h: In function 'io_set_eventfd': ./libaio.h:285:6: error: 'struct iocb' has no member named 'u' ./libaio.h:286:6: error: 'struct iocb' has no member named 'u' In file included from io_submit.c:21:0: syscall.h: At top level: syscall.h:38:2: error: #error "add syscall-arch.h" io_submit.c:23:18: error: expected declaration specifiers or '...' before 'io_submit' io_submit.c:23:29: error: expected declaration specifiers or '...' before 'io_submit' io_submit.c:23:54: error: expected declaration specifiers or '...' before 'ctx' io_submit.c:23:65: error: expected declaration specifiers or '...' before 'nr' io_submit.c:23:85: error: expected declaration specifiers or '...' before 'iocbs' io_submit.c:23:1: warning: return type defaults to 'int' io_submit.c: In function 'io_syscall3': io_submit.c:23:1: error: parameter name omitted io_submit.c:23:29: error: parameter name omitted io_submit.c:23:54: error: parameter name omitted io_submit.c:23:76: error: parameter name omitted io_submit.c:23:85: error: expected '{' at end of input io_submit.c:23:85: warning: control reaches end of non-void function make[2]: *** [io_submit.ol] Error 1 make[2]: Leaving directory `/home/test/test/output2/build/libaio-0.3.109/src' make[1]: *** [all] Error 2 make[1]: Leaving directory `/home/test/test/output2/build/libaio-0.3.109' make: *** [/home/test/test/output2/build/libaio-0.3.109/.stamp_built] Error 2