Bug#625020: asterisk-chan-capi: FTBFS: logger.h:87:64: error: expected declaration specifiers before 'attribute_warn_unused_result'
Lucas Nussbaum
lucas at lucas-nussbaum.net
Mon May 2 12:29:20 UTC 2011
Source: asterisk-chan-capi
Version: 1.1.5-1
Severity: serious
Tags: wheezy sid
User: debian-qa at lists.debian.org
Usertags: qa-ftbfs-20110502 qa-ftbfs
Justification: FTBFS on amd64
Hi,
During a rebuild of all packages in sid, your package failed to build on
amd64.
Relevant part:
> gcc -pipe -fPIC -Wall -Wmissing-prototypes -Wmissing-declarations -g -I/usr/include -D_REENTRANT -D_GNU_SOURCE -O2 -Wno-missing-prototypes -Wno-missing-declarations -DCRYPTO -c chan_capi.c -o chan_capi.o
> In file included from /usr/include/asterisk/lock.h:62:0,
> from chan_capi.h:23,
> from chan_capi.c:32:
> /usr/include/asterisk/logger.h: In function 'ast_register_verbose':
> /usr/include/asterisk/logger.h:87:64: error: expected declaration specifiers before 'attribute_warn_unused_result'
> /usr/include/asterisk/logger.h:88:66: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'attribute_warn_unused_result'
> In file included from chan_capi.h:23:0,
> from chan_capi.c:32:
> /usr/include/asterisk/lock.h:140:31: error: storage class specified for parameter 'ast_mutex_t'
> /usr/include/asterisk/lock.h:142:32: error: storage class specified for parameter 'ast_rwlock_t'
> /usr/include/asterisk/lock.h:144:24: error: storage class specified for parameter 'ast_cond_t'
> /usr/include/asterisk/lock.h:146:120: error: expected declaration specifiers or '...' before 'ast_mutex_t'
> In file included from chan_capi.h:23:0,
> from chan_capi.c:32:
> /usr/include/asterisk/lock.h:147:109: error: expected declaration specifiers or '...' before 'ast_mutex_t'
> /usr/include/asterisk/lock.h:148:106: error: expected declaration specifiers or '...' before 'ast_mutex_t'
> /usr/include/asterisk/lock.h:149:109: error: expected declaration specifiers or '...' before 'ast_mutex_t'
> /usr/include/asterisk/lock.h:150:108: error: expected declaration specifiers or '...' before 'ast_mutex_t'
> /usr/include/asterisk/lock.h:160:96: error: expected declaration specifiers or '...' before 'ast_cond_t'
> /usr/include/asterisk/lock.h:161:98: error: expected declaration specifiers or '...' before 'ast_cond_t'
> /usr/include/asterisk/lock.h:162:101: error: expected declaration specifiers or '...' before 'ast_cond_t'
> /usr/include/asterisk/lock.h:163:99: error: expected declaration specifiers or '...' before 'ast_cond_t'
> /usr/include/asterisk/lock.h:164:120: error: expected declaration specifiers or '...' before 'ast_cond_t'
> /usr/include/asterisk/lock.h:164:138: error: expected declaration specifiers or '...' before 'ast_mutex_t'
> /usr/include/asterisk/lock.h:165:125: error: expected declaration specifiers or '...' before 'ast_cond_t'
> /usr/include/asterisk/lock.h:165:143: error: expected declaration specifiers or '...' before 'ast_mutex_t'
> /usr/include/asterisk/lock.h:175:114: error: expected declaration specifiers or '...' before 'ast_rwlock_t'
> /usr/include/asterisk/lock.h:176:103: error: expected declaration specifiers or '...' before 'ast_rwlock_t'
> /usr/include/asterisk/lock.h:177:25: error: expected declaration specifiers or '...' before 'ast_rwlock_t'
> /usr/include/asterisk/lock.h:178:25: error: expected declaration specifiers or '...' before 'ast_rwlock_t'
> /usr/include/asterisk/lock.h:179:25: error: expected declaration specifiers or '...' before 'ast_rwlock_t'
> /usr/include/asterisk/lock.h:180:30: error: expected declaration specifiers or '...' before 'ast_rwlock_t'
> /usr/include/asterisk/lock.h:181:30: error: expected declaration specifiers or '...' before 'ast_rwlock_t'
> /usr/include/asterisk/lock.h:182:28: error: expected declaration specifiers or '...' before 'ast_rwlock_t'
> /usr/include/asterisk/lock.h:183:28: error: expected declaration specifiers or '...' before 'ast_rwlock_t'
> /usr/include/asterisk/lock.h:589:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
> /usr/include/asterisk/lock.h:635:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
> In file included from /usr/include/asterisk/frame.h:34:0,
> from chan_capi.h:24,
> from chan_capi.c:32:
> /usr/include/asterisk/frame_defs.h:32:17: error: storage class specified for parameter 'format_t'
> In file included from chan_capi.h:24:0,
> from chan_capi.c:32:
> /usr/include/asterisk/frame.h:137:2: error: expected specifier-qualifier-list before 'format_t'
> /usr/include/asterisk/frame.h:192:25: error: storage class specified for parameter 'ast_null_frame'
> In file included from chan_capi.h:24:0,
> from chan_capi.c:32:
> /usr/include/asterisk/frame.h:502:2: error: expected specifier-qualifier-list before 'format_t'
> /usr/include/asterisk/frame.h:575:25: error: expected declaration specifiers or '...' before 'format_t'
> /usr/include/asterisk/frame.h:585:58: error: expected declaration specifiers or '...' before 'format_t'
> /usr/include/asterisk/frame.h:592:1: error: expected declaration specifiers before 'format_t'
> /usr/include/asterisk/frame.h:599:21: error: expected declaration specifiers or '...' before 'format_t'
> /usr/include/asterisk/frame.h:675:1: error: expected declaration specifiers before 'format_t'
> /usr/include/asterisk/frame.h:678:57: error: expected declaration specifiers or '...' before 'format_t'
> /usr/include/asterisk/frame.h:682:56: error: expected declaration specifiers or '...' before 'format_t'
> /usr/include/asterisk/frame.h:686:58: error: expected declaration specifiers or '...' before 'format_t'
> /usr/include/asterisk/frame.h:691:1: error: expected declaration specifiers before 'format_t'
> /usr/include/asterisk/frame.h:695:57: error: expected declaration specifiers or '...' before 'format_t'
> /usr/include/asterisk/frame.h:699:76: error: expected declaration specifiers or '...' before 'format_t'
> /usr/include/asterisk/frame.h:706:59: error: expected declaration specifiers or '...' before 'format_t'
> /usr/include/asterisk/frame.h:726:23: error: expected declaration specifiers or '...' before 'format_t'
> /usr/include/asterisk/frame.h:733:40: error: expected declaration specifiers or '...' before 'format_t'
> /usr/include/asterisk/frame.h:760:41: error: expected declaration specifiers or '...' before 'format_t'
> In file included from /usr/include/asterisk/channel.h:126:0,
> from chan_capi.h:25,
> from chan_capi.c:32:
> /usr/include/asterisk/abstract_jb.h:100:2: error: expected specifier-qualifier-list before 'format_t'
> In file included from /usr/include/asterisk/compat.h:29:0,
> from /usr/include/asterisk/astobj2.h:20,
> from /usr/include/asterisk/channel.h:127,
> from chan_capi.h:25,
> from chan_capi.c:32:
> /usr/include/inttypes.h:35:24: error: storage class specified for parameter '__gwchar_t'
> /usr/include/inttypes.h:283:5: error: storage class specified for parameter 'imaxdiv_t'
> /usr/include/inttypes.h:298:17: error: storage class specified for parameter 'imaxabs'
> /usr/include/inttypes.h:301:18: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'imaxdiv'
> /usr/include/inttypes.h:305:17: error: storage class specified for parameter 'strtoimax'
> /usr/include/inttypes.h:309:18: error: storage class specified for parameter 'strtoumax'
> /usr/include/inttypes.h:313:47: error: expected ';', ',' or ')' before '*' token
> /usr/include/inttypes.h:318:48: error: expected ';', ',' or ')' before '*' token
> /usr/include/inttypes.h:326:17: error: storage class specified for parameter '__strtol_internal'
> /usr/include/inttypes.h:334:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
> /usr/include/inttypes.h:338:26: error: storage class specified for parameter '__strtoul_internal'
> /usr/include/inttypes.h:347:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
> /usr/include/inttypes.h:351:55: error: expected ';', ',' or ')' before '*' token
> /usr/include/inttypes.h:357:1: error: expected ';', ',' or ')' before '*' token
> /usr/include/inttypes.h:363:65: error: expected ';', ',' or ')' before '*' token
> /usr/include/inttypes.h:371:1: error: expected ';', ',' or ')' before '*' token
> In file included from /usr/include/asterisk/compat.h:71:0,
> from /usr/include/asterisk/astobj2.h:20,
> from /usr/include/asterisk/channel.h:127,
> from chan_capi.h:25,
> from chan_capi.c:32:
> /usr/include/sys/poll.h:37:27: error: storage class specified for parameter 'nfds_t'
> /usr/include/sys/poll.h:58:40: error: expected declaration specifiers or '...' before 'nfds_t'
> /usr/include/sys/poll.h:67:41: error: expected declaration specifiers or '...' before 'nfds_t'
> In file included from /usr/include/asterisk/compat.h:212:0,
> from /usr/include/asterisk/astobj2.h:20,
> from /usr/include/asterisk/channel.h:127,
> from chan_capi.h:25,
> from chan_capi.c:32:
> /usr/include/glob.h:114:5: error: storage class specified for parameter 'glob_t'
> /usr/include/glob.h:143:5: error: storage class specified for parameter 'glob64_t'
> /usr/include/glob.h:162:4: error: expected declaration specifiers or '...' before 'glob_t'
> /usr/include/glob.h:165:23: error: expected declaration specifiers or '...' before 'glob_t'
> /usr/include/glob.h:178:6: error: expected declaration specifiers or '...' before 'glob64_t'
> /usr/include/glob.h:180:25: error: expected declaration specifiers or '...' before 'glob64_t'
> /usr/include/glob.h:190:12: error: storage class specified for parameter 'glob_pattern_p'
> In file included from /usr/include/asterisk/channel.h:127:0,
> from chan_capi.h:25,
> from chan_capi.c:32:
> /usr/include/asterisk/astobj2.h:384:16: error: storage class specified for parameter 'ao2_destructor_fn'
> /usr/include/asterisk/astobj2.h:423:49: error: expected declaration specifiers or '...' before 'ao2_destructor_fn'
> /usr/include/asterisk/astobj2.h:425:43: error: expected declaration specifiers or '...' before 'ao2_destructor_fn'
> /usr/include/asterisk/astobj2.h:620:14: error: storage class specified for parameter 'ao2_callback_fn'
> /usr/include/asterisk/astobj2.h:632:14: error: storage class specified for parameter 'ao2_callback_data_fn'
> /usr/include/asterisk/astobj2.h:635:1: error: expected declaration specifiers before 'ao2_callback_fn'
> /usr/include/asterisk/astobj2.h:684:14: error: storage class specified for parameter 'ao2_hash_fn'
> /usr/include/asterisk/astobj2.h:728:10: error: expected declaration specifiers or '...' before 'ao2_hash_fn'
> /usr/include/asterisk/astobj2.h:728:32: error: expected declaration specifiers or '...' before 'ao2_callback_fn'
> /usr/include/asterisk/astobj2.h:730:9: error: expected declaration specifiers or '...' before 'ao2_hash_fn'
> /usr/include/asterisk/astobj2.h:730:31: error: expected declaration specifiers or '...' before 'ao2_callback_fn'
> /usr/include/asterisk/astobj2.h:903:78: error: expected declaration specifiers or '...' before 'ao2_callback_fn'
> /usr/include/asterisk/astobj2.h:905:72: error: expected declaration specifiers or '...' before 'ao2_callback_fn'
> /usr/include/asterisk/astobj2.h:937:5: error: expected declaration specifiers or '...' before 'ao2_callback_data_fn'
> /usr/include/asterisk/astobj2.h:940:6: error: expected declaration specifiers or '...' before 'ao2_callback_data_fn'
> In file included from /usr/include/asterisk/poll-compat.h:82:0,
> from /usr/include/asterisk/channel.h:129,
> from chan_capi.h:25,
> from chan_capi.c:32:
> /usr/include/asterisk/select.h:36:21: error: storage class specified for parameter 'ast_FD_SETSIZE'
> /usr/include/asterisk/select.h:43:3: error: storage class specified for parameter 'ast_fdset'
> /usr/include/asterisk/select.h:76:40: error: expected declaration specifiers or '...' before 'ast_fdset'
> /usr/include/asterisk/select.h:76:57: error: expected declaration specifiers or '...' before 'ast_fdset'
> /usr/include/asterisk/select.h:76:74: error: expected declaration specifiers or '...' before 'ast_fdset'
> In file included from /usr/include/asterisk/channel.h:129:0,
> from chan_capi.h:25,
> from chan_capi.c:32:
> /usr/include/asterisk/poll-compat.h:129:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
> In file included from /usr/include/asterisk/channel.h:142:0,
> from chan_capi.h:25,
> from chan_capi.c:32:
> /usr/include/asterisk/sched.h:160:15: error: storage class specified for parameter 'ast_sched_cb'
> /usr/include/asterisk/sched.h:166:2: error: expected specifier-qualifier-list before 'ast_sched_cb'
> /usr/include/asterisk/sched.h:189:56: error: expected declaration specifiers or '...' before 'ast_sched_cb'
> /usr/include/asterisk/sched.h:202:72: error: expected declaration specifiers or '...' before 'ast_sched_cb'
> /usr/include/asterisk/sched.h:217:65: error: expected declaration specifiers or '...' before 'ast_sched_cb'
> /usr/include/asterisk/sched.h:230:81: error: expected declaration specifiers or '...' before 'ast_sched_cb'
> /usr/include/asterisk/sched.h:355:65: error: expected declaration specifiers or '...' before 'ast_sched_cb'
> /usr/include/asterisk/sched.h:375:74: error: expected declaration specifiers or '...' before 'ast_sched_cb'
> In file included from /usr/include/sys/socket.h:28:0,
> from /usr/include/netinet/in.h:25,
> from /usr/include/asterisk/network.h:41,
> from /usr/include/asterisk/utils.h:26,
> from /usr/include/asterisk/config.h:30,
> from /usr/include/asterisk/channel.h:144,
> from chan_capi.h:25,
> from chan_capi.c:32:
> /usr/include/sys/uio.h:40:16: error: storage class specified for parameter 'readv'
> /usr/include/sys/uio.h:51:16: error: storage class specified for parameter 'writev'
> /usr/include/sys/uio.h:66:16: error: storage class specified for parameter 'preadv'
> /usr/include/sys/uio.h:78:16: error: storage class specified for parameter 'pwritev'
> /usr/include/sys/uio.h:104:16: error: storage class specified for parameter 'preadv64'
> /usr/include/sys/uio.h:116:16: error: storage class specified for parameter 'pwritev64'
> In file included from /usr/include/bits/socket.h:175:0,
> from /usr/include/sys/socket.h:40,
> from /usr/include/netinet/in.h:25,
> from /usr/include/asterisk/network.h:41,
> from /usr/include/asterisk/utils.h:26,
> from /usr/include/asterisk/config.h:30,
> from /usr/include/asterisk/channel.h:144,
> from chan_capi.h:25,
> from chan_capi.c:32:
> /usr/include/bits/sockaddr.h:29:28: error: storage class specified for parameter 'sa_family_t'
> In file included from /usr/include/sys/socket.h:40:0,
> from /usr/include/netinet/in.h:25,
> from /usr/include/asterisk/network.h:41,
> from /usr/include/asterisk/utils.h:26,
> from /usr/include/asterisk/config.h:30,
> from /usr/include/asterisk/channel.h:144,
> from chan_capi.h:25,
> from chan_capi.c:32:
> /usr/include/bits/socket.h:180:5: error: expected specifier-qualifier-list before 'sa_family_t'
> /usr/include/bits/socket.h:193:5: error: expected specifier-qualifier-list before 'sa_family_t'
> /usr/include/bits/socket.h:308:24: error: storage class specified for parameter '__cmsg_nxthdr'
> /usr/include/bits/socket.h:316:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
> In file included from /usr/include/sys/socket.h:40:0,
> from /usr/include/netinet/in.h:25,
> from /usr/include/asterisk/network.h:41,
> from /usr/include/asterisk/utils.h:26,
> from /usr/include/asterisk/config.h:30,
> from /usr/include/asterisk/channel.h:144,
> from chan_capi.h:25,
> from chan_capi.c:32:
> /usr/include/bits/socket.h:429:12: error: storage class specified for parameter 'recvmmsg'
> In file included from /usr/include/netinet/in.h:25:0,
> from /usr/include/asterisk/network.h:41,
> from /usr/include/asterisk/utils.h:26,
> from /usr/include/asterisk/config.h:30,
> from /usr/include/asterisk/channel.h:144,
> from chan_capi.h:25,
> from chan_capi.c:32:
> /usr/include/sys/socket.h:93:10: error: storage class specified for parameter '__SOCKADDR_ARG'
> /usr/include/sys/socket.h:97:10: error: storage class specified for parameter '__CONST_SOCKADDR_ARG'
> /usr/include/sys/socket.h:105:12: error: storage class specified for parameter 'socket'
> /usr/include/sys/socket.h:111:12: error: storage class specified for parameter 'socketpair'
> /usr/include/sys/socket.h:115:28: error: expected declaration specifiers or '...' before '__CONST_SOCKADDR_ARG'
> /usr/include/sys/socket.h:119:35: error: expected declaration specifiers or '...' before '__SOCKADDR_ARG'
> /usr/include/sys/socket.h:129:31: error: expected declaration specifiers or '...' before '__CONST_SOCKADDR_ARG'
> /usr/include/sys/socket.h:133:35: error: expected declaration specifiers or '...' before '__SOCKADDR_ARG'
> /usr/include/sys/socket.h:141:16: error: storage class specified for parameter 'send'
> /usr/include/sys/socket.h:148:16: error: storage class specified for parameter 'recv'
> /usr/include/sys/socket.h:156:23: error: expected declaration specifiers or '...' before '__CONST_SOCKADDR_ARG'
> /usr/include/sys/socket.h:167:18: error: expected declaration specifiers or '...' before '__SOCKADDR_ARG'
> /usr/include/sys/socket.h:176:16: error: storage class specified for parameter 'sendmsg'
> /usr/include/sys/socket.h:184:16: error: storage class specified for parameter 'recvmsg'
> /usr/include/sys/socket.h:190:12: error: storage class specified for parameter 'getsockopt'
> /usr/include/sys/socket.h:197:12: error: storage class specified for parameter 'setsockopt'
> /usr/include/sys/socket.h:204:12: error: storage class specified for parameter 'listen'
> /usr/include/sys/socket.h:214:30: error: expected declaration specifiers or '...' before '__SOCKADDR_ARG'
> /usr/include/sys/socket.h:222:31: error: expected declaration specifiers or '...' before '__SOCKADDR_ARG'
> /usr/include/sys/socket.h:232:12: error: storage class specified for parameter 'shutdown'
> /usr/include/sys/socket.h:237:12: error: storage class specified for parameter 'sockatmark'
> /usr/include/sys/socket.h:245:12: error: storage class specified for parameter 'isfdtype'
> In file included from /usr/include/asterisk/network.h:41:0,
> from /usr/include/asterisk/utils.h:26,
> from /usr/include/asterisk/config.h:30,
> from /usr/include/asterisk/channel.h:144,
> from chan_capi.h:25,
> from chan_capi.c:32:
> /usr/include/netinet/in.h:97:18: error: storage class specified for parameter 'in_port_t'
> /usr/include/netinet/in.h:141:18: error: storage class specified for parameter 'in_addr_t'
> /usr/include/netinet/in.h:144:5: error: expected specifier-qualifier-list before 'in_addr_t'
> /usr/include/netinet/in.h:215:30: error: storage class specified for parameter 'in6addr_any'
> /usr/include/netinet/in.h:216:30: error: storage class specified for parameter 'in6addr_loopback'
> /usr/include/netinet/in.h:227:5: error: expected specifier-qualifier-list before 'sa_family_t'
> /usr/include/netinet/in.h:241:5: error: expected specifier-qualifier-list before 'sa_family_t'
> In file included from /usr/include/asterisk/network.h:41:0,
> from /usr/include/asterisk/utils.h:26,
> from /usr/include/asterisk/config.h:30,
> from /usr/include/asterisk/channel.h:144,
> from chan_capi.h:25,
> from chan_capi.c:32:
> /usr/include/netinet/in.h:365:17: error: storage class specified for parameter 'ntohl'
> /usr/include/netinet/in.h:366:17: error: storage class specified for parameter 'ntohs'
> /usr/include/netinet/in.h:368:17: error: storage class specified for parameter 'htonl'
> /usr/include/netinet/in.h:370:17: error: storage class specified for parameter 'htons'
> In file included from /usr/include/asterisk/network.h:41:0,
> from /usr/include/asterisk/utils.h:26,
> from /usr/include/asterisk/config.h:30,
> from /usr/include/asterisk/channel.h:144,
> from chan_capi.h:25,
> from chan_capi.c:32:
> /usr/include/netinet/in.h:440:12: error: storage class specified for parameter 'bindresvport'
> /usr/include/netinet/in.h:443:12: error: storage class specified for parameter 'bindresvport6'
> /usr/include/netinet/in.h:486:12: error: storage class specified for parameter 'inet6_option_space'
> /usr/include/netinet/in.h:488:12: error: storage class specified for parameter 'inet6_option_init'
> /usr/include/netinet/in.h:490:12: error: storage class specified for parameter 'inet6_option_append'
> /usr/include/netinet/in.h:493:17: error: storage class specified for parameter 'inet6_option_alloc'
> /usr/include/netinet/in.h:496:12: error: storage class specified for parameter 'inet6_option_next'
> /usr/include/netinet/in.h:499:12: error: storage class specified for parameter 'inet6_option_find'
> /usr/include/netinet/in.h:505:12: error: storage class specified for parameter 'inet6_opt_init'
> /usr/include/netinet/in.h:506:12: error: storage class specified for parameter 'inet6_opt_append'
> /usr/include/netinet/in.h:509:12: error: storage class specified for parameter 'inet6_opt_finish'
> /usr/include/netinet/in.h:511:12: error: storage class specified for parameter 'inet6_opt_set_val'
> /usr/include/netinet/in.h:513:12: error: storage class specified for parameter 'inet6_opt_next'
> /usr/include/netinet/in.h:516:12: error: storage class specified for parameter 'inet6_opt_find'
> /usr/include/netinet/in.h:519:12: error: storage class specified for parameter 'inet6_opt_get_val'
> /usr/include/netinet/in.h:524:18: error: storage class specified for parameter 'inet6_rth_space'
> /usr/include/netinet/in.h:525:14: error: storage class specified for parameter 'inet6_rth_init'
> /usr/include/netinet/in.h:527:12: error: storage class specified for parameter 'inet6_rth_add'
> /usr/include/netinet/in.h:528:12: error: storage class specified for parameter 'inet6_rth_reverse'
> /usr/include/netinet/in.h:529:12: error: storage class specified for parameter 'inet6_rth_segments'
> /usr/include/netinet/in.h:530:25: error: storage class specified for parameter 'inet6_rth_getaddr'
> /usr/include/netinet/in.h:537:12: error: storage class specified for parameter 'getipv4sourcefilter'
> /usr/include/netinet/in.h:543:12: error: storage class specified for parameter 'setipv4sourcefilter'
> /usr/include/netinet/in.h:551:12: error: storage class specified for parameter 'getsourcefilter'
> /usr/include/netinet/in.h:558:12: error: storage class specified for parameter 'setsourcefilter'
> In file included from /usr/include/asterisk/network.h:42:0,
> from /usr/include/asterisk/utils.h:26,
> from /usr/include/asterisk/config.h:30,
> from /usr/include/asterisk/channel.h:144,
> from chan_capi.h:25,
> from chan_capi.c:32:
> /usr/include/arpa/inet.h:35:18: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'inet_addr'
> /usr/include/arpa/inet.h:38:18: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'inet_lnaof'
> /usr/include/arpa/inet.h:42:38: error: expected declaration specifiers or '...' before 'in_addr_t'
> /usr/include/arpa/inet.h:42:55: error: expected declaration specifiers or '...' before 'in_addr_t'
> /usr/include/arpa/inet.h:46:18: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'inet_netof'
> /usr/include/arpa/inet.h:50:18: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'inet_network'
> /usr/include/arpa/inet.h:54:14: error: storage class specified for parameter 'inet_ntoa'
> /usr/include/arpa/inet.h:59:12: error: storage class specified for parameter 'inet_pton'
> /usr/include/arpa/inet.h:65:22: error: storage class specified for parameter 'inet_ntop'
> /usr/include/arpa/inet.h:74:12: error: storage class specified for parameter 'inet_aton'
> /usr/include/arpa/inet.h:78:25: error: expected declaration specifiers or '...' before 'in_addr_t'
> /usr/include/arpa/inet.h:83:14: error: storage class specified for parameter 'inet_net_ntop'
> /usr/include/arpa/inet.h:89:12: error: storage class specified for parameter 'inet_net_pton'
> /usr/include/arpa/inet.h:95:21: error: storage class specified for parameter 'inet_nsap_addr'
> /usr/include/arpa/inet.h:100:14: error: storage class specified for parameter 'inet_nsap_ntoa'
> In file included from /usr/include/asterisk/network.h:43:0,
> from /usr/include/asterisk/utils.h:26,
> from /usr/include/asterisk/config.h:30,
> from /usr/include/asterisk/channel.h:144,
> from chan_capi.h:25,
> from chan_capi.c:32:
> /usr/include/netinet/in_systm.h:35:19: error: storage class specified for parameter 'n_short'
> /usr/include/netinet/in_systm.h:36:19: error: storage class specified for parameter 'n_long'
> /usr/include/netinet/in_systm.h:37:19: error: storage class specified for parameter 'n_time'
> In file included from /usr/include/netdb.h:33:0,
> from /usr/include/asterisk/network.h:46,
> from /usr/include/asterisk/utils.h:26,
> from /usr/include/asterisk/config.h:30,
> from /usr/include/asterisk/channel.h:144,
> from chan_capi.h:25,
> from chan_capi.c:32:
> /usr/include/rpc/netdb.h:53:13: error: storage class specified for parameter 'setrpcent'
> /usr/include/rpc/netdb.h:54:13: error: storage class specified for parameter 'endrpcent'
> /usr/include/rpc/netdb.h:55:23: error: storage class specified for parameter 'getrpcbyname'
> /usr/include/rpc/netdb.h:56:23: error: storage class specified for parameter 'getrpcbynumber'
> /usr/include/rpc/netdb.h:57:23: error: storage class specified for parameter 'getrpcent'
> /usr/include/rpc/netdb.h:60:12: error: storage class specified for parameter 'getrpcbyname_r'
> /usr/include/rpc/netdb.h:64:12: error: storage class specified for parameter 'getrpcbynumber_r'
> /usr/include/rpc/netdb.h:68:12: error: storage class specified for parameter 'getrpcent_r'
> In file included from /usr/include/asterisk/network.h:46:0,
> from /usr/include/asterisk/utils.h:26,
> from /usr/include/asterisk/config.h:30,
> from /usr/include/asterisk/channel.h:144,
> from chan_capi.h:25,
> from chan_capi.c:32:
> /usr/include/netdb.h:62:13: error: storage class specified for parameter '__h_errno_location'
> /usr/include/netdb.h:93:13: error: storage class specified for parameter 'herror'
> /usr/include/netdb.h:96:22: error: storage class specified for parameter 'hstrerror'
> /usr/include/netdb.h:118:13: error: storage class specified for parameter 'sethostent'
> /usr/include/netdb.h:124:13: error: storage class specified for parameter 'endhostent'
> /usr/include/netdb.h:131:24: error: storage class specified for parameter 'gethostent'
> /usr/include/netdb.h:138:24: error: storage class specified for parameter 'gethostbyaddr'
> /usr/include/netdb.h:145:24: error: storage class specified for parameter '__gethostbyname__is__not__reentrant__use__ast_gethostbyname__instead__'
> /usr/include/netdb.h:156:24: error: storage class specified for parameter 'gethostbyname2'
> /usr/include/netdb.h:168:12: error: storage class specified for parameter 'gethostent_r'
> /usr/include/netdb.h:173:12: error: storage class specified for parameter 'gethostbyaddr_r'
> /usr/include/netdb.h:180:12: error: storage class specified for parameter 'gethostbyname_r'
> /usr/include/netdb.h:186:12: error: storage class specified for parameter 'gethostbyname2_r'
> /usr/include/netdb.h:199:13: error: storage class specified for parameter 'setnetent'
> /usr/include/netdb.h:205:13: error: storage class specified for parameter 'endnetent'
> /usr/include/netdb.h:212:23: error: storage class specified for parameter 'getnetent'
> /usr/include/netdb.h:219:23: error: storage class specified for parameter 'getnetbyaddr'
> /usr/include/netdb.h:225:23: error: storage class specified for parameter 'getnetbyname'
> /usr/include/netdb.h:238:12: error: storage class specified for parameter 'getnetent_r'
> /usr/include/netdb.h:243:12: error: storage class specified for parameter 'getnetbyaddr_r'
> /usr/include/netdb.h:249:12: error: storage class specified for parameter 'getnetbyname_r'
> /usr/include/netdb.h:271:13: error: storage class specified for parameter 'setservent'
> /usr/include/netdb.h:277:13: error: storage class specified for parameter 'endservent'
> /usr/include/netdb.h:284:24: error: storage class specified for parameter 'getservent'
> /usr/include/netdb.h:291:24: error: storage class specified for parameter 'getservbyname'
> /usr/include/netdb.h:299:24: error: storage class specified for parameter 'getservbyport'
> /usr/include/netdb.h:310:12: error: storage class specified for parameter 'getservent_r'
> /usr/include/netdb.h:314:12: error: storage class specified for parameter 'getservbyname_r'
> /usr/include/netdb.h:320:12: error: storage class specified for parameter 'getservbyport_r'
> /usr/include/netdb.h:340:13: error: storage class specified for parameter 'setprotoent'
> /usr/include/netdb.h:346:13: error: storage class specified for parameter 'endprotoent'
> /usr/include/netdb.h:353:25: error: storage class specified for parameter 'getprotoent'
> /usr/include/netdb.h:359:25: error: storage class specified for parameter 'getprotobyname'
> /usr/include/netdb.h:365:25: error: storage class specified for parameter 'getprotobynumber'
> /usr/include/netdb.h:376:12: error: storage class specified for parameter 'getprotoent_r'
> /usr/include/netdb.h:380:12: error: storage class specified for parameter 'getprotobyname_r'
> /usr/include/netdb.h:385:12: error: storage class specified for parameter 'getprotobynumber_r'
> /usr/include/netdb.h:397:12: error: storage class specified for parameter 'setnetgrent'
> /usr/include/netdb.h:405:13: error: storage class specified for parameter 'endnetgrent'
> /usr/include/netdb.h:414:12: error: storage class specified for parameter 'getnetgrent'
> /usr/include/netdb.h:425:12: error: storage class specified for parameter 'innetgr'
> /usr/include/netdb.h:434:12: error: storage class specified for parameter 'getnetgrent_r'
> /usr/include/netdb.h:453:12: error: storage class specified for parameter 'rcmd'
> /usr/include/netdb.h:469:7: error: expected declaration specifiers or '...' before 'sa_family_t'
> /usr/include/netdb.h:481:12: error: storage class specified for parameter 'rexec'
> /usr/include/netdb.h:497:8: error: expected declaration specifiers or '...' before 'sa_family_t'
> /usr/include/netdb.h:507:12: error: storage class specified for parameter 'ruserok'
> /usr/include/netdb.h:519:10: error: expected declaration specifiers or '...' before 'sa_family_t'
> /usr/include/netdb.h:530:12: error: storage class specified for parameter 'iruserok'
> /usr/include/netdb.h:543:4: error: expected declaration specifiers or '...' before 'sa_family_t'
> /usr/include/netdb.h:553:12: error: storage class specified for parameter 'rresvport'
> /usr/include/netdb.h:562:41: error: expected declaration specifiers or '...' before 'sa_family_t'
> /usr/include/netdb.h:664:12: error: storage class specified for parameter 'getaddrinfo'
> /usr/include/netdb.h:670:13: error: storage class specified for parameter 'freeaddrinfo'
> /usr/include/netdb.h:673:22: error: storage class specified for parameter 'gai_strerror'
> /usr/include/netdb.h:679:12: error: storage class specified for parameter 'getnameinfo'
> /usr/include/netdb.h:694:12: error: storage class specified for parameter 'getaddrinfo_a'
> /usr/include/netdb.h:705:12: error: storage class specified for parameter 'gai_suspend'
> /usr/include/netdb.h:709:12: error: storage class specified for parameter 'gai_error'
> /usr/include/netdb.h:712:12: error: storage class specified for parameter 'gai_cancel'
> In file included from /usr/include/asterisk/network.h:48:0,
> from /usr/include/asterisk/utils.h:26,
> from /usr/include/asterisk/config.h:30,
> from /usr/include/asterisk/channel.h:144,
> from chan_capi.h:25,
> from chan_capi.c:32:
> /usr/include/net/if.h:194:21: error: storage class specified for parameter 'if_nametoindex'
> /usr/include/net/if.h:195:14: error: storage class specified for parameter 'if_indextoname'
> /usr/include/net/if.h:198:29: error: storage class specified for parameter 'if_nameindex'
> /usr/include/net/if.h:201:13: error: storage class specified for parameter 'if_freenameindex'
> In file included from /usr/include/asterisk/network.h:49:0,
> from /usr/include/asterisk/utils.h:26,
> from /usr/include/asterisk/config.h:30,
> from /usr/include/asterisk/channel.h:144,
> from chan_capi.h:25,
> from chan_capi.c:32:
> /usr/include/sys/ioctl.h:42:12: error: storage class specified for parameter 'ioctl'
> In file included from /usr/include/asterisk/utils.h:26:0,
> from /usr/include/asterisk/config.h:30,
> from /usr/include/asterisk/channel.h:144,
> from chan_capi.h:25,
> from chan_capi.c:32:
> /usr/include/asterisk/network.h:91:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
> In file included from /usr/include/asterisk/localtime.h:28:0,
> from /usr/include/asterisk/utils.h:35,
> from /usr/include/asterisk/config.h:30,
> from /usr/include/asterisk/channel.h:144,
> from chan_capi.h:25,
> from chan_capi.c:32:
> /usr/include/locale.h:125:14: error: storage class specified for parameter 'setlocale'
> /usr/include/locale.h:128:22: error: storage class specified for parameter 'localeconv'
> /usr/include/locale.h:152:19: error: storage class specified for parameter 'newlocale'
> /usr/include/locale.h:187:19: error: storage class specified for parameter 'duplocale'
> /usr/include/locale.h:191:13: error: storage class specified for parameter 'freelocale'
> /usr/include/locale.h:198:19: error: storage class specified for parameter 'uselocale'
> In file included from /usr/include/asterisk/utils.h:36:0,
> from /usr/include/asterisk/config.h:30,
> from /usr/include/asterisk/channel.h:144,
> from chan_capi.h:25,
> from chan_capi.c:32:
> /usr/include/asterisk/stringfields.h:115:22: error: storage class specified for parameter 'ast_string_field'
> /usr/include/asterisk/stringfields.h:121:20: error: storage class specified for parameter '__ast_string_field_empty'
> /usr/include/asterisk/stringfields.h:140:2: error: expected specifier-qualifier-list before 'ast_string_field'
> /usr/include/asterisk/stringfields.h:165:28: error: expected ';', ',' or ')' before '*' token
> /usr/include/asterisk/stringfields.h:179:1: error: expected declaration specifiers before 'ast_string_field'
> /usr/include/asterisk/stringfields.h:193:7: error: expected declaration specifiers or '...' before 'ast_string_field'
> /usr/include/asterisk/stringfields.h:208:10: error: expected declaration specifiers or '...' before 'ast_string_field'
> /usr/include/asterisk/stringfields.h:294:35: error: expected ';', ',' or ')' before 'ptr'
> /usr/include/asterisk/stringfields.h:298:18: error: storage class specified for parameter 'ast_string_field_allocation'
> In file included from /usr/include/asterisk/config.h:30:0,
> from /usr/include/asterisk/channel.h:144,
> from chan_capi.h:25,
> from chan_capi.c:32:
> /usr/include/asterisk/utils.h:61:21: error: storage class specified for parameter '__unsigned_int_flags_dummy'
> /usr/include/asterisk/utils.h:118:17: error: storage class specified for parameter '__unsigned_int_flags_dummy64'
> /usr/include/asterisk/utils.h:277:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
> /usr/include/asterisk/utils.h:290:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
> /usr/include/asterisk/utils.h:303:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
> /usr/include/asterisk/utils.h:316:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
> /usr/include/asterisk/utils.h:444:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
> /usr/include/asterisk/utils.h:467:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
> /usr/include/asterisk/utils.h:503:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
> /usr/include/asterisk/utils.h:530:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
> /usr/include/asterisk/utils.h:559:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
> /usr/include/asterisk/utils.h:598:1: error: expected declaration specifiers before '__attribute__'
> /usr/include/asterisk/utils.h:598:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
> /usr/include/asterisk/utils.h:662:2: error: expected ':', ',', ';', '}' or '__attribute__' before 'username'
> In file included from /usr/include/asterisk/strings.h:31:0,
> from /usr/include/asterisk/utils.h:713,
> from /usr/include/asterisk/config.h:30,
> from /usr/include/asterisk/channel.h:144,
> from chan_capi.h:25,
> from chan_capi.c:32:
> /usr/include/asterisk/threadstorage.h:173:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
> In file included from /usr/include/asterisk/utils.h:713:0,
> from /usr/include/asterisk/config.h:30,
> from /usr/include/asterisk/channel.h:144,
> from chan_capi.h:25,
> from chan_capi.c:32:
> /usr/include/asterisk/strings.h:64:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
> /usr/include/asterisk/strings.h:90:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
> /usr/include/asterisk/strings.h:104:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
> /usr/include/asterisk/strings.h:129:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
> /usr/include/asterisk/strings.h:147:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
> /usr/include/asterisk/strings.h:212:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
> /usr/include/asterisk/strings.h:405:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
> /usr/include/asterisk/strings.h:426:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
> /usr/include/asterisk/strings.h:441:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
> /usr/include/asterisk/strings.h:451:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
> /usr/include/asterisk/strings.h:466:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
> /usr/include/asterisk/strings.h:477:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
> /usr/include/asterisk/strings.h:488:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
> /usr/include/asterisk/strings.h:504:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
> /usr/include/asterisk/strings.h:560:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
> /usr/include/asterisk/strings.h:585:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
> /usr/include/asterisk/strings.h:645:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
> /usr/include/asterisk/strings.h:776:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
> In file included from /usr/include/asterisk/utils.h:713:0,
> from /usr/include/asterisk/config.h:30,
> from /usr/include/asterisk/channel.h:144,
> from chan_capi.h:25,
> from chan_capi.c:32:
> /usr/include/asterisk/strings.h:787:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
> /usr/include/asterisk/strings.h:794:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
> /usr/include/asterisk/strings.h:801:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
> /usr/include/asterisk/strings.h:808:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
> /usr/include/asterisk/strings.h:815:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
> /usr/include/asterisk/strings.h:838:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
> /usr/include/asterisk/strings.h:859:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
> /usr/include/asterisk/strings.h:883:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
> /usr/include/asterisk/strings.h:908:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
> /usr/include/asterisk/strings.h:923:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
> In file included from /usr/include/asterisk/config.h:30:0,
> from /usr/include/asterisk/channel.h:144,
> from chan_capi.h:25,
> from chan_capi.c:32:
> /usr/include/asterisk/utils.h:728:23: error: storage class specified for parameter 'ast_eid_default'
> In file included from /usr/include/asterisk/channel.h:144:0,
> from chan_capi.h:25,
> from chan_capi.c:32:
> /usr/include/asterisk/config.h:72:3: error: storage class specified for parameter 'require_type'
> In file included from /usr/include/asterisk/channel.h:144:0,
> from chan_capi.h:25,
> from chan_capi.c:32:
> /usr/include/asterisk/config.h:91:28: error: storage class specified for parameter 'config_load_func'
> /usr/include/asterisk/config.h:92:30: error: storage class specified for parameter 'realtime_var_get'
> /usr/include/asterisk/config.h:93:28: error: storage class specified for parameter 'realtime_multi_get'
> /usr/include/asterisk/config.h:94:13: error: storage class specified for parameter 'realtime_update'
> /usr/include/asterisk/config.h:95:13: error: storage class specified for parameter 'realtime_update2'
> /usr/include/asterisk/config.h:96:13: error: storage class specified for parameter 'realtime_store'
> /usr/include/asterisk/config.h:97:13: error: storage class specified for parameter 'realtime_destroy'
> /usr/include/asterisk/config.h:103:13: error: storage class specified for parameter 'realtime_require'
> /usr/include/asterisk/config.h:109:13: error: storage class specified for parameter 'realtime_unload'
> /usr/include/asterisk/config.h:114:2: error: expected specifier-qualifier-list before 'config_load_func'
> /usr/include/asterisk/config.h:713:1: error: expected declaration specifiers or '...' before 'require_type'
> /usr/include/asterisk/config.h:713:1: error: expected declaration specifiers or '...' before 'require_type'
> In file included from /usr/include/asterisk/cdr.h:31:0,
> from /usr/include/asterisk/channel.h:146,
> from chan_capi.h:25,
> from chan_capi.c:32:
> /usr/include/asterisk/data.h:241:15: error: storage class specified for parameter 'ast_data_get_cb'
> /usr/include/asterisk/data.h:249:2: error: expected specifier-qualifier-list before 'ast_data_get_cb'
> /usr/include/asterisk/data.h:674:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
> /usr/include/asterisk/data.h:689:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
> /usr/include/asterisk/data.h:704:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
> /usr/include/asterisk/data.h:719:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
> /usr/include/asterisk/data.h:734:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
> /usr/include/asterisk/data.h:749:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
> /usr/include/asterisk/data.h:764:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
> /usr/include/asterisk/data.h:779:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
> /usr/include/asterisk/data.h:794:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
> /usr/include/asterisk/data.h:811:71: error: expected declaration specifiers or '...' before 'format_t'
> In file included from /usr/include/asterisk/channel.h:146:0,
> from chan_capi.h:25,
> from chan_capi.c:32:
> /usr/include/asterisk/cdr.h:148:15: error: storage class specified for parameter 'ast_cdrbe'
> /usr/include/asterisk/cdr.h:236:58: error: expected declaration specifiers or '...' before 'ast_cdrbe'
> /usr/include/asterisk/cdr.h:267:13: error: storage class specified for parameter 'ast_cdr_noanswer'
> /usr/include/asterisk/cdr.h:425:12: error: storage class specified for parameter 'ast_default_amaflags'
> /usr/include/asterisk/cdr.h:427:13: error: storage class specified for parameter 'ast_default_accountcode'
> In file included from /usr/include/asterisk/ccss.h:30:0,
> from /usr/include/asterisk/channel.h:153,
> from chan_capi.h:25,
> from chan_capi.c:32:
> /usr/include/asterisk/devicestate.h:65:33: error: storage class specified for parameter 'ast_devstate_prov_cb_type'
> /usr/include/asterisk/devicestate.h:203:46: error: expected declaration specifiers or '...' before 'ast_devstate_prov_cb_type'
> In file included from /usr/include/asterisk/channel.h:153:0,
> from chan_capi.h:25,
> from chan_capi.c:32:
> /usr/include/asterisk/ccss.h:1066:55: error: expected declaration specifiers or '...' before 'ao2_callback_fn'
> /usr/include/asterisk/ccss.h:1570:16: error: storage class specified for parameter 'ast_cc_callback_fn'
> /usr/include/asterisk/ccss.h:1587:100: error: expected declaration specifiers or '...' before 'ast_cc_callback_fn'
> In file included from /usr/include/asterisk/channel.h:154:0,
> from chan_capi.h:25,
> from chan_capi.c:32:
> /usr/include/asterisk/framehook.h:184:29: error: storage class specified for parameter 'ast_framehook_event_callback'
> /usr/include/asterisk/framehook.h:200:16: error: storage class specified for parameter 'ast_framehook_destroy_callback'
> /usr/include/asterisk/framehook.h:208:2: error: expected specifier-qualifier-list before 'ast_framehook_event_callback'
> In file included from chan_capi.h:25:0,
> from chan_capi.c:32:
> /usr/include/asterisk/channel.h:175:28: error: storage class specified for parameter 'ast_group_t'
> /usr/include/asterisk/channel.h:473:15: error: storage class specified for parameter 'ast_acf_read_fn_t'
> /usr/include/asterisk/channel.h:476:15: error: storage class specified for parameter 'ast_acf_read2_fn_t'
> /usr/include/asterisk/channel.h:479:15: error: storage class specified for parameter 'ast_acf_write_fn_t'
> /usr/include/asterisk/channel.h:486:2: error: expected specifier-qualifier-list before 'ast_acf_write_fn_t'
> /usr/include/asterisk/channel.h:491:3: error: storage class specified for parameter 'ast_chan_write_info_t'
> /usr/include/asterisk/channel.h:511:2: error: expected specifier-qualifier-list before 'format_t'
> In file included from chan_capi.h:25:0,
> from chan_capi.c:32:
> /usr/include/asterisk/channel.h:648:22: error: storage class specified for parameter 'global_fin'
> /usr/include/asterisk/channel.h:648:34: error: storage class specified for parameter 'global_fout'
> /usr/include/asterisk/channel.h:765:2: error: expected ':', ',', ';', '}' or '__attribute__' before 'name'
> /usr/include/asterisk/channel.h:1259:51: error: expected declaration specifiers or '...' before 'format_t'
> /usr/include/asterisk/channel.h:1277:60: error: expected declaration specifiers or '...' before 'format_t'
> /usr/include/asterisk/channel.h:1295:62: error: expected declaration specifiers or '...' before 'format_t'
> /usr/include/asterisk/channel.h:1308:106: error: expected declaration specifiers or '...' before 'format_t'
> /usr/include/asterisk/channel.h:1730:51: error: expected declaration specifiers or '...' before 'format_t'
> /usr/include/asterisk/channel.h:1739:52: error: expected declaration specifiers or '...' before 'format_t'
> /usr/include/asterisk/channel.h:2006:1: error: expected declaration specifiers before 'format_t'
> /usr/include/asterisk/channel.h:2294:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
> /usr/include/asterisk/channel.h:2302:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
> /usr/include/asterisk/channel.h:2321:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
> /usr/include/asterisk/channel.h:2340:1: error: expected declaration specifiers before 'ast_group_t'
> /usr/include/asterisk/channel.h:2343:46: error: expected declaration specifiers or '...' before 'ast_group_t'
> /usr/include/asterisk/channel.h:2507:42: error: expected declaration specifiers or '...' before 'ao2_callback_data_fn'
> In file included from chan_capi.h:27:0,
> from chan_capi.c:32:
> /usr/include/asterisk/module.h:304:62: error: storage class specified for parameter 'ast_module_info'
> In file included from /usr/include/asterisk/pbx.h:30:0,
> from chan_capi.h:28,
> from chan_capi.c:32:
> /usr/include/asterisk/hashtab.h:98:2: error: expected specifier-qualifier-list before 'ast_rwlock_t'
> In file included from chan_capi.h:28:0,
> from chan_capi.c:32:
> /usr/include/asterisk/pbx.h:79:15: error: storage class specified for parameter 'ast_state_cb_type'
> /usr/include/asterisk/pbx.h:84:2: error: expected ':', ',', ';', '}' or '__attribute__' before 'synopsis'
> /usr/include/asterisk/pbx.h:111:14: error: storage class specified for parameter 'ast_switch_f'
> /usr/include/asterisk/pbx.h:120:2: error: expected specifier-qualifier-list before 'ast_switch_f'
> In file included from chan_capi.h:28:0,
> from chan_capi.c:32:
> /usr/include/asterisk/pbx.h:424:8: error: expected declaration specifiers or '...' before 'ast_state_cb_type'
> /usr/include/asterisk/pbx.h:437:37: error: expected declaration specifiers or '...' before 'ast_state_cb_type'
> /usr/include/asterisk/pbx.h:890:46: error: expected declaration specifiers or '...' before 'format_t'
> In file included from chan_capi.h:28:0,
> from chan_capi.c:32:
> /usr/include/asterisk/pbx.h:894:44: error: expected declaration specifiers or '...' before 'format_t'
> In file included from chan_capi.h:31:0,
> from chan_capi.c:32:
> /usr/include/asterisk/features.h:53:15: error: storage class specified for parameter 'ast_feature_operation'
> In file included from chan_capi.h:31:0,
> from chan_capi.c:32:
> /usr/include/asterisk/features.h:72:2: error: expected specifier-qualifier-list before 'ast_feature_operation'
> In file included from chan_capi.c:32:0:
> chan_capi.h:37:26: fatal error: asterisk/rtp.h: No such file or directory
> compilation terminated.
> make[1]: *** [chan_capi.o] Error 1
The full build log is available from:
http://people.debian.org/~lucas/logs/2011/05/02/asterisk-chan-capi_1.1.5-1_lsid64.buildlog
A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!
About the archive rebuild: The rebuild was done on about 50 AMD64 nodes
of the Grid'5000 platform, using a clean chroot. Internet was not
accessible from the build systems.
--
| Lucas Nussbaum
| lucas at lucas-nussbaum.net http://www.lucas-nussbaum.net/ |
| jabber: lucas at nussbaum.fr GPG: 1024D/023B3F4F |
More information about the Pkg-voip-maintainers
mailing list