make[4]: Entering directory '/build/lede-17.01/slaves/phase2/arc_archs/build/sdk/build_dir/target-arc_archs_uClibc-1.0.14/libaio-0.3.110' make[5]: Entering directory '/build/lede-17.01/slaves/phase2/arc_archs/build/sdk/build_dir/target-arc_archs_uClibc-1.0.14/libaio-0.3.110/src' arc-openwrt-linux-uclibc-gcc -nostdlib -nostartfiles -I. -Os -pipe -matomic -marchs -fno-caller-saves -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -Wformat -Werror=format-security -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -I/build/lede-17.01/slaves/phase2/arc_archs/build/sdk/staging_dir/target-arc_archs_uClibc-1.0.14/usr/include -I/build/lede-17.01/slaves/phase2/arc_archs/build/sdk/staging_dir/target-arc_archs_uClibc-1.0.14/include -I/build/lede-17.01/slaves/phase2/arc_archs/build/sdk/staging_dir/toolchain-arc_archs_gcc-arc-2016.03_uClibc-1.0.14/usr/include -I/build/lede-17.01/slaves/phase2/arc_archs/build/sdk/staging_dir/toolchain-arc_archs_gcc-arc-2016.03_uClibc-1.0.14/include -fpic -c -o io_queue_init.ol io_queue_init.c In file included from io_queue_init.c:19:0: ./libaio.h:91:2: error: #error endian? #error endian? ^ ./libaio.h:95:2: error: expected specifier-qualifier-list before 'PADDED' PADDED(int events, __pad1); ^ ./libaio.h:104:2: error: expected specifier-qualifier-list before 'PADDEDptr' PADDEDptr(void *buf, __pad1); ^ ./libaio.h:119:2: error: expected specifier-qualifier-list before 'PADDEDptr' PADDEDptr(void *data, __pad1); /* Return in the io completion event */ ^ ./libaio.h:135:2: error: expected specifier-qualifier-list before 'PADDEDptr' PADDEDptr(void *data, __pad1); ^ ./libaio.h: In function 'io_set_callback': ./libaio.h:164:6: error: 'struct iocb' has no member named 'data' iocb->data = (void *)cb; ^ ./libaio.h: In function 'io_prep_pread': ./libaio.h:170:6: error: 'struct iocb' has no member named 'aio_fildes' iocb->aio_fildes = fd; ^ ./libaio.h:171:6: error: 'struct iocb' has no member named 'aio_lio_opcode' iocb->aio_lio_opcode = IO_CMD_PREAD; ^ ./libaio.h:172:6: error: 'struct iocb' has no member named 'aio_reqprio' iocb->aio_reqprio = 0; ^ ./libaio.h:173:6: error: 'struct iocb' has no member named 'u' iocb->u.c.buf = buf; ^ ./libaio.h:174:6: error: 'struct iocb' has no member named 'u' iocb->u.c.nbytes = count; ^ ./libaio.h:175:6: error: 'struct iocb' has no member named 'u' iocb->u.c.offset = offset; ^ ./libaio.h: In function 'io_prep_pwrite': ./libaio.h:181:6: error: 'struct iocb' has no member named 'aio_fildes' iocb->aio_fildes = fd; ^ ./libaio.h:182:6: error: 'struct iocb' has no member named 'aio_lio_opcode' iocb->aio_lio_opcode = IO_CMD_PWRITE; ^ ./libaio.h:183:6: error: 'struct iocb' has no member named 'aio_reqprio' iocb->aio_reqprio = 0; ^ ./libaio.h:184:6: error: 'struct iocb' has no member named 'u' iocb->u.c.buf = buf; ^ ./libaio.h:185:6: error: 'struct iocb' has no member named 'u' iocb->u.c.nbytes = count; ^ ./libaio.h:186:6: error: 'struct iocb' has no member named 'u' iocb->u.c.offset = offset; ^ ./libaio.h: In function 'io_prep_preadv': ./libaio.h:192:6: error: 'struct iocb' has no member named 'aio_fildes' iocb->aio_fildes = fd; ^ ./libaio.h:193:6: error: 'struct iocb' has no member named 'aio_lio_opcode' iocb->aio_lio_opcode = IO_CMD_PREADV; ^ ./libaio.h:194:6: error: 'struct iocb' has no member named 'aio_reqprio' iocb->aio_reqprio = 0; ^ ./libaio.h:195:6: error: 'struct iocb' has no member named 'u' iocb->u.c.buf = (void *)iov; ^ ./libaio.h:196:6: error: 'struct iocb' has no member named 'u' iocb->u.c.nbytes = iovcnt; ^ ./libaio.h:197:6: error: 'struct iocb' has no member named 'u' iocb->u.c.offset = offset; ^ ./libaio.h: In function 'io_prep_pwritev': ./libaio.h:203:6: error: 'struct iocb' has no member named 'aio_fildes' iocb->aio_fildes = fd; ^ ./libaio.h:204:6: error: 'struct iocb' has no member named 'aio_lio_opcode' iocb->aio_lio_opcode = IO_CMD_PWRITEV; ^ ./libaio.h:205:6: error: 'struct iocb' has no member named 'aio_reqprio' iocb->aio_reqprio = 0; ^ ./libaio.h:206:6: error: 'struct iocb' has no member named 'u' iocb->u.c.buf = (void *)iov; ^ ./libaio.h:207:6: error: 'struct iocb' has no member named 'u' iocb->u.c.nbytes = iovcnt; ^ ./libaio.h:208:6: error: 'struct iocb' has no member named 'u' iocb->u.c.offset = offset; ^ ./libaio.h: In function 'io_prep_poll': ./libaio.h:216:13: error: 'struct iocb' has no member named 'aio_fildes' iocb->aio_fildes = fd; ^ ./libaio.h:217:13: error: 'struct iocb' has no member named 'aio_lio_opcode' iocb->aio_lio_opcode = IO_CMD_POLL; ^ ./libaio.h:218:13: error: 'struct iocb' has no member named 'aio_reqprio' iocb->aio_reqprio = 0; ^ ./libaio.h:219:13: error: 'struct iocb' has no member named 'u' iocb->u.poll.events = events; ^ ./libaio.h: In function 'io_prep_fsync': ./libaio.h:232:6: error: 'struct iocb' has no member named 'aio_fildes' iocb->aio_fildes = fd; ^ ./libaio.h:233:6: error: 'struct iocb' has no member named 'aio_lio_opcode' iocb->aio_lio_opcode = IO_CMD_FSYNC; ^ ./libaio.h:234:6: error: 'struct iocb' has no member named 'aio_reqprio' iocb->aio_reqprio = 0; ^ ./libaio.h: In function 'io_prep_fdsync': ./libaio.h:247:6: error: 'struct iocb' has no member named 'aio_fildes' iocb->aio_fildes = fd; ^ ./libaio.h:248:6: error: 'struct iocb' has no member named 'aio_lio_opcode' iocb->aio_lio_opcode = IO_CMD_FDSYNC; ^ ./libaio.h:249:6: error: 'struct iocb' has no member named 'aio_reqprio' iocb->aio_reqprio = 0; ^ ./libaio.h: In function 'io_set_eventfd': ./libaio.h:261:6: error: 'struct iocb' has no member named 'u' iocb->u.c.flags |= (1 << 0) /* IOCB_FLAG_RESFD */; ^ ./libaio.h:262:6: error: 'struct iocb' has no member named 'u' iocb->u.c.resfd = eventfd; ^ In file included from io_queue_init.c:24:0: syscall.h: At top level: syscall.h:42:2: warning: #warning "using generic syscall method" [-Wcpp] #warning "using generic syscall method" ^ Makefile:43: recipe for target 'io_queue_init.ol' failed make[5]: *** [io_queue_init.ol] Error 1 make[5]: Leaving directory '/build/lede-17.01/slaves/phase2/arc_archs/build/sdk/build_dir/target-arc_archs_uClibc-1.0.14/libaio-0.3.110/src' Makefile:15: recipe for target 'all' failed make[4]: *** [all] Error 2 make[4]: Leaving directory '/build/lede-17.01/slaves/phase2/arc_archs/build/sdk/build_dir/target-arc_archs_uClibc-1.0.14/libaio-0.3.110' Makefile:63: recipe for target '/build/lede-17.01/slaves/phase2/arc_archs/build/sdk/build_dir/target-arc_archs_uClibc-1.0.14/libaio-0.3.110/.built' failed make[3]: *** [/build/lede-17.01/slaves/phase2/arc_archs/build/sdk/build_dir/target-arc_archs_uClibc-1.0.14/libaio-0.3.110/.built] Error 2