make[5]: Leaving directory `/home/ubuntu/openwrt/trunk/build_i386/apr-util-1.2.8/xml/expat/lib' make[4]: Leaving directory `/home/ubuntu/openwrt/trunk/build_i386/apr-util-1.2.8/xml/expat' make[4]: Entering directory `/home/ubuntu/openwrt/trunk/build_i386/apr-util-1.2.8' /bin/sh /home/ubuntu/openwrt/trunk/staging_dir_i386/usr/share/build-1/libtool --silent --mode=compile i386-linux-uclibc-gcc -O2 -pipe -march=i486 -funit-at-a-time -I/home/ubuntu/openwrt/trunk/staging_dir_i386/usr/include -I/home/ubuntu/openwrt/trunk/staging_dir_i386/include -DHAVE_CONFIG_H -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE -I/home/ubuntu/openwrt/trunk/staging_dir_i386/usr/include -I/home/ubuntu/openwrt/trunk/staging_dir_i386/include -I/home/ubuntu/openwrt/trunk/staging_dir_i386/usr/include -I/home/ubuntu/openwrt/trunk/staging_dir_i386/include -I/home/ubuntu/openwrt/trunk/build_i386/apr-util-1.2.8/include -I/home/ubuntu/openwrt/trunk/build_i386/apr-util-1.2.8/include/private -I/usr/include/apr-1 -I/home/ubuntu/openwrt/trunk/build_i386/apr-util-1.2.8/xml/expat/lib -o buckets/apr_buckets_pipe.lo -c buckets/apr_buckets_pipe.c && touch buckets/apr_buckets_pipe.lo In file included from buckets/apr_buckets_pipe.c:17: /home/ubuntu/openwrt/trunk/build_i386/apr-util-1.2.8/include/apr_buckets.h:29:28: error: apr_network_io.h: No such file or directory /home/ubuntu/openwrt/trunk/build_i386/apr-util-1.2.8/include/apr_buckets.h:30:25: error: apr_file_io.h: No such file or directory /home/ubuntu/openwrt/trunk/build_i386/apr-util-1.2.8/include/apr_buckets.h:31:25: error: apr_general.h: No such file or directory /home/ubuntu/openwrt/trunk/build_i386/apr-util-1.2.8/include/apr_buckets.h:32:22: error: apr_mmap.h: No such file or directory /home/ubuntu/openwrt/trunk/build_i386/apr-util-1.2.8/include/apr_buckets.h:33:23: error: apr_errno.h: No such file or directory /home/ubuntu/openwrt/trunk/build_i386/apr-util-1.2.8/include/apr_buckets.h:34:22: error: apr_ring.h: No such file or directory /home/ubuntu/openwrt/trunk/build_i386/apr-util-1.2.8/include/apr_buckets.h:35:17: error: apr.h: No such file or directory In file included from buckets/apr_buckets_pipe.c:17: /home/ubuntu/openwrt/trunk/build_i386/apr-util-1.2.8/include/apr_buckets.h:176: error: expected specifier-qualifier-list before 'apr_status_t' /home/ubuntu/openwrt/trunk/build_i386/apr-util-1.2.8/include/apr_buckets.h:226: error: expected specifier-qualifier-list before 'APR_RING_ENTRY' /home/ubuntu/openwrt/trunk/build_i386/apr-util-1.2.8/include/apr_buckets.h:264: error: expected specifier-qualifier-list before 'apr_pool_t' /home/ubuntu/openwrt/trunk/build_i386/apr-util-1.2.8/include/apr_buckets.h:282: error: expected declaration specifiers or '...' before '*' token /home/ubuntu/openwrt/trunk/build_i386/apr-util-1.2.8/include/apr_buckets.h:282: error: 'apr_status_t' declared as function returning a function /home/ubuntu/openwrt/trunk/build_i386/apr-util-1.2.8/include/apr_buckets.h:551: error: expected specifier-qualifier-list before 'apr_size_t' /home/ubuntu/openwrt/trunk/build_i386/apr-util-1.2.8/include/apr_buckets.h:586: error: expected specifier-qualifier-list before 'apr_pool_t' /home/ubuntu/openwrt/trunk/build_i386/apr-util-1.2.8/include/apr_buckets.h:616: error: expected specifier-qualifier-list before 'apr_file_t' /home/ubuntu/openwrt/trunk/build_i386/apr-util-1.2.8/include/apr_buckets.h:658: error: expected ')' before '*' token /home/ubuntu/openwrt/trunk/build_i386/apr-util-1.2.8/include/apr_buckets.h:666: error: 'apr_brigade_destroy' declared as function returning a function /home/ubuntu/openwrt/trunk/build_i386/apr-util-1.2.8/include/apr_buckets.h:679: error: 'apr_brigade_cleanup' declared as function returning a function /home/ubuntu/openwrt/trunk/build_i386/apr-util-1.2.8/include/apr_buckets.h:706: error: expected declaration specifiers or '...' before 'apr_off_t' /home/ubuntu/openwrt/trunk/build_i386/apr-util-1.2.8/include/apr_buckets.h:707: error: 'apr_brigade_partition' declared as function returning a function /home/ubuntu/openwrt/trunk/build_i386/apr-util-1.2.8/include/apr_buckets.h:718: error: expected declaration specifiers or '...' before 'apr_off_t' /home/ubuntu/openwrt/trunk/build_i386/apr-util-1.2.8/include/apr_buckets.h:718: error: 'apr_brigade_length' declared as function returning a function /home/ubuntu/openwrt/trunk/build_i386/apr-util-1.2.8/include/apr_buckets.h:729: error: expected declaration specifiers or '...' before 'apr_size_t' /home/ubuntu/openwrt/trunk/build_i386/apr-util-1.2.8/include/apr_buckets.h:729: error: 'apr_brigade_flatten' declared as function returning a function /home/ubuntu/openwrt/trunk/build_i386/apr-util-1.2.8/include/apr_buckets.h:740: error: expected declaration specifiers or '...' before 'apr_size_t' /home/ubuntu/openwrt/trunk/build_i386/apr-util-1.2.8/include/apr_buckets.h:741: error: expected declaration specifiers or '...' before 'apr_pool_t' /home/ubuntu/openwrt/trunk/build_i386/apr-util-1.2.8/include/apr_buckets.h:741: error: 'apr_brigade_pflatten' declared as function returning a function /home/ubuntu/openwrt/trunk/build_i386/apr-util-1.2.8/include/apr_buckets.h:754: error: expected declaration specifiers or '...' before 'apr_off_t' /home/ubuntu/openwrt/trunk/build_i386/apr-util-1.2.8/include/apr_buckets.h:754: error: 'apr_brigade_split_line' declared as function returning a function /home/ubuntu/openwrt/trunk/build_i386/apr-util-1.2.8/include/apr_buckets.h:766: warning: 'struct iovec' declared inside parameter list /home/ubuntu/openwrt/trunk/build_i386/apr-util-1.2.8/include/apr_buckets.h:766: warning: its scope is only this definition or declaration, which is probably not what you want /home/ubuntu/openwrt/trunk/build_i386/apr-util-1.2.8/include/apr_buckets.h:766: error: 'apr_brigade_to_iovec' declared as function returning a function /home/ubuntu/openwrt/trunk/build_i386/apr-util-1.2.8/include/apr_buckets.h:777: error: expected declaration specifiers or '...' before 'apr_brigade_flush' /home/ubuntu/openwrt/trunk/build_i386/apr-util-1.2.8/include/apr_buckets.h:779: error: expected declaration specifiers or '...' before 'va_list' /home/ubuntu/openwrt/trunk/build_i386/apr-util-1.2.8/include/apr_buckets.h:779: error: 'apr_brigade_vputstrs' declared as function returning a function /home/ubuntu/openwrt/trunk/build_i386/apr-util-1.2.8/include/apr_buckets.h:791: error: expected declaration specifiers or '...' before 'apr_brigade_flush' /home/ubuntu/openwrt/trunk/build_i386/apr-util-1.2.8/include/apr_buckets.h:792: error: expected declaration specifiers or '...' before 'apr_size_t' /home/ubuntu/openwrt/trunk/build_i386/apr-util-1.2.8/include/apr_buckets.h:792: error: 'apr_brigade_write' declared as function returning a function /home/ubuntu/openwrt/trunk/build_i386/apr-util-1.2.8/include/apr_buckets.h:804: error: expected declaration specifiers or '...' before 'apr_brigade_flush' /home/ubuntu/openwrt/trunk/build_i386/apr-util-1.2.8/include/apr_buckets.h:807: error: expected declaration specifiers or '...' before 'apr_size_t' /home/ubuntu/openwrt/trunk/build_i386/apr-util-1.2.8/include/apr_buckets.h:807: warning: 'struct iovec' declared inside parameter list /home/ubuntu/openwrt/trunk/build_i386/apr-util-1.2.8/include/apr_buckets.h:807: error: 'apr_brigade_writev' declared as function returning a function /home/ubuntu/openwrt/trunk/build_i386/apr-util-1.2.8/include/apr_buckets.h:818: error: expected declaration specifiers or '...' before 'apr_brigade_flush' /home/ubuntu/openwrt/trunk/build_i386/apr-util-1.2.8/include/apr_buckets.h:819: error: 'apr_brigade_puts' declared as function returning a function /home/ubuntu/openwrt/trunk/build_i386/apr-util-1.2.8/include/apr_buckets.h:830: error: expected declaration specifiers or '...' before 'apr_brigade_flush' /home/ubuntu/openwrt/trunk/build_i386/apr-util-1.2.8/include/apr_buckets.h:831: error: 'apr_brigade_putc' declared as function returning a function /home/ubuntu/openwrt/trunk/build_i386/apr-util-1.2.8/include/apr_buckets.h:842: error: expected declaration specifiers or '...' before 'apr_brigade_flush' /home/ubuntu/openwrt/trunk/build_i386/apr-util-1.2.8/include/apr_buckets.h:843: error: 'apr_brigade_putstrs' declared as function returning a function /home/ubuntu/openwrt/trunk/build_i386/apr-util-1.2.8/include/apr_buckets.h:856: error: expected declaration specifiers or '...' before 'apr_brigade_flush' /home/ubuntu/openwrt/trunk/build_i386/apr-util-1.2.8/include/apr_buckets.h:859: error: 'apr_brigade_printf' declared as function returning a function /home/ubuntu/openwrt/trunk/build_i386/apr-util-1.2.8/include/apr_buckets.h:859: error: format string argument not a string type /home/ubuntu/openwrt/trunk/build_i386/apr-util-1.2.8/include/apr_buckets.h:872: error: expected declaration specifiers or '...' before 'apr_brigade_flush' /home/ubuntu/openwrt/trunk/build_i386/apr-util-1.2.8/include/apr_buckets.h:874: error: expected declaration specifiers or '...' before 'va_list' /home/ubuntu/openwrt/trunk/build_i386/apr-util-1.2.8/include/apr_buckets.h:874: error: 'apr_brigade_vprintf' declared as function returning a function /home/ubuntu/openwrt/trunk/build_i386/apr-util-1.2.8/include/apr_buckets.h:889: error: expected declaration specifiers or '...' before 'apr_file_t' /home/ubuntu/openwrt/trunk/build_i386/apr-util-1.2.8/include/apr_buckets.h:890: error: expected declaration specifiers or '...' before 'apr_off_t' /home/ubuntu/openwrt/trunk/build_i386/apr-util-1.2.8/include/apr_buckets.h:891: error: expected declaration specifiers or '...' before 'apr_off_t' /home/ubuntu/openwrt/trunk/build_i386/apr-util-1.2.8/include/apr_buckets.h:892: error: expected declaration specifiers or '...' before 'apr_pool_t' /home/ubuntu/openwrt/trunk/build_i386/apr-util-1.2.8/include/apr_buckets.h:910: error: expected ')' before '*' token /home/ubuntu/openwrt/trunk/build_i386/apr-util-1.2.8/include/apr_buckets.h:920: error: expected ')' before '*' token /home/ubuntu/openwrt/trunk/build_i386/apr-util-1.2.8/include/apr_buckets.h:933: error: expected ')' before 'size'/home/ubuntu/openwrt/trunk/build_i386/apr-util-1.2.8/include/apr_buckets.h:1013: error: expected declaration specifiers or '...' before 'apr_pool_t' /home/ubuntu/openwrt/trunk/build_i386/apr-util-1.2.8/include/apr_buckets.h:1013: error: 'apr_bucket_setaside_noop' declared as function returning a function /home/ubuntu/openwrt/trunk/build_i386/apr-util-1.2.8/include/apr_buckets.h:1023: error: expected declaration specifiers or '...' before 'apr_pool_t' /home/ubuntu/openwrt/trunk/build_i386/apr-util-1.2.8/include/apr_buckets.h:1023: error: 'apr_bucket_setaside_notimpl' declared as function returning a function /home/ubuntu/openwrt/trunk/build_i386/apr-util-1.2.8/include/apr_buckets.h:1033: error: expected declaration specifiers or '...' before 'apr_size_t' /home/ubuntu/openwrt/trunk/build_i386/apr-util-1.2.8/include/apr_buckets.h:1033: error: 'apr_bucket_split_notimpl' declared as function returning a function /home/ubuntu/openwrt/trunk/build_i386/apr-util-1.2.8/include/apr_buckets.h:1043: error: 'apr_bucket_copy_notimpl' declared as function returning a function /home/ubuntu/openwrt/trunk/build_i386/apr-util-1.2.8/include/apr_buckets.h:1135: error: expected declaration specifiers or '...' before 'apr_size_t' /home/ubuntu/openwrt/trunk/build_i386/apr-util-1.2.8/include/apr_buckets.h:1135: error: 'apr_bucket_simple_split' declared as function returning a function /home/ubuntu/openwrt/trunk/build_i386/apr-util-1.2.8/include/apr_buckets.h:1148: error: 'apr_bucket_simple_copy' declared as function returning a function /home/ubuntu/openwrt/trunk/build_i386/apr-util-1.2.8/include/apr_buckets.h:1168: error: expected declaration specifiers or '...' before 'apr_off_t' /home/ubuntu/openwrt/trunk/build_i386/apr-util-1.2.8/include/apr_buckets.h:1169: error: expected declaration specifiers or '...' before 'apr_size_t' /home/ubuntu/openwrt/trunk/build_i386/apr-util-1.2.8/include/apr_buckets.h:1193: error: expected declaration specifiers or '...' before 'apr_size_t' /home/ubuntu/openwrt/trunk/build_i386/apr-util-1.2.8/include/apr_buckets.h:1193: error: 'apr_bucket_shared_split' declared as function returning a function /home/ubuntu/openwrt/trunk/build_i386/apr-util-1.2.8/include/apr_buckets.h:1205: error: 'apr_bucket_shared_copy' declared as function returning a function /home/ubuntu/openwrt/trunk/build_i386/apr-util-1.2.8/include/apr_buckets.h:1263: error: expected declaration specifiers or '...' before 'apr_size_t' /home/ubuntu/openwrt/trunk/build_i386/apr-util-1.2.8/include/apr_buckets.h:1275: error: expected declaration specifiers or '...' before 'apr_size_t' /home/ubuntu/openwrt/trunk/build_i386/apr-util-1.2.8/include/apr_buckets.h:1285: error: expected declaration specifiers or '...' before 'apr_size_t' /home/ubuntu/openwrt/trunk/build_i386/apr-util-1.2.8/include/apr_buckets.h:1297: error: expected declaration specifiers or '...' before 'apr_size_t' /home/ubuntu/openwrt/trunk/build_i386/apr-util-1.2.8/include/apr_buckets.h:1314: error: expected declaration specifiers or '...' before 'apr_size_t' /home/ubuntu/openwrt/trunk/build_i386/apr-util-1.2.8/include/apr_buckets.h:1327: error: expected declaration specifiers or '...' before 'apr_size_t' /home/ubuntu/openwrt/trunk/build_i386/apr-util-1.2.8/include/apr_buckets.h:1340: error: expected declaration specifiers or '...' before 'apr_size_t' /home/ubuntu/openwrt/trunk/build_i386/apr-util-1.2.8/include/apr_buckets.h:1341: error: expected declaration specifiers or '...' before 'apr_pool_t' /home/ubuntu/openwrt/trunk/build_i386/apr-util-1.2.8/include/apr_buckets.h:1353: error: expected declaration specifiers or '...' before 'apr_size_t' /home/ubuntu/openwrt/trunk/build_i386/apr-util-1.2.8/include/apr_buckets.h:1354: error: expected declaration specifiers or '...' before 'apr_pool_t' /home/ubuntu/openwrt/trunk/build_i386/apr-util-1.2.8/include/apr_buckets.h:1391: error: expected ')' before '*' token /home/ubuntu/openwrt/trunk/build_i386/apr-util-1.2.8/include/apr_buckets.h:1400: error: expected declaration specifiers or '...' before 'apr_socket_t' /home/ubuntu/openwrt/trunk/build_i386/apr-util-1.2.8/include/apr_buckets.h:1408: error: expected ')' before '*' token /home/ubuntu/openwrt/trunk/build_i386/apr-util-1.2.8/include/apr_buckets.h:1418: error: expected declaration specifiers or '...' before 'apr_file_t' /home/ubuntu/openwrt/trunk/build_i386/apr-util-1.2.8/include/apr_buckets.h:1430: error: expected ')' before '*' token /home/ubuntu/openwrt/trunk/build_i386/apr-util-1.2.8/include/apr_buckets.h:1446: error: expected declaration specifiers or '...' before 'apr_file_t' /home/ubuntu/openwrt/trunk/build_i386/apr-util-1.2.8/include/apr_buckets.h:1447: error: expected declaration specifiers or '...' before 'apr_off_t' /home/ubuntu/openwrt/trunk/build_i386/apr-util-1.2.8/include/apr_buckets.h:1448: error: expected declaration specifiers or '...' before 'apr_size_t' /home/ubuntu/openwrt/trunk/build_i386/apr-util-1.2.8/include/apr_buckets.h:1448: error: expected declaration specifiers or '...' before 'apr_pool_t' /home/ubuntu/openwrt/trunk/build_i386/apr-util-1.2.8/include/apr_buckets.h:1457: error: 'apr_bucket_file_enable_mmap' declared as function returning a function buckets/apr_buckets_pipe.c:20: error: expected declaration specifiers or '...' before 'apr_size_t' buckets/apr_buckets_pipe.c:21: error: 'pipe_bucket_read' declared as function returning a function buckets/apr_buckets_pipe.c: In function 'pipe_bucket_read': buckets/apr_buckets_pipe.c:22: error: 'apr_file_t' undeclared (first use in this function) buckets/apr_buckets_pipe.c:22: error: (Each undeclared identifier is reported only once buckets/apr_buckets_pipe.c:22: error: for each function it appears in.) buckets/apr_buckets_pipe.c:22: error: 'p' undeclared (first use in this function) buckets/apr_buckets_pipe.c:22: error: 'apr_bucket' has no member named 'data' buckets/apr_buckets_pipe.c:25: error: 'apr_interval_time_t' undeclared (first use in this function) buckets/apr_buckets_pipe.c:25: error: expected ';' before 'timeout' buckets/apr_buckets_pipe.c:28: error: 'timeout' undeclared (first use in this function) buckets/apr_buckets_pipe.c:32: error: 'NULL' undeclared (first use in this function) buckets/apr_buckets_pipe.c:33: error: 'len' undeclared (first use in this function) buckets/apr_buckets_pipe.c:34: error: 'apr_bucket' has no member named 'list' buckets/apr_buckets_pipe.c:34: warning: assignment makes pointer from integer without a cast buckets/apr_buckets_pipe.c:36: error: invalid lvalue in assignment buckets/apr_buckets_pipe.c:42: error: 'APR_SUCCESS' undeclared (first use in this function) buckets/apr_buckets_pipe.c:42: error: 'APR_EOF' undeclared (first use in this function) buckets/apr_buckets_pipe.c:44: warning: return makes integer from pointer without a cast buckets/apr_buckets_pipe.c:61: error: too many arguments to function 'apr_bucket_heap_make' buckets/apr_buckets_pipe.c:62: error: 'apr_bucket' has no member named 'data' buckets/apr_buckets_pipe.c:63: error: 'apr_bucket_heap' has no member named 'alloc_len' buckets/apr_buckets_pipe.c:65: error: 'apr_bucket' has no member named 'list' buckets/apr_buckets_pipe.c:65: warning: initialization makes pointer from integer without a cast buckets/apr_buckets_pipe.c:65: error: 'link' undeclared (first use in this function) buckets/apr_buckets_pipe.c:69: error: too many arguments to function 'apr_bucket_immortal_make' buckets/apr_buckets_pipe.c:70: error: 'apr_bucket' has no member named 'data' buckets/apr_buckets_pipe.c: At top level: buckets/apr_buckets_pipe.c:78: error: expected declaration specifiers or '...' before 'apr_file_t' buckets/apr_buckets_pipe.c: In function 'apr_bucket_pipe_make': buckets/apr_buckets_pipe.c:93: error: 'apr_bucket' has no member named 'type' buckets/apr_buckets_pipe.c:94: error: 'apr_bucket' has no member named 'length' buckets/apr_buckets_pipe.c:94: error: 'apr_size_t' undeclared (first use in this function) buckets/apr_buckets_pipe.c:95: error: 'apr_bucket' has no member named 'start' buckets/apr_buckets_pipe.c:96: error: 'apr_bucket' has no member named 'data' buckets/apr_buckets_pipe.c:96: error: 'p' undeclared (first use in this function) buckets/apr_buckets_pipe.c: At top level: buckets/apr_buckets_pipe.c:101: error: expected ')' before '*' token buckets/apr_buckets_pipe.c:115: warning: excess elements in struct initializer buckets/apr_buckets_pipe.c:115: warning: (near initialization for 'apr_bucket_type_pipe') buckets/apr_buckets_pipe.c:116: warning: excess elements in struct initializer buckets/apr_buckets_pipe.c:116: warning: (near initialization for 'apr_bucket_type_pipe') buckets/apr_buckets_pipe.c:117: warning: excess elements in struct initializer buckets/apr_buckets_pipe.c:117: warning: (near initialization for 'apr_bucket_type_pipe') buckets/apr_buckets_pipe.c:119: warning: excess elements in struct initializer buckets/apr_buckets_pipe.c:119: warning: (near initialization for 'apr_bucket_type_pipe') make[4]: *** [buckets/apr_buckets_pipe.lo] Error 1 make[4]: Leaving directory `/home/ubuntu/openwrt/trunk/build_i386/apr-util-1.2.8' make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory `/home/ubuntu/openwrt/trunk/build_i386/apr-util-1.2.8' make[2]: *** [/home/ubuntu/openwrt/trunk/build_i386/apr-util-1.2.8/.built] Error 2 make[2]: Leaving directory `/home/ubuntu/openwrt/packages/libs/libaprutil1' make[1]: *** [libaprutil1-compile] Error 2 make[1]: Leaving directory `/home/ubuntu/openwrt/trunk/package' make: *** [package/libaprutil1-compile] Error 2