make[1]: Leaving directory `/usr/src/asterisk-oh323-0.7.0/wrapper' make[1]: Entering directory `/usr/src/asterisk-oh323-0.7.0/asterisk-driver' gcc -Wall -pipe -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -D_REENTRANT -D_GNU_SOURCE -I/usr/src/asterisk/include/asterisk -I../wrapper -g -c -o chan_oh323.o chan_oh323.c In file included from /usr/include/string.h:33, from chan_oh323.c:34: /usr/lib/gcc-lib/i386-redhat-linux/3.2.3/include/stddef.h:213: syntax error before "typedef" In file included from chan_oh323.c:34: /usr/include/string.h:38: syntax error before "extern" /usr/include/string.h:39: syntax error before "__THROW" /usr/include/string.h:43: syntax error before "__THROW" /usr/include/string.h:56: syntax error before "__BEGIN_NAMESPACE_STD" /usr/include/string.h:58: syntax error before "extern" /usr/include/string.h:58: syntax error before "__THROW" /usr/include/string.h:62: syntax error before "__THROW" /usr/include/string.h:66: syntax error before "__THROW" /usr/include/string.h:80: syntax error before "__BEGIN_NAMESPACE_STD" /usr/include/string.h:82: syntax error before "extern" /usr/include/string.h:83: syntax error before "__THROW" /usr/include/string.h:86: syntax error before "__THROW" /usr/include/string.h:90: syntax error before "__THROW" /usr/include/string.h:93: syntax error before "__THROW" /usr/include/string.h:97: syntax error before "__THROW" /usr/include/string.h:100: syntax error before "__THROW" /usr/include/string.h:104: syntax error before "__THROW" /usr/include/string.h:107: syntax error before "__THROW" /usr/include/string.h:160: syntax error before "__BEGIN_NAMESPACE_STD" /usr/include/string.h:162: syntax error before "extern" /usr/include/string.h:162: syntax error before "__THROW" /usr/include/string.h:164: syntax error before "__THROW" /usr/include/string.h:173: syntax error before "__BEGIN_NAMESPACE_STD" /usr/include/string.h:176: syntax error before "extern" /usr/include/string.h:177: syntax error before "__THROW" /usr/include/string.h:181: syntax error before "__THROW" /usr/include/string.h:184: syntax error before "__THROW" /usr/include/string.h:187: syntax error before "__THROW" /usr/include/string.h:192: syntax error before "__THROW" /usr/include/string.h:197: syntax error before "extern" /usr/include/string.h:199: syntax error before "__THROW" /usr/include/string.h:230: syntax error before "extern" /usr/include/string.h:230: syntax error before "__THROW" /usr/include/string.h:241: syntax error before "__BEGIN_NAMESPACE_STD" /usr/include/string.h:243: syntax error before "extern" /usr/include/string.h:243: syntax error before "__THROW" /usr/include/string.h:253: syntax error before "extern" /usr/include/string.h:253: syntax error before "__THROW" In file included from /usr/include/pthread.h:20, from /usr/include/asterisk/lock.h:17, from chan_oh323.c:35: /usr/src/asterisk/include/asterisk/sched.h:30: syntax error before "struct" In file included from /usr/include/bits/time.h:39, from /usr/include/time.h:42, from /usr/include/pthread.h:21, from /usr/include/asterisk/lock.h:17, from chan_oh323.c:35: /usr/include/bits/types.h:34: syntax error before "typedef" In file included from /usr/include/pthread.h:21, from /usr/include/asterisk/lock.h:17, from chan_oh323.c:35: /usr/include/time.h:60: syntax error before "typedef" /usr/include/time.h:74: syntax error before "__BEGIN_NAMESPACE_STD" /usr/include/time.h:76: syntax error before "typedef" /usr/include/time.h:129: syntax error before "__BEGIN_NAMESPACE_STD" /usr/include/time.h:131: syntax error before "struct" /usr/include/time.h:178: syntax error before "__BEGIN_NAMESPACE_STD" /usr/include/time.h:181: syntax error before "extern" /usr/include/time.h:181: syntax error before "__THROW" /usr/include/time.h:184: syntax error before "__THROW" /usr/include/time.h:188: syntax error before "__THROW" /usr/include/time.h:191: syntax error before "__THROW" /usr/include/time.h:199: syntax error before "__THROW" /usr/include/time.h:226: syntax error before "__BEGIN_NAMESPACE_STD" /usr/include/time.h:229: syntax error before "extern" /usr/include/time.h:229: syntax error before "__THROW" /usr/include/time.h:233: syntax error before "__THROW" /usr/include/time.h:248: syntax error before "__BEGIN_NAMESPACE_STD" /usr/include/time.h:251: syntax error before "extern" /usr/include/time.h:251: syntax error before "__THROW" /usr/include/time.h:254: syntax error before "__THROW" /usr/include/time.h:272: syntax error before "extern" In file included from /usr/include/pthread.h:24, from /usr/include/asterisk/lock.h:17, from chan_oh323.c:35: /usr/include/signal.h:31: syntax error before "__BEGIN_DECLS" In file included from /usr/include/signal.h:33, from /usr/include/pthread.h:24, from /usr/include/asterisk/lock.h:17, from chan_oh323.c:35: /usr/include/bits/sigset.h:23: syntax error before "typedef" In file included from /usr/include/bits/pthreadtypes.h:23, from /usr/include/pthread.h:25, from /usr/include/asterisk/lock.h:17, from chan_oh323.c:35: /usr/include/bits/sched.h:83: syntax error before "struct" In file included from /usr/include/asterisk/lock.h:17, from chan_oh323.c:35: /usr/include/pthread.h:59: syntax error before "enum" /usr/include/pthread.h:166: syntax error before "__THROW" /usr/include/pthread.h:169: syntax error before "__THROW" /usr/include/pthread.h:172: syntax error before "__THROW" /usr/include/pthread.h:186: syntax error before "__THROW" /usr/include/pthread.h:194: syntax error before "__THROW" /usr/include/pthread.h:197: syntax error before "__THROW" /usr/include/pthread.h:201: syntax error before "__THROW" /usr/include/pthread.h:205: syntax error before "__THROW" /usr/include/pthread.h:210: syntax error before "__THROW" /usr/include/pthread.h:216: syntax error before "__THROW" /usr/include/pthread.h:220: syntax error before "__THROW" /usr/include/pthread.h:225: syntax error before "__THROW" /usr/include/pthread.h:229: syntax error before "__THROW" /usr/include/pthread.h:234: syntax error before "__THROW" /usr/include/pthread.h:238: syntax error before "__THROW" /usr/include/pthread.h:242: syntax error before "__THROW" /usr/include/pthread.h:260: syntax error before "__THROW" /usr/include/pthread.h:265: syntax error before "__THROW" /usr/include/pthread.h:284: syntax error before "__THROW" /usr/include/pthread.h:289: syntax error before "__THROW" /usr/include/pthread.h:304: syntax error before "__THROW" /usr/include/pthread.h:310: syntax error before "__THROW" /usr/include/pthread.h:334: syntax error before "__THROW" /usr/include/pthread.h:337: syntax error before "__THROW" /usr/include/pthread.h:340: syntax error before "__THROW" /usr/include/pthread.h:343: syntax error before "__THROW" /usr/include/pthread.h:353: syntax error before "__THROW" /usr/include/pthread.h:360: syntax error before "__THROW" /usr/include/pthread.h:363: syntax error before "__THROW" /usr/include/pthread.h:368: syntax error before "__THROW" /usr/include/pthread.h:372: syntax error before "__THROW" /usr/include/pthread.h:393: syntax error before "__THROW" /usr/include/pthread.h:396: syntax error before "__THROW" /usr/include/pthread.h:399: syntax error before "__THROW" /usr/include/pthread.h:402: syntax error before "__THROW" /usr/include/pthread.h:421: syntax error before "__THROW" /usr/include/pthread.h:424: syntax error before "__THROW" /usr/include/pthread.h:429: syntax error before "__THROW" /usr/include/pthread.h:433: syntax error before "__THROW" /usr/include/pthread.h:558: syntax error before "__THROW" /usr/include/pthread.h:561: syntax error before "__THROW" /usr/include/pthread.h:565: syntax error before "__THROW" /usr/include/pthread.h:568: syntax error before "__THROW" /usr/include/pthread.h:578: syntax error before "__THROW" /usr/include/pthread.h:613: syntax error before "__THROW" /usr/include/pthread.h:622: syntax error before "__THROW" In file included from /usr/include/pthread.h:656, from /usr/include/asterisk/lock.h:17, from chan_oh323.c:35: /usr/include/bits/sigthread.h:33: syntax error before "__THROW" /usr/include/bits/sigthread.h:36: syntax error before "__THROW" In file included from /usr/include/asterisk/lock.h:17, from chan_oh323.c:35: /usr/include/pthread.h:674: syntax error before "__THROW" /usr/include/pthread.h:679: syntax error before "__THROW" In file included from /usr/include/netinet/in.h:23, from /usr/include/netdb.h:28, from /usr/include/asterisk/lock.h:18, from chan_oh323.c:35: /usr/include/stdint.h:37: syntax error before "typedef" In file included from /usr/include/sys/uio.h:24, from /usr/include/sys/socket.h:27, from /usr/include/netinet/in.h:24, from /usr/include/netdb.h:28, from /usr/include/asterisk/lock.h:18, from chan_oh323.c:35: /usr/include/sys/types.h:29: syntax error before "__BEGIN_DECLS" /usr/include/sys/types.h:46: syntax error before "typedef" In file included from /usr/include/sys/uio.h:24, from /usr/include/sys/socket.h:27, from /usr/include/netinet/in.h:24, from /usr/include/netdb.h:28, from /usr/include/asterisk/lock.h:18, from chan_oh323.c:35: /usr/include/sys/types.h:158:20: missing binary operator before '(' In file included from /usr/include/sys/socket.h:27, from /usr/include/netinet/in.h:24, from /usr/include/netdb.h:28, from /usr/include/asterisk/lock.h:18, from chan_oh323.c:35: /usr/include/sys/uio.h:26: syntax error before "__BEGIN_DECLS" In file included from /usr/include/sys/uio.h:29, from /usr/include/sys/socket.h:27, from /usr/include/netinet/in.h:24, from /usr/include/netdb.h:28, from /usr/include/asterisk/lock.h:18, from chan_oh323.c:35: /usr/include/bits/uio.h:42: syntax error before "struct" In file included from /usr/include/sys/socket.h:35, from /usr/include/netinet/in.h:24, from /usr/include/netdb.h:28, from /usr/include/asterisk/lock.h:18, from chan_oh323.c:35: /usr/include/bits/socket.h:36: syntax error before "typedef" In file included from /usr/include/sys/socket.h:35, from /usr/include/netinet/in.h:24, from /usr/include/netdb.h:28, from /usr/include/asterisk/lock.h:18, from chan_oh323.c:35: /usr/include/bits/socket.h:237: syntax error before "__flexarr" /usr/include/bits/socket.h:258: syntax error before "__THROW" In file included from /usr/include/netinet/in.h:24, from /usr/include/netdb.h:28, from /usr/include/asterisk/lock.h:18, from chan_oh323.c:35: /usr/include/sys/socket.h:65:43: missing binary operator before '(' In file included from /usr/include/netinet/in.h:24, from /usr/include/netdb.h:28, from /usr/include/asterisk/lock.h:18, from chan_oh323.c:35: /usr/include/sys/socket.h:100: syntax error before "__THROW" /usr/include/sys/socket.h:107: syntax error before "__THROW" /usr/include/sys/socket.h:111: syntax error before "__THROW" /usr/include/sys/socket.h:115: syntax error before "__THROW" /usr/include/sys/socket.h:129: syntax error before "__THROW" /usr/include/sys/socket.h:187: syntax error before "__THROW" /usr/include/sys/socket.h:193: syntax error before "__THROW" /usr/include/sys/socket.h:199: syntax error before "__THROW" /usr/include/sys/socket.h:218: syntax error before "__THROW" In file included from /usr/include/netdb.h:28, from /usr/include/asterisk/lock.h:18, from chan_oh323.c:35: /usr/include/netinet/in.h:28: syntax error before "__BEGIN_DECLS" /usr/include/netinet/in.h:31: syntax error before "enum" In file included from /usr/include/netdb.h:28, from /usr/include/asterisk/lock.h:18, from chan_oh323.c:35: /usr/include/netinet/in.h:262: syntax error before "__THROW" /usr/include/netinet/in.h:264: syntax error before "__THROW" /usr/include/netinet/in.h:266: syntax error before "__THROW" /usr/include/netinet/in.h:268: syntax error before "__THROW" In file included from /usr/include/netdb.h:28, from /usr/include/asterisk/lock.h:18, from chan_oh323.c:35: /usr/include/netinet/in.h:336: syntax error before "__THROW" /usr/include/netinet/in.h:340: syntax error before "__THROW" In file included from /usr/include/netdb.h:43, from /usr/include/asterisk/lock.h:18, from chan_oh323.c:35: /usr/include/bits/netdb.h:27: syntax error before "struct" In file included from /usr/include/asterisk/lock.h:18, from chan_oh323.c:35: /usr/include/netdb.h:61: syntax error before "extern" /usr/include/netdb.h:61: syntax error before "__THROW" /usr/include/netdb.h:88: syntax error before "__THROW" /usr/include/netdb.h:91: syntax error before "__THROW" In file included from chan_oh323.c:35: /usr/include/asterisk/lock.h:294: syntax error before "typedef" /usr/include/asterisk/lock.h: In function `ast_mutex_init': /usr/include/asterisk/lock.h:300: `PTHREAD_MUTEX_RECURSIVE' undeclared (first use in this function) /usr/include/asterisk/lock.h:300: (Each undeclared identifier is reported only once /usr/include/asterisk/lock.h:300: for each function it appears in.) In file included from /usr/include/sys/time.h:30, from /usr/include/asterisk/frame.h:24, from /usr/include/asterisk/channel.h:17, from chan_oh323.c:36: /usr/include/sys/select.h: At top level: /usr/include/sys/select.h:109: syntax error before "extern" In file included from /usr/include/asterisk/frame.h:24, from /usr/include/asterisk/channel.h:17, from chan_oh323.c:36: /usr/include/sys/time.h:38: syntax error before "__BEGIN_DECLS" /usr/include/sys/time.h:64: syntax error before "typedef" /usr/include/sys/time.h:73: syntax error before "__THROW" /usr/include/sys/time.h:126: syntax error before "__THROW" /usr/include/sys/time.h:133: syntax error before "__THROW" /usr/include/sys/time.h:139: syntax error before "__THROW" In file included from /usr/include/asterisk/channel.h:17, from chan_oh323.c:36: /usr/include/asterisk/frame.h:64: syntax error before "struct" In file included from /usr/include/asterisk/channel.h:20, from chan_oh323.c:36: /usr/include/unistd.h:256: syntax error before "extern" /usr/include/unistd.h:256: syntax error before "__THROW" /usr/include/unistd.h:286: syntax error before "__THROW" /usr/include/unistd.h:369: syntax error before "__THROW" /usr/include/unistd.h:378: syntax error before "__THROW" /usr/include/unistd.h:419: syntax error before "__THROW" /usr/include/unistd.h:434: syntax error before "__THROW" /usr/include/unistd.h:448: syntax error before "__THROW" /usr/include/unistd.h:466: syntax error before "__THROW" /usr/include/unistd.h:469: syntax error before "__THROW" /usr/include/unistd.h:481: syntax error before "__THROW" /usr/include/unistd.h:492: syntax error before "__THROW" /usr/include/unistd.h:496: syntax error before "__THROW" /usr/include/unistd.h:500: syntax error before "__THROW" /usr/include/unistd.h:504: syntax error before "__THROW" /usr/include/unistd.h:509: syntax error before "__THROW" In file included from /usr/include/asterisk/channel.h:20, from chan_oh323.c:36: /usr/include/unistd.h:528: syntax error before "__THROW" /usr/include/unistd.h:531: syntax error before "__THROW" /usr/include/unistd.h:534: syntax error before "__THROW" /usr/include/unistd.h:543: syntax error before "__THROW" /usr/include/unistd.h:546: syntax error before "__THROW" /usr/include/unistd.h:551: syntax error before "__THROW" /usr/include/unistd.h:561: syntax error before "__THROW" /usr/include/unistd.h:570: syntax error before "__THROW" /usr/include/unistd.h:605: syntax error before "__THROW" /usr/include/unistd.h:613: syntax error before "__THROW" /usr/include/unistd.h:616: syntax error before "__THROW" /usr/include/unistd.h:619: syntax error before "__THROW" /usr/include/unistd.h:622: syntax error before "__THROW" /usr/include/unistd.h:627: syntax error before "__THROW" /usr/include/unistd.h:638: syntax error before "__THROW" /usr/include/unistd.h:655: syntax error before "__THROW" /usr/include/unistd.h:690: syntax error before "__THROW" /usr/include/unistd.h:703: syntax error before "__THROW" /usr/include/unistd.h:707: syntax error before "__THROW" /usr/include/unistd.h:711: syntax error before "__THROW" /usr/include/unistd.h:722: syntax error before "__THROW" /usr/include/unistd.h:736: syntax error before "__THROW" /usr/include/unistd.h:739: syntax error before "__THROW" /usr/include/unistd.h:743: syntax error before "__THROW" /usr/include/unistd.h:746: syntax error before "__THROW" In file included from /usr/include/asterisk/channel.h:21, from chan_oh323.c:36: /usr/include/setjmp.h:28: syntax error before "__BEGIN_DECLS" In file included from /usr/include/setjmp.h:30, from /usr/include/asterisk/channel.h:21, from chan_oh323.c:36: /usr/include/bits/setjmp.h:38: syntax error before "typedef" In file included from /usr/include/asterisk/channel.h:21, from chan_oh323.c:36: /usr/include/setjmp.h:36: syntax error before "typedef" /usr/include/setjmp.h:50: syntax error before "__THROW" /usr/include/setjmp.h:53: syntax error before "__USING_NAMESPACE_STD" /usr/include/setjmp.h: In function `__USING_NAMESPACE_STD': /usr/include/setjmp.h:58: storage class specified for parameter `__sigsetjmp' /usr/include/setjmp.h:58: syntax error before "__THROW" /usr/include/setjmp.h:63: storage class specified for parameter `_setjmp' /usr/include/setjmp.h:63: syntax error before "__THROW" In file included from /usr/include/asterisk/channel.h:25, from chan_oh323.c:36: /usr/include/sys/poll.h:41: syntax error before "__BEGIN_DECLS" In file included from /usr/include/asterisk/channel.h:37, from chan_oh323.c:36: /usr/include/asterisk/cdr.h:84: storage class specified for parameter `ast_cdrbe' /usr/include/asterisk/cdr.h:90: storage class specified for parameter `ast_cdr_alloc' /usr/include/asterisk/cdr.h:96: storage class specified for parameter `ast_cdr_free' /usr/include/asterisk/cdr.h:105: storage class specified for parameter `ast_cdr_init' /usr/include/asterisk/cdr.h:114: storage class specified for parameter `ast_cdr_setcid' /usr/include/asterisk/cdr.h:124: syntax error before "ast_cdrbe" /usr/include/asterisk/cdr.h:124: storage class specified for parameter `ast_cdr_register' /usr/include/asterisk/cdr.h:131: storage class specified for parameter `ast_cdr_unregister' /usr/include/asterisk/cdr.h:139: storage class specified for parameter `ast_cdr_start' /usr/include/asterisk/cdr.h:146: storage class specified for parameter `ast_cdr_answer' /usr/include/asterisk/cdr.h:153: storage class specified for parameter `ast_cdr_busy' /usr/include/asterisk/cdr.h:160: storage class specified for parameter `ast_cdr_failed' /usr/include/asterisk/cdr.h:168: storage class specified for parameter `ast_cdr_disposition' /usr/include/asterisk/cdr.h:176: storage class specified for parameter `ast_cdr_end' /usr/include/asterisk/cdr.h:184: storage class specified for parameter `ast_cdr_post' /usr/include/asterisk/cdr.h:192: storage class specified for parameter `ast_cdr_setdestchan' /usr/include/asterisk/cdr.h:202: storage class specified for parameter `ast_cdr_setapp' /usr/include/asterisk/cdr.h:210: storage class specified for parameter `ast_cdr_amaflags2int' /usr/include/asterisk/cdr.h:218: storage class specified for parameter `ast_cdr_disp2str' /usr/include/asterisk/cdr.h:226: storage class specified for parameter `ast_cdr_reset' /usr/include/asterisk/cdr.h:234: storage class specified for parameter `ast_cdr_flags2str' /usr/include/asterisk/cdr.h:236: storage class specified for parameter `ast_cdr_setaccount' /usr/include/asterisk/cdr.h:237: storage class specified for parameter `ast_cdr_setamaflags' /usr/include/asterisk/cdr.h:240: storage class specified for parameter `ast_cdr_setuserfield' /usr/include/asterisk/cdr.h:241: storage class specified for parameter `ast_cdr_appenduserfield' /usr/include/asterisk/cdr.h:245: storage class specified for parameter `ast_cdr_update' /usr/include/asterisk/cdr.h:248: storage class specified for parameter `ast_default_amaflags' /usr/include/asterisk/cdr.h:250: storage class specified for parameter `ast_default_accountcode' /usr/include/asterisk/cdr.h:257: storage class specified for parameter `ast_cdr_append' In file included from /usr/include/asterisk/monitor.h:4, from /usr/include/asterisk/channel.h:38, from chan_oh323.c:36: /usr/include/stdio.h:30: syntax error before "__BEGIN_DECLS" In file included from /usr/include/_G_config.h:14, from /usr/include/libio.h:32, from /usr/include/stdio.h:72, from /usr/include/asterisk/monitor.h:4, from /usr/include/asterisk/channel.h:38, from chan_oh323.c:36: /usr/lib/gcc-lib/i386-redhat-linux/3.2.3/include/stddef.h:325: storage class specified for parameter `wchar_t' /usr/lib/gcc-lib/i386-redhat-linux/3.2.3/include/stddef.h:354: storage class specified for parameter `wint_t' In file included from /usr/include/_G_config.h:24, from /usr/include/libio.h:32, from /usr/include/stdio.h:72, from /usr/include/asterisk/monitor.h:4, from /usr/include/asterisk/channel.h:38, from chan_oh323.c:36: /usr/include/wchar.h:81: syntax error before "wint_t" /usr/include/wchar.h:83: syntax error before '}' token In file included from /usr/include/libio.h:32, from /usr/include/stdio.h:72, from /usr/include/asterisk/monitor.h:4, from /usr/include/asterisk/channel.h:38, from chan_oh323.c:36: /usr/include/_G_config.h:29: syntax error before "__mbstate_t" /usr/include/_G_config.h:34: syntax error before "__mbstate_t" In file included from /usr/include/_G_config.h:44, from /usr/include/libio.h:32, from /usr/include/stdio.h:72, from /usr/include/asterisk/monitor.h:4, from /usr/include/asterisk/channel.h:38, from chan_oh323.c:36: /usr/include/gconv.h:72: storage class specified for parameter `__gconv_fct' /usr/include/gconv.h:75: syntax error before '*' token /usr/include/gconv.h:75: storage class specified for parameter `wint_t' /usr/include/gconv.h:75: `wint_t' declared as function returning a function /usr/include/gconv.h:75: conflicting types for `wint_t' /usr/lib/gcc-lib/i386-redhat-linux/3.2.3/include/stddef.h:354: previous declaration of `wint_t' /usr/include/gconv.h:78: storage class specified for parameter `__gconv_init_fct' /usr/include/gconv.h:79: storage class specified for parameter `__gconv_end_fct' /usr/include/gconv.h:88: storage class specified for parameter `__gconv_trans_fct' /usr/include/gconv.h:93: storage class specified for parameter `__gconv_trans_context_fct' /usr/include/gconv.h:97: storage class specified for parameter `__gconv_trans_query_fct' /usr/include/gconv.h:100: storage class specified for parameter `__gconv_trans_init_fct' /usr/include/gconv.h:101: storage class specified for parameter `__gconv_trans_end_fct' /usr/include/gconv.h:106: syntax error before "__gconv_trans_fct" /usr/include/gconv.h:111: syntax error before '}' token /usr/include/gconv.h:125: syntax error before "__gconv_fct" /usr/include/gconv.h:140: redeclaration of `__data' /usr/include/gconv.h:109: `__data' previously declared here /usr/include/gconv.h:141: syntax error before '}' token /usr/include/gconv.h:162: syntax error before "__mbstate_t" /usr/include/gconv.h:168: syntax error before '}' token /usr/include/gconv.h:176: field `__data' has incomplete type /usr/include/gconv.h:176: syntax error before "__flexarr" In file included from /usr/include/libio.h:32, from /usr/include/stdio.h:72, from /usr/include/asterisk/monitor.h:4, from /usr/include/asterisk/channel.h:38, from chan_oh323.c:36: /usr/include/_G_config.h:47: field `__cd' has incomplete type /usr/include/_G_config.h:50: field `__cd' has incomplete type /usr/include/_G_config.h:51: field `__data' has incomplete type /usr/include/_G_config.h:53: storage class specified for parameter `_G_iconv_t' /usr/include/_G_config.h:55: storage class specified for parameter `_G_int16_t' /usr/include/_G_config.h:56: storage class specified for parameter `_G_int32_t' /usr/include/_G_config.h:57: storage class specified for parameter `_G_uint16_t' /usr/include/_G_config.h:58: storage class specified for parameter `_G_uint32_t' In file included from /usr/include/libio.h:53, from /usr/include/stdio.h:72, from /usr/include/asterisk/monitor.h:4, from /usr/include/asterisk/channel.h:38, from chan_oh323.c:36: /usr/lib/gcc-lib/i386-redhat-linux/3.2.3/include/stdarg.h:43: storage class specified for parameter `__gnuc_va_list' In file included from /usr/include/libio.h:62, from /usr/include/stdio.h:72, from /usr/include/asterisk/monitor.h:4, from /usr/include/asterisk/channel.h:38, from chan_oh323.c:36: /usr/include/sys/cdefs.h:43:43: missing binary operator before '(' /usr/include/sys/cdefs.h:122:19: missing binary operator before '(' /usr/include/sys/cdefs.h:173:19: missing binary operator before '(' /usr/include/sys/cdefs.h:182:19: missing binary operator before '(' /usr/include/sys/cdefs.h:191:19: missing binary operator before '(' /usr/include/sys/cdefs.h:200:19: missing binary operator before '(' /usr/include/sys/cdefs.h:212:19: missing binary operator before '(' /usr/include/sys/cdefs.h:222:19: missing binary operator before '(' /usr/include/sys/cdefs.h:233:20: missing binary operator before '(' /usr/include/sys/cdefs.h:238:20: missing binary operator before '(' /usr/include/sys/cdefs.h:245:19: missing binary operator before '(' In file included from /usr/include/stdio.h:72, from /usr/include/asterisk/monitor.h:4, from /usr/include/asterisk/channel.h:38, from chan_oh323.c:36: /usr/include/libio.h:173: storage class specified for parameter `_IO_lock_t' /usr/include/libio.h:303: syntax error before "_IO_lock_t" /usr/include/libio.h:325: syntax error before '}' token /usr/include/libio.h:328: storage class specified for parameter `_IO_FILE' /usr/include/libio.h:333: storage class specified for parameter `_IO_2_1_stdin_' /usr/include/libio.h:334: storage class specified for parameter `_IO_2_1_stdout_' /usr/include/libio.h:335: storage class specified for parameter `_IO_2_1_stderr_' /usr/include/libio.h:351: storage class specified for parameter `__io_read_fn' /usr/include/libio.h:360: storage class specified for parameter `__io_write_fn' /usr/include/libio.h:368: storage class specified for parameter `__io_seek_fn' /usr/include/libio.h:371: storage class specified for parameter `__io_close_fn' /usr/include/libio.h:376: storage class specified for parameter `__io_read_fn' /usr/include/libio.h:376: conflicting types for `__io_read_fn' /usr/include/libio.h:351: previous declaration of `__io_read_fn' /usr/include/libio.h:376: syntax error before "cookie_read_function_t" /usr/include/libio.h:377: storage class specified for parameter `__io_write_fn' /usr/include/libio.h:377: conflicting types for `__io_write_fn' /usr/include/libio.h:360: previous declaration of `__io_write_fn' /usr/include/libio.h:377: syntax error before "cookie_write_function_t" /usr/include/libio.h:378: storage class specified for parameter `__io_seek_fn' /usr/include/libio.h:378: conflicting types for `__io_seek_fn' /usr/include/libio.h:368: previous declaration of `__io_seek_fn' /usr/include/libio.h:378: syntax error before "cookie_seek_function_t" /usr/include/libio.h:379: storage class specified for parameter `__io_close_fn' /usr/include/libio.h:379: conflicting types for `__io_close_fn' /usr/include/libio.h:371: previous declaration of `__io_close_fn' /usr/include/libio.h:379: syntax error before "cookie_close_function_t" /usr/include/libio.h:384: syntax error before "__io_read_fn" /usr/include/libio.h:389: storage class specified for parameter `_IO_cookie_io_functions_t' /usr/include/libio.h:389: syntax error before "cookie_io_functions_t" /usr/include/libio.h:395: syntax error before "_IO_cookie_io_functions_t" /usr/include/libio.h:395: storage class specified for parameter `_IO_cookie_init' /usr/include/libio.h:403: syntax error before '*' token /usr/include/libio.h:403: storage class specified for parameter `__underflow' /usr/include/libio.h:404: syntax error before '*' token /usr/include/libio.h:404: storage class specified for parameter `__uflow' /usr/include/libio.h:405: syntax error before '*' token /usr/include/libio.h:405: storage class specified for parameter `__overflow' /usr/include/libio.h:406: storage class specified for parameter `wint_t' /usr/include/libio.h:406: conflicting types for `wint_t' /usr/include/gconv.h:75: previous declaration of `wint_t' /usr/include/libio.h:406: syntax error before "__wunderflow" /usr/include/libio.h:407: storage class specified for parameter `wint_t' /usr/include/libio.h:407: redeclaration of `wint_t' /usr/include/libio.h:406: `wint_t' previously declared here /usr/include/libio.h:407: syntax error before "__wuflow" /usr/include/libio.h:408: storage class specified for parameter `wint_t' /usr/include/libio.h:408: redeclaration of `wint_t' /usr/include/libio.h:407: `wint_t' previously declared here /usr/include/libio.h:408: syntax error before "__woverflow" /usr/include/libio.h:433: syntax error before '*' token /usr/include/libio.h:433: storage class specified for parameter `_IO_getc' /usr/include/libio.h:434: syntax error before "_IO_FILE" /usr/include/libio.h:434: storage class specified for parameter `_IO_putc' /usr/include/libio.h:435: syntax error before '*' token /usr/include/libio.h:435: storage class specified for parameter `_IO_feof' /usr/include/libio.h:436: syntax error before '*' token /usr/include/libio.h:436: storage class specified for parameter `_IO_ferror' /usr/include/libio.h:438: syntax error before '*' token /usr/include/libio.h:438: storage class specified for parameter `_IO_peekc_locked' /usr/include/libio.h:444: syntax error before '*' token /usr/include/libio.h:444: storage class specified for parameter `_IO_flockfile' /usr/include/libio.h:445: syntax error before '*' token /usr/include/libio.h:445: storage class specified for parameter `_IO_funlockfile' /usr/include/libio.h:446: syntax error before '*' token /usr/include/libio.h:446: storage class specified for parameter `_IO_ftrylockfile' /usr/include/libio.h:463: syntax error before '*' token /usr/include/libio.h:464: storage class specified for parameter `_IO_vfscanf' /usr/include/libio.h:465: syntax error before '*' token /usr/include/libio.h:466: storage class specified for parameter `_IO_vfprintf' /usr/include/libio.h:467: syntax error before '*' token /usr/include/libio.h:467: storage class specified for parameter `_IO_padn' /usr/include/libio.h:468: syntax error before '*' token /usr/include/libio.h:468: storage class specified for parameter `_IO_sgetn' /usr/include/libio.h:470: syntax error before '*' token /usr/include/libio.h:470: storage class specified for parameter `_IO_seekoff' /usr/include/libio.h:471: syntax error before '*' token /usr/include/libio.h:471: storage class specified for parameter `_IO_seekpos' /usr/include/libio.h:473: syntax error before '*' token /usr/include/libio.h:473: storage class specified for parameter `_IO_free_backup_area' In file included from /usr/include/asterisk/monitor.h:4, from /usr/include/asterisk/channel.h:38, from chan_oh323.c:36: /usr/include/stdio.h:88: storage class specified for parameter `_G_fpos_t' /usr/include/stdio.h:88: syntax error before "fpos_t" In file included from /usr/include/asterisk/monitor.h:4, from /usr/include/asterisk/channel.h:38, from chan_oh323.c:36: /usr/include/stdio.h:142: storage class specified for parameter `stdin' /usr/include/stdio.h:143: storage class specified for parameter `stdout' /usr/include/stdio.h:144: storage class specified for parameter `stderr' /usr/include/stdio.h:154: storage class specified for parameter `remove' /usr/include/stdio.h:156: storage class specified for parameter `rename' /usr/include/stdio.h:166: storage class specified for parameter `FILE' /usr/include/stdio.h:166: syntax error before '*' token /usr/include/stdio.h:180: storage class specified for parameter `tmpnam' /usr/include/stdio.h:208: syntax error before '*' token /usr/include/stdio.h:208: storage class specified for parameter `fclose' /usr/include/stdio.h:213: syntax error before '*' token /usr/include/stdio.h:213: storage class specified for parameter `fflush' /usr/include/stdio.h:243: storage class specified for parameter `FILE' /usr/include/stdio.h:243: redeclaration of `FILE' /usr/include/stdio.h:166: `FILE' previously declared here /usr/include/stdio.h:243: syntax error before '*' token /usr/include/stdio.h:249: storage class specified for parameter `FILE' /usr/include/stdio.h:249: redeclaration of `FILE' /usr/include/stdio.h:243: `FILE' previously declared here /usr/include/stdio.h:249: syntax error before '*' token /usr/include/stdio.h:299: syntax error before '*' token /usr/include/stdio.h:299: storage class specified for parameter `setbuf' /usr/include/stdio.h:303: syntax error before '*' token /usr/include/stdio.h:304: storage class specified for parameter `setvbuf' /usr/include/stdio.h:323: syntax error before '*' token /usr/include/stdio.h:324: storage class specified for parameter `fprintf' /usr/include/stdio.h:329: storage class specified for parameter `printf' /usr/include/stdio.h:332: storage class specified for parameter `sprintf' /usr/include/stdio.h:338: syntax error before '*' token /usr/include/stdio.h:339: storage class specified for parameter `vfprintf' /usr/include/stdio.h:344: syntax error before "__gnuc_va_list" /usr/include/stdio.h:344: storage class specified for parameter `vprintf' /usr/include/stdio.h:347: syntax error before "__gnuc_va_list" /usr/include/stdio.h:347: storage class specified for parameter `vsprintf' /usr/include/stdio.h:395: syntax error before '*' token /usr/include/stdio.h:396: storage class specified for parameter `fscanf' /usr/include/stdio.h:401: storage class specified for parameter `scanf' /usr/include/stdio.h:404: storage class specified for parameter `sscanf' /usr/include/stdio.h:437: syntax error before '*' token /usr/include/stdio.h:437: storage class specified for parameter `fgetc' /usr/include/stdio.h:438: syntax error before '*' token /usr/include/stdio.h:438: storage class specified for parameter `getc' /usr/include/stdio.h:444: storage class specified for parameter `getchar' /usr/include/stdio.h:479: syntax error before "FILE" /usr/include/stdio.h:479: storage class specified for parameter `fputc' /usr/include/stdio.h:480: syntax error before "FILE" /usr/include/stdio.h:480: storage class specified for parameter `putc' /usr/include/stdio.h:486: storage class specified for parameter `putchar' /usr/include/stdio.h:528: syntax error before "FILE" /usr/include/stdio.h:528: storage class specified for parameter `fgets' /usr/include/stdio.h:535: storage class specified for parameter `gets' /usr/include/stdio.h:585: syntax error before "FILE" /usr/include/stdio.h:585: storage class specified for parameter `fputs' /usr/include/stdio.h:591: storage class specified for parameter `puts' /usr/include/stdio.h:598: syntax error before "FILE" /usr/include/stdio.h:598: storage class specified for parameter `ungetc' /usr/include/stdio.h:606: syntax error before "FILE" /usr/include/stdio.h:606: storage class specified for parameter `fread' /usr/include/stdio.h:612: syntax error before "FILE" /usr/include/stdio.h:612: storage class specified for parameter `fwrite' /usr/include/stdio.h:645: syntax error before '*' token /usr/include/stdio.h:645: storage class specified for parameter `fseek' /usr/include/stdio.h:650: syntax error before '*' token /usr/include/stdio.h:650: storage class specified for parameter `ftell' /usr/include/stdio.h:655: syntax error before '*' token /usr/include/stdio.h:655: storage class specified for parameter `rewind' /usr/include/stdio.h:694: syntax error before '*' token /usr/include/stdio.h:694: storage class specified for parameter `fgetpos' /usr/include/stdio.h:699: syntax error before '*' token /usr/include/stdio.h:699: storage class specified for parameter `fsetpos' /usr/include/stdio.h:722: syntax error before '*' token /usr/include/stdio.h:722: storage class specified for parameter `clearerr' /usr/include/stdio.h:724: syntax error before '*' token /usr/include/stdio.h:724: storage class specified for parameter `feof' /usr/include/stdio.h:726: syntax error before '*' token /usr/include/stdio.h:726: storage class specified for parameter `ferror' /usr/include/stdio.h:742: storage class specified for parameter `perror' In file included from chan_oh323.c:36: /usr/include/asterisk/channel.h:243: storage class specified for parameter `ast_test_flag' /usr/include/asterisk/channel.h:243: syntax error before '{' token /usr/include/asterisk/channel.h:287: syntax error before '}' token /usr/include/asterisk/channel.h:816: storage class specified for parameter `ast_fdisset' /usr/include/asterisk/channel.h:816: syntax error before '{' token In file included from /usr/include/asterisk/logger.h:17, from chan_oh323.c:40: /usr/lib/gcc-lib/i386-redhat-linux/3.2.3/include/stdarg.h:110: storage class specified for parameter `__gnuc_va_list' /usr/lib/gcc-lib/i386-redhat-linux/3.2.3/include/stdarg.h:110: conflicting types for `__gnuc_va_list' /usr/lib/gcc-lib/i386-redhat-linux/3.2.3/include/stdarg.h:43: previous declaration of `__gnuc_va_list' /usr/lib/gcc-lib/i386-redhat-linux/3.2.3/include/stdarg.h:110: syntax error before "va_list" In file included from chan_oh323.c:40: /usr/include/asterisk/logger.h:41: storage class specified for parameter `ast_log' /usr/include/asterisk/logger.h:44: storage class specified for parameter `ast_queue_log' /usr/include/asterisk/logger.h:55: storage class specified for parameter `ast_verbose' /usr/include/asterisk/logger.h:57: storage class specified for parameter `ast_register_verbose' /usr/include/asterisk/logger.h:58: storage class specified for parameter `ast_unregister_verbose' /usr/include/asterisk/logger.h:59: storage class specified for parameter `ast_verbose_dmesg' /usr/include/asterisk/logger.h:60: storage class specified for parameter `ast_console_puts' In file included from chan_oh323.c:42: /usr/include/asterisk/pbx.h:52: storage class specified for parameter `ast_state_cb_type' /usr/include/asterisk/pbx.h:86: storage class specified for parameter `ast_register_switch' /usr/include/asterisk/pbx.h:94: storage class specified for parameter `ast_unregister_switch' /usr/include/asterisk/pbx.h:104: storage class specified for parameter `pbx_findapp' /usr/include/asterisk/pbx.h:252: syntax error before "ast_state_cb_type" /usr/include/asterisk/pbx.h:260: syntax error before "ast_state_cb_type" /usr/include/asterisk/pbx.h:530: storage class specified for parameter `pbx_builtin_getvar_helper' /usr/include/asterisk/pbx.h:531: storage class specified for parameter `pbx_builtin_setvar_helper' /usr/include/asterisk/pbx.h:532: storage class specified for parameter `pbx_builtin_clear_globals' /usr/include/asterisk/pbx.h:533: storage class specified for parameter `pbx_builtin_setvar' /usr/include/asterisk/pbx.h:534: storage class specified for parameter `pbx_substitute_variables_helper' In file included from chan_oh323.c:43: /usr/include/asterisk/cli.h:24: storage class specified for parameter `ast_cli' /usr/include/asterisk/cli.h:58: storage class specified for parameter `ast_cli_command' /usr/include/asterisk/cli.h:67: storage class specified for parameter `ast_cli_register' /usr/include/asterisk/cli.h:75: storage class specified for parameter `ast_cli_unregister' /usr/include/asterisk/cli.h:81: storage class specified for parameter `ast_cli_generator' /usr/include/asterisk/cli.h:83: storage class specified for parameter `ast_cli_generatornummatches' /usr/include/asterisk/cli.h:84: storage class specified for parameter `ast_cli_completion_matches' In file included from chan_oh323.c:44: /usr/include/asterisk/options.h:23: storage class specified for parameter `option_verbose' /usr/include/asterisk/options.h:24: storage class specified for parameter `option_debug' /usr/include/asterisk/options.h:25: storage class specified for parameter `option_nofork' /usr/include/asterisk/options.h:26: storage class specified for parameter `option_quiet' /usr/include/asterisk/options.h:27: storage class specified for parameter `option_console' /usr/include/asterisk/options.h:28: storage class specified for parameter `option_initcrypto' /usr/include/asterisk/options.h:29: storage class specified for parameter `option_nocolor' /usr/include/asterisk/options.h:30: storage class specified for parameter `fully_booted' /usr/include/asterisk/options.h:31: storage class specified for parameter `option_cache_record_files' /usr/include/asterisk/options.h:32: storage class specified for parameter `defaultlanguage' /usr/include/asterisk/options.h:33: storage class specified for parameter `ast_startuptime' /usr/include/asterisk/options.h:34: storage class specified for parameter `ast_lastreloadtime' /usr/include/asterisk/options.h:35: storage class specified for parameter `ast_mainpid' /usr/include/asterisk/options.h:36: storage class specified for parameter `record_cache_dir' In file included from chan_oh323.c:46: /usr/include/asterisk/callerid.h:40: storage class specified for parameter `CIDSTATE' /usr/include/asterisk/callerid.h:46: storage class specified for parameter `callerid_init' /usr/include/asterisk/callerid.h:58: storage class specified for parameter `callerid_generate' /usr/include/asterisk/callerid.h:67: storage class specified for parameter `callerid_new' /usr/include/asterisk/callerid.h:80: storage class specified for parameter `callerid_feed' /usr/include/asterisk/callerid.h:111: storage class specified for parameter `callerid_free' /usr/include/asterisk/callerid.h:121: storage class specified for parameter `ast_callerid_generate' /usr/include/asterisk/callerid.h:124: storage class specified for parameter `vmwi_generate' /usr/include/asterisk/callerid.h:130: storage class specified for parameter `ast_callerid_callwaiting_generate' /usr/include/asterisk/callerid.h:140: storage class specified for parameter `ast_callerid_parse' /usr/include/asterisk/callerid.h:150: storage class specified for parameter `ast_gen_cas' /usr/include/asterisk/callerid.h:157: storage class specified for parameter `ast_shrink_phone_number' /usr/include/asterisk/callerid.h:164: storage class specified for parameter `ast_isphonenumber' /usr/include/asterisk/callerid.h:172: storage class specified for parameter `cid_dr' /usr/include/asterisk/callerid.h:173: storage class specified for parameter `cid_di' /usr/include/asterisk/callerid.h:174: storage class specified for parameter `clidsb' /usr/include/asterisk/callerid.h:177: storage class specified for parameter `callerid_getcarrier' /usr/include/asterisk/callerid.h:177: syntax error before '{' token In file included from chan_oh323.c:47: /usr/include/asterisk/utils.h:27: syntax error before '}' token /usr/include/asterisk/utils.h:29: storage class specified for parameter `ast_gethostbyname' /usr/include/asterisk/utils.h:30: storage class specified for parameter `ast_base64encode' /usr/include/asterisk/utils.h:31: storage class specified for parameter `ast_base64decode' /usr/include/asterisk/utils.h:33: storage class specified for parameter `test_for_thread_safety' /usr/include/asterisk/utils.h:34: storage class specified for parameter `ast_inet_ntoa' /usr/include/asterisk/utils.h:35: storage class specified for parameter `ast_utils_init' /usr/include/asterisk/utils.h:50: storage class specified for parameter `ast_pthread_create' /usr/include/asterisk/utils.h:53: storage class specified for parameter `ast_strcasestr' In file included from /usr/include/errno.h:36, from chan_oh323.c:50: /usr/include/bits/errno.h:38: storage class specified for parameter `__errno_location' In file included from chan_oh323.c:52: /usr/include/stdlib.h:99: storage class specified for parameter `div_t' /usr/include/stdlib.h:107: storage class specified for parameter `ldiv_t' /usr/include/stdlib.h:137: storage class specified for parameter `__ctype_get_mb_cur_max' /usr/include/stdlib.h:142: storage class specified for parameter `atof' /usr/include/stdlib.h:144: storage class specified for parameter `atoi' /usr/include/stdlib.h:146: storage class specified for parameter `atol' /usr/include/stdlib.h:160: storage class specified for parameter `strtod' /usr/include/stdlib.h:177: storage class specified for parameter `strtol' /usr/include/stdlib.h:181: storage class specified for parameter `strtoul' /usr/include/stdlib.h:266: storage class specified for parameter `__strtod_internal' /usr/include/stdlib.h:269: storage class specified for parameter `__strtof_internal' /usr/include/stdlib.h:272: storage class specified for parameter `__strtold_internal' /usr/include/stdlib.h:276: storage class specified for parameter `__strtol_internal' /usr/include/stdlib.h:282: storage class specified for parameter `__strtoul_internal' /usr/include/stdlib.h:287: syntax error before "__extension__" /usr/include/stdlib.h:473: storage class specified for parameter `rand' /usr/include/stdlib.h:475: storage class specified for parameter `srand' /usr/include/stdlib.h:556: storage class specified for parameter `malloc' /usr/include/stdlib.h:559: storage class specified for parameter `calloc' /usr/include/stdlib.h:567: storage class specified for parameter `realloc' /usr/include/stdlib.h:569: storage class specified for parameter `free' /usr/include/stdlib.h:594: storage class specified for parameter `abort' /usr/include/stdlib.h:598: storage class specified for parameter `atexit' /usr/include/stdlib.h:612: storage class specified for parameter `exit' /usr/include/stdlib.h:626: storage class specified for parameter `getenv' /usr/include/stdlib.h:631: storage class specified for parameter `__secure_getenv' /usr/include/stdlib.h:702: storage class specified for parameter `system' /usr/include/stdlib.h:728: storage class specified for parameter `__compar_fn_t' /usr/include/stdlib.h:739: syntax error before "__compar_fn_t" /usr/include/stdlib.h:739: storage class specified for parameter `bsearch' /usr/include/stdlib.h:744: syntax error before "__compar_fn_t" /usr/include/stdlib.h:744: storage class specified for parameter `qsort' /usr/include/stdlib.h:748: storage class specified for parameter `abs' /usr/include/stdlib.h:749: storage class specified for parameter `labs' /usr/include/stdlib.h:762: storage class specified for parameter `div_t' /usr/include/stdlib.h:762: conflicting types for `div_t' /usr/include/stdlib.h:99: previous declaration of `div_t' /usr/include/stdlib.h:762: syntax error before "div" /usr/include/stdlib.h:764: storage class specified for parameter `ldiv_t' /usr/include/stdlib.h:764: conflicting types for `ldiv_t' /usr/include/stdlib.h:107: previous declaration of `ldiv_t' /usr/include/stdlib.h:764: syntax error before "ldiv" /usr/include/stdlib.h:830: storage class specified for parameter `mblen' /usr/include/stdlib.h:833: syntax error before '*' token /usr/include/stdlib.h:834: storage class specified for parameter `mbtowc' /usr/include/stdlib.h:837: syntax error before "wchar_t" /usr/include/stdlib.h:837: storage class specified for parameter `wctomb' /usr/include/stdlib.h:841: syntax error before '*' token /usr/include/stdlib.h:842: storage class specified for parameter `mbstowcs' /usr/include/stdlib.h:845: syntax error before '*' token /usr/include/stdlib.h:846: storage class specified for parameter `wcstombs' In file included from chan_oh323.c:53: /usr/include/arpa/inet.h:35: storage class specified for parameter `inet_addr' /usr/include/arpa/inet.h:38: storage class specified for parameter `inet_lnaof' /usr/include/arpa/inet.h:43: storage class specified for parameter `inet_makeaddr' /usr/include/arpa/inet.h:46: storage class specified for parameter `inet_netof' /usr/include/arpa/inet.h:50: storage class specified for parameter `inet_network' /usr/include/arpa/inet.h:54: storage class specified for parameter `__dont__use__inet_ntoa__use__ast_inet_ntoa__instead__' /usr/include/arpa/inet.h:60: storage class specified for parameter `inet_pton' /usr/include/arpa/inet.h:67: storage class specified for parameter `inet_ntop' In file included from /usr/include/fcntl.h:33, from chan_oh323.c:54: /usr/include/bits/fcntl.h:185: storage class specified for parameter `readahead' In file included from chan_oh323.c:54: /usr/include/fcntl.h:63: storage class specified for parameter `fcntl' /usr/include/fcntl.h:72: storage class specified for parameter `open' /usr/include/fcntl.h:90: storage class specified for parameter `creat' In file included from chan_oh323.c:55: /usr/include/sys/ioctl.h:42: storage class specified for parameter `ioctl' In file included from chan_oh323.c:57: /usr/include/sys/stat.h:208: storage class specified for parameter `stat' /usr/include/sys/stat.h:212: storage class specified for parameter `fstat' /usr/include/sys/stat.h:255: storage class specified for parameter `chmod' /usr/include/sys/stat.h:272: storage class specified for parameter `umask' /usr/include/sys/stat.h:281: storage class specified for parameter `mkdir' /usr/include/sys/stat.h:293: storage class specified for parameter `mkfifo' /usr/include/sys/stat.h:319: storage class specified for parameter `__fxstat' /usr/include/sys/stat.h:321: storage class specified for parameter `__xstat' /usr/include/sys/stat.h:323: storage class specified for parameter `__lxstat' /usr/include/sys/stat.h:351: storage class specified for parameter `__xmknod' /usr/include/sys/stat.h:358: storage class specified for parameter `stat' /usr/include/sys/stat.h:358: redeclaration of `stat' /usr/include/sys/stat.h:208: `stat' previously declared here /usr/include/sys/stat.h:358: syntax error before '{' token In file included from /usr/include/math.h:33, from chan_oh323.c:58: /usr/include/bits/huge_val.h:29:18: missing binary operator before '(' In file included from /usr/include/math.h:65, from chan_oh323.c:58: /usr/include/bits/mathcalls.h:55: storage class specified for parameter `__acos' /usr/include/bits/mathcalls.h:57: storage class specified for parameter `asin' /usr/include/bits/mathcalls.h:57: storage class specified for parameter `__asin' /usr/include/bits/mathcalls.h:59: storage class specified for parameter `atan' /usr/include/bits/mathcalls.h:59: storage class specified for parameter `__atan' /usr/include/bits/mathcalls.h:61: storage class specified for parameter `atan2' /usr/include/bits/mathcalls.h:61: storage class specified for parameter `__atan2' /usr/include/bits/mathcalls.h:64: storage class specified for parameter `cos' /usr/include/bits/mathcalls.h:64: storage class specified for parameter `__cos' /usr/include/bits/mathcalls.h:66: storage class specified for parameter `sin' /usr/include/bits/mathcalls.h:66: storage class specified for parameter `__sin' /usr/include/bits/mathcalls.h:68: storage class specified for parameter `tan' /usr/include/bits/mathcalls.h:68: storage class specified for parameter `__tan' /usr/include/bits/mathcalls.h:73: storage class specified for parameter `cosh' /usr/include/bits/mathcalls.h:73: storage class specified for parameter `__cosh' /usr/include/bits/mathcalls.h:75: storage class specified for parameter `sinh' /usr/include/bits/mathcalls.h:75: storage class specified for parameter `__sinh' /usr/include/bits/mathcalls.h:77: storage class specified for parameter `tanh' /usr/include/bits/mathcalls.h:77: storage class specified for parameter `__tanh' /usr/include/bits/mathcalls.h:101: storage class specified for parameter `exp' /usr/include/bits/mathcalls.h:101: storage class specified for parameter `__exp' /usr/include/bits/mathcalls.h:104: storage class specified for parameter `frexp' /usr/include/bits/mathcalls.h:104: storage class specified for parameter `__frexp' /usr/include/bits/mathcalls.h:107: storage class specified for parameter `ldexp' /usr/include/bits/mathcalls.h:107: storage class specified for parameter `__ldexp' /usr/include/bits/mathcalls.h:110: storage class specified for parameter `log' /usr/include/bits/mathcalls.h:110: storage class specified for parameter `__log' /usr/include/bits/mathcalls.h:113: storage class specified for parameter `log10' /usr/include/bits/mathcalls.h:113: storage class specified for parameter `__log10' /usr/include/bits/mathcalls.h:116: storage class specified for parameter `modf' /usr/include/bits/mathcalls.h:116: storage class specified for parameter `__modf' /usr/include/bits/mathcalls.h:154: storage class specified for parameter `pow' /usr/include/bits/mathcalls.h:154: storage class specified for parameter `__pow' /usr/include/bits/mathcalls.h:157: storage class specified for parameter `sqrt' /usr/include/bits/mathcalls.h:157: storage class specified for parameter `__sqrt' /usr/include/bits/mathcalls.h:179: storage class specified for parameter `ceil' /usr/include/bits/mathcalls.h:179: storage class specified for parameter `__ceil' /usr/include/bits/mathcalls.h:182: storage class specified for parameter `fabs' /usr/include/bits/mathcalls.h:182: storage class specified for parameter `__fabs' /usr/include/bits/mathcalls.h:185: storage class specified for parameter `floor' /usr/include/bits/mathcalls.h:185: storage class specified for parameter `__floor' /usr/include/bits/mathcalls.h:188: storage class specified for parameter `fmod' /usr/include/bits/mathcalls.h:188: storage class specified for parameter `__fmod' /usr/include/bits/mathcalls.h:193: storage class specified for parameter `__isinf' /usr/include/bits/mathcalls.h:196: storage class specified for parameter `__finite' /usr/include/bits/mathcalls.h:231: storage class specified for parameter `__isnan' In file included from /usr/include/signal.h:33, from /usr/include/sys/signal.h:1, from chan_oh323.c:60: /usr/include/bits/sigset.h:103: storage class specified for parameter `__sigismember' /usr/include/bits/sigset.h:104: storage class specified for parameter `__sigaddset' /usr/include/bits/sigset.h:105: storage class specified for parameter `__sigdelset' In file included from /usr/include/sys/signal.h:1, from chan_oh323.c:60: /usr/include/signal.h:41: storage class specified for parameter `sig_atomic_t' In file included from /usr/include/sys/signal.h:1, from chan_oh323.c:60: /usr/include/signal.h:73: storage class specified for parameter `__sighandler_t' /usr/include/signal.h:78: storage class specified for parameter `__sighandler_t' /usr/include/signal.h:78: conflicting types for `__sighandler_t' /usr/include/signal.h:73: previous declaration of `__sighandler_t' /usr/include/signal.h:78: syntax error before "__sysv_signal" /usr/include/signal.h:97: storage class specified for parameter `__sighandler_t' /usr/include/signal.h:97: redeclaration of `__sighandler_t' /usr/include/signal.h:78: `__sighandler_t' previously declared here /usr/include/signal.h:97: syntax error before "signal" /usr/include/signal.h:126: storage class specified for parameter `raise' /usr/include/signal.h:149: storage class specified for parameter `__sigpause' /usr/include/signal.h:386: storage class specified for parameter `__libc_current_sigrtmin' /usr/include/signal.h:388: storage class specified for parameter `__libc_current_sigrtmax' In file included from chan_oh323.c:62: ../wrapper/wrapper.hxx:82: warning: enum defined inside parms ../wrapper/wrapper.hxx:82: storage class specified for parameter `boolean_t' ../wrapper/wrapper.hxx:109: warning: enum defined inside parms ../wrapper/wrapper.hxx:109: storage class specified for parameter `cap_type_t' ../wrapper/wrapper.hxx:118: warning: enum defined inside parms ../wrapper/wrapper.hxx:118: storage class specified for parameter `cap_ret_val_t' ../wrapper/wrapper.hxx:127: warning: enum defined inside parms ../wrapper/wrapper.hxx:127: storage class specified for parameter `uimode_t' ../wrapper/wrapper.hxx:134: warning: enum defined inside parms ../wrapper/wrapper.hxx:134: storage class specified for parameter `gkmode_t' ../wrapper/wrapper.hxx:143: warning: enum defined inside parms ../wrapper/wrapper.hxx:143: storage class specified for parameter `lis_type_t' ../wrapper/wrapper.hxx:156: warning: enum defined inside parms ../wrapper/wrapper.hxx:156: storage class specified for parameter `lis_ret_val_t' ../wrapper/wrapper.hxx:164: warning: enum defined inside parms ../wrapper/wrapper.hxx:164: storage class specified for parameter `lchan_dir_t' ../wrapper/wrapper.hxx:179: warning: enum defined inside parms ../wrapper/wrapper.hxx:179: storage class specified for parameter `call_ret_val_t' ../wrapper/wrapper.hxx:186: warning: enum defined inside parms ../wrapper/wrapper.hxx:186: storage class specified for parameter `indication_t' ../wrapper/wrapper.hxx:196: warning: structure defined inside parms ../wrapper/wrapper.hxx:196: storage class specified for parameter `call_options_t' ../wrapper/wrapper.hxx:214: warning: structure defined inside parms ../wrapper/wrapper.hxx:214: storage class specified for parameter `call_details_t' ../wrapper/wrapper.hxx:238: warning: structure defined inside parms ../wrapper/wrapper.hxx:238: storage class specified for parameter `rtp_stats_t' ../wrapper/wrapper.hxx:243: syntax error before "int" ../wrapper/wrapper.hxx:243: storage class specified for parameter `start_logchan_cb' ../wrapper/wrapper.hxx:243: warning: function declaration isn't a prototype ../wrapper/wrapper.hxx:247: storage class specified for parameter `clear_con_cb' ../wrapper/wrapper.hxx:247: warning: parameter names (without types) in function declaration ../wrapper/wrapper.hxx:251: storage class specified for parameter `alert_con_cb' ../wrapper/wrapper.hxx:251: warning: parameter names (without types) in function declaration ../wrapper/wrapper.hxx:255: syntax error before "int" ../wrapper/wrapper.hxx:255: storage class specified for parameter `h323_exception_cb' ../wrapper/wrapper.hxx:255: warning: function declaration isn't a prototype ../wrapper/wrapper.hxx:259: storage class specified for parameter `init_con_cb' ../wrapper/wrapper.hxx:259: warning: parameter names (without types) in function declaration ../wrapper/wrapper.hxx:263: storage class specified for parameter `stats_con_cb' ../wrapper/wrapper.hxx:263: warning: parameter names (without types) in function declaration ../wrapper/wrapper.hxx:267: storage class specified for parameter `read_con_cb' ../wrapper/wrapper.hxx:268: storage class specified for parameter `write_con_cb' ../wrapper/wrapper.hxx:278: parameter `h323_codec_number' is initialized ../wrapper/wrapper.hxx:284: syntax error before "boolean_t" ../wrapper/wrapper.hxx:288: warning: parameter names (without types) in function declaration ../wrapper/wrapper.hxx:291: syntax error before "cap_ret_val_t" ../wrapper/wrapper.hxx:307: syntax error before "lis_ret_val_t" ../wrapper/wrapper.hxx:313: syntax error before "char" ../wrapper/wrapper.hxx:313: warning: function declaration isn't a prototype ../wrapper/wrapper.hxx:323: syntax error before "call_ret_val_t" chan_oh323.c:67: storage class specified for parameter `type' chan_oh323.c:67: parameter `type' is initialized chan_oh323.c:68: storage class specified for parameter `desc' chan_oh323.c:68: parameter `desc' is initialized chan_oh323.c:69: storage class specified for parameter `tdesc' chan_oh323.c:69: parameter `tdesc' is initialized chan_oh323.c:70: storage class specified for parameter `config' chan_oh323.c:70: parameter `config' is initialized chan_oh323.c:76: storage class specified for parameter `G7231FrameSize' chan_oh323.c:76: parameter `G7231FrameSize' is initialized chan_oh323.c:76: warning: initialization makes pointer from integer without a cast chan_oh323.c:76: warning: excess elements in scalar initializer chan_oh323.c:76: warning: (near initialization for `G7231FrameSize') chan_oh323.c:76: warning: excess elements in scalar initializer chan_oh323.c:76: warning: (near initialization for `G7231FrameSize') chan_oh323.c:76: warning: excess elements in scalar initializer chan_oh323.c:76: warning: (near initialization for `G7231FrameSize') chan_oh323.c:83: warning: structure defined inside parms chan_oh323.c:83: warning: empty declaration chan_oh323.c:94: redeclaration of `G7231SF_new' chan_oh323.c:86: `G7231SF_new' previously declared here chan_oh323.c:94: syntax error before '{' token chan_oh323.c:241: syntax error before '}' token chan_oh323.c:255: storage class specified for parameter `incall_times' chan_oh323.c:255: parameter `incall_times' is initialized chan_oh323.c:256: storage class specified for parameter `incall_pos' chan_oh323.c:256: parameter `incall_pos' is initialized chan_oh323.c:257: storage class specified for parameter `incall_cur' chan_oh323.c:257: parameter `incall_cur' is initialized chan_oh323.c:259: storage class specified for parameter `incall_time_period' chan_oh323.c:259: parameter `incall_time_period' is initialized chan_oh323.c:260: storage class specified for parameter `incall_max' chan_oh323.c:260: parameter `incall_max' is initialized chan_oh323.c:261: storage class specified for parameter `incall_rate_limiter_status' chan_oh323.c:261: parameter `incall_rate_limiter_status' is initialized chan_oh323.c:262: storage class specified for parameter `in_call_max_rate' chan_oh323.c:262: parameter `in_call_max_rate' is initialized chan_oh323.c:263: warning: type defaults to `int' in declaration of `time_struct' chan_oh323.c:263: storage class specified for parameter `time_struct' chan_oh323.c:263: syntax error before '*' token chan_oh323.c:276: redeclaration of `in_call_rate_limiter_init' chan_oh323.c:244: `in_call_rate_limiter_init' previously declared here chan_oh323.c:276: syntax error before '{' token chan_oh323.c:309: syntax error before "if" chan_oh323.c:398: syntax error before "if" chan_oh323.c:421: redeclaration of `tv' chan_oh323.c:395: `tv' previously declared here chan_oh323.c:423: syntax error before "if" chan_oh323.c:446: redeclaration of `diff' chan_oh323.c:420: `diff' previously declared here chan_oh323.c:447: redeclaration of `tv' chan_oh323.c:421: `tv' previously declared here chan_oh323.c:449: syntax error before "if" chan_oh323.c:472: redeclaration of `diff' chan_oh323.c:446: `diff' previously declared here chan_oh323.c:473: redeclaration of `tv' chan_oh323.c:447: `tv' previously declared here chan_oh323.c:475: syntax error before "if" chan_oh323.c:507: syntax error before '}' token chan_oh323.c:510: storage class specified for parameter `oh323_verbose_debug' chan_oh323.c:510: parameter `oh323_verbose_debug' is initialized chan_oh323.c:513: storage class specified for parameter `oh323_capability' chan_oh323.c:513: parameter `oh323_capability' is initialized chan_oh323.c:514: storage class specified for parameter `oh323_full_capability' chan_oh323.c:514: parameter `oh323_full_capability' is initialized chan_oh323.c:523: storage class specified for parameter `usecnt_lock' chan_oh323.c:524: storage class specified for parameter `usecnt' chan_oh323.c:524: parameter `usecnt' is initialized chan_oh323.c:527: storage class specified for parameter `oh323_tab_lock' chan_oh323.c:530: storage class specified for parameter `oh323_stats_lock' chan_oh323.c:531: warning: type defaults to `int' in declaration of `OH323STATS' chan_oh323.c:531: storage class specified for parameter `OH323STATS' chan_oh323.c:531: syntax error before "oh323_stats" chan_oh323.c:535: storage class specified for parameter `mon_lock' chan_oh323.c:539: storage class specified for parameter `monitor_thread' chan_oh323.c:539: parameter `monitor_thread' is initialized chan_oh323.c:540: storage class specified for parameter `monitor_shutdown' chan_oh323.c:540: parameter `monitor_shutdown' is initialized chan_oh323.c:541: storage class specified for parameter `monitor_running' chan_oh323.c:541: parameter `monitor_running' is initialized chan_oh323.c:544: storage class specified for parameter `oh323_reload_lock' chan_oh323.c:545: storage class specified for parameter `oh323_reloading' chan_oh323.c:548: storage class specified for parameter `oh323_sched' chan_oh323.c:553: storage class specified for parameter `oh323_var_tab' chan_oh323.c:553: parameter `oh323_var_tab' is initialized chan_oh323.c:554: warning: initialization from incompatible pointer type chan_oh323.c:555: warning: excess elements in scalar initializer chan_oh323.c:555: warning: (near initialization for `oh323_var_tab') chan_oh323.c:556: warning: excess elements in scalar initializer chan_oh323.c:556: warning: (near initialization for `oh323_var_tab') chan_oh323.c:557: warning: excess elements in scalar initializer chan_oh323.c:557: warning: (near initialization for `oh323_var_tab') chan_oh323.c:558: warning: excess elements in scalar initializer chan_oh323.c:558: warning: (near initialization for `oh323_var_tab') chan_oh323.c:559: warning: excess elements in scalar initializer chan_oh323.c:559: warning: (near initialization for `oh323_var_tab') chan_oh323.c:560: warning: excess elements in scalar initializer chan_oh323.c:560: warning: (near initialization for `oh323_var_tab') chan_oh323.c:561: warning: excess elements in scalar initializer chan_oh323.c:561: warning: (near initialization for `oh323_var_tab') chan_oh323.c:562: warning: excess elements in scalar initializer chan_oh323.c:562: warning: (near initialization for `oh323_var_tab') chan_oh323.c:564: warning: excess elements in scalar initializer chan_oh323.c:564: warning: (near initialization for `oh323_var_tab') chan_oh323.c:565: warning: excess elements in scalar initializer chan_oh323.c:565: warning: (near initialization for `oh323_var_tab') chan_oh323.c:566: warning: excess elements in scalar initializer chan_oh323.c:566: warning: (near initialization for `oh323_var_tab') chan_oh323.c:567: warning: excess elements in scalar initializer chan_oh323.c:567: warning: (near initialization for `oh323_var_tab') chan_oh323.c:568: warning: excess elements in scalar initializer chan_oh323.c:568: warning: (near initialization for `oh323_var_tab') chan_oh323.c:569: warning: excess elements in scalar initializer chan_oh323.c:569: warning: (near initialization for `oh323_var_tab') chan_oh323.c:570: warning: excess elements in scalar initializer chan_oh323.c:570: warning: (near initialization for `oh323_var_tab') chan_oh323.c:573: warning: excess elements in scalar initializer chan_oh323.c:573: warning: (near initialization for `oh323_var_tab') chan_oh323.c:586: warning: structure defined inside parms chan_oh323.c:586: warning: empty declaration chan_oh323.c:593: warning: structure defined inside parms chan_oh323.c:593: warning: empty declaration chan_oh323.c:630: syntax error before "gkmode_t" chan_oh323.c:630: warning: no semicolon at end of struct or union chan_oh323.c:634: syntax error before "uimode_t" chan_oh323.c:639: syntax error before '}' token chan_oh323.c:640: storage class specified for parameter `config_options' chan_oh323.c:649: warning: structure defined inside parms chan_oh323.c:649: warning: empty declaration chan_oh323.c:660: warning: structure defined inside parms chan_oh323.c:660: warning: empty declaration chan_oh323.c:690: syntax error before "call_options_t" chan_oh323.c:690: warning: no semicolon at end of struct or union chan_oh323.c:732: redeclaration of `buf' /usr/include/asterisk/utils.h:26: `buf' previously declared here chan_oh323.c:749: syntax error before "rtp_stats_t" chan_oh323.c:762: syntax error before '}' token chan_oh323.c:767: storage class specified for parameter `oh323_tab' chan_oh323.c:792: warning: structure defined inside parms chan_oh323.c:792: warning: empty declaration chan_oh323.c:796: warning: structure defined inside parms chan_oh323.c:796: storage class specified for parameter `oh323_ep_list' chan_oh323.c:800: storage class specified for parameter `find_call' chan_oh323.c:801: storage class specified for parameter `oh323_close_call_fds' chan_oh323.c:802: storage class specified for parameter `oh323_destroy' chan_oh323.c:804: syntax error before '*' token chan_oh323.c:804: storage class specified for parameter `copy_call_details' chan_oh323.c:804: warning: function declaration isn't a prototype chan_oh323.c:805: syntax error before '*' token chan_oh323.c:805: storage class specified for parameter `clear_call_details' chan_oh323.c:805: warning: function declaration isn't a prototype chan_oh323.c:806: storage class specified for parameter `oh323_codec2format' chan_oh323.c:807: storage class specified for parameter `oh323_codecset2str' chan_oh323.c:808: storage class specified for parameter `oh323_format2codecset' chan_oh323.c:809: storage class specified for parameter `oh323_state2str' chan_oh323.c:810: storage class specified for parameter `oh323_direction2str' chan_oh323.c:810: warning: parameter names (without types) in function declaration chan_oh323.c:811: storage class specified for parameter `context_from_alias' chan_oh323.c:812: storage class specified for parameter `context_from_prefix' chan_oh323.c:813: storage class specified for parameter `oh323_release' chan_oh323.c:820: storage class specified for parameter `oh323_show_conf' chan_oh323.c:820: syntax error before '{' token chan_oh323.c:824: syntax error before "if" chan_oh323.c:896: syntax error before "if" chan_oh323.c:1017: parameter `found' is initialized chan_oh323.c:1019: syntax error before "if" chan_oh323.c:1063: storage class specified for parameter `oh323_show_stats_usage' chan_oh323.c:1063: parameter `oh323_show_stats_usage' is initialized chan_oh323.c:1066: storage class specified for parameter `oh323_show_channels_usage' chan_oh323.c:1066: parameter `oh323_show_channels_usage' is initialized chan_oh323.c:1069: storage class specified for parameter `oh323_show_established_usage' chan_oh323.c:1069: parameter `oh323_show_established_usage' is initialized chan_oh323.c:1075: storage class specified for parameter `oh323_debug_toggle_usage' chan_oh323.c:1075: parameter `oh323_debug_toggle_usage' is initialized chan_oh323.c:1081: storage class specified for parameter `oh323_vars_usage' chan_oh323.c:1081: parameter `oh323_vars_usage' is initialized chan_oh323.c:1085: storage class specified for parameter `cli_show_conf' chan_oh323.c:1085: parameter `cli_show_conf' is initialized chan_oh323.c:1087: `oh323_show_conf_usage' undeclared (first use in this function) chan_oh323.c:1088: storage class specified for parameter `cli_show_stats' chan_oh323.c:1088: parameter `cli_show_stats' is initialized chan_oh323.c:1089: `oh323_show_stats' undeclared (first use in this function) chan_oh323.c:1091: storage class specified for parameter `cli_show_info' chan_oh323.c:1091: parameter `cli_show_info' is initialized chan_oh323.c:1092: `oh323_show_channels' undeclared (first use in this function) chan_oh323.c:1094: storage class specified for parameter `cli_show_established' chan_oh323.c:1094: parameter `cli_show_established' is initialized chan_oh323.c:1095: `oh323_show_established' undeclared (first use in this function) chan_oh323.c:1100: storage class specified for parameter `cli_debug_toggle' chan_oh323.c:1100: parameter `cli_debug_toggle' is initialized chan_oh323.c:1101: `oh323_debug_toggle' undeclared (first use in this function) chan_oh323.c:1106: storage class specified for parameter `cli_vars' chan_oh323.c:1106: parameter `cli_vars' is initialized chan_oh323.c:1107: `oh323_vars' undeclared (first use in this function) chan_oh323.c:1115: storage class specified for parameter `oh323_exception' chan_oh323.c:1115: syntax error before '{' token chan_oh323.c:1117: parameter `notify_buf' is initialized chan_oh323.c:1117: warning: initialization makes pointer from integer without a cast chan_oh323.c:1120: syntax error before "if" chan_oh323.c:1296: syntax error before "if" chan_oh323.c:1402: parameter `called_addr' is initialized chan_oh323.c:1409: syntax error before "if" chan_oh323.c:1570: redeclaration of `i' chan_oh323.c:1017: `i' previously declared here chan_oh323.c:1570: redeclaration of `index' chan_oh323.c:754: `index' previously declared here chan_oh323.c:1575: syntax error before "if" chan_oh323.c:1706: redeclaration of `res' chan_oh323.c:1294: `res' previously declared here chan_oh323.c:1708: redeclaration of `buf' chan_oh323.c:732: `buf' previously declared here chan_oh323.c:1709: redeclaration of `i' chan_oh323.c:1570: `i' previously declared here chan_oh323.c:1711: redeclaration of `p1' chan_oh323.c:1118: `p1' previously declared here chan_oh323.c:1711: redeclaration of `p2' chan_oh323.c:1118: `p2' previously declared here chan_oh323.c:1714: syntax error before "if" chan_oh323.c:2006: redeclaration of `res' chan_oh323.c:1706: `res' previously declared here chan_oh323.c:2006: redeclaration of `framenum' chan_oh323.c:1706: `framenum' previously declared here chan_oh323.c:2007: redeclaration of `buf' chan_oh323.c:1708: `buf' previously declared here chan_oh323.c:2009: syntax error before "pthread_mutex_lock" chan_oh323.c:2295: redeclaration of `i' chan_oh323.c:1709: `i' previously declared here chan_oh323.c:2297: syntax error before "tmp" chan_oh323.c:2487: redeclaration of `len' chan_oh323.c:2006: `len' previously declared here chan_oh323.c:2488: redeclaration of `context' chan_oh323.c:635: `context' previously declared here chan_oh323.c:2489: redeclaration of `fmt' chan_oh323.c:1407: `fmt' previously declared here chan_oh323.c:2491: syntax error before "if" chan_oh323.c:2703: syntax error before "if" chan_oh323.c:2868: redeclaration of `i' chan_oh323.c:2295: `i' previously declared here chan_oh323.c:2870: syntax error before '*' token chan_oh323.c:2892: parameter `ci' is initialized chan_oh323.c:2892: invalid use of undefined type `struct oh323_options' chan_oh323.c:2894: syntax error before "if" chan_oh323.c:3017: redeclaration of `i' chan_oh323.c:2868: `i' previously declared here chan_oh323.c:3019: syntax error before "if" chan_oh323.c:3046: redeclaration of `i' chan_oh323.c:3017: `i' previously declared here chan_oh323.c:3048: syntax error before "if" chan_oh323.c:3167: syntax error before "cd" chan_oh323.c:3167: warning: function declaration isn't a prototype chan_oh323.c:3168: syntax error before "cd" chan_oh323.c:3168: warning: function declaration isn't a prototype chan_oh323.c:3169: syntax error before "cd" chan_oh323.c:3169: warning: function declaration isn't a prototype chan_oh323.c:3170: syntax error before "cd" chan_oh323.c:3170: warning: function declaration isn't a prototype chan_oh323.c:3171: syntax error before "cd" chan_oh323.c:3171: warning: function declaration isn't a prototype chan_oh323.c:3182: syntax error before "cd" chan_oh323.c:3184: warning: function declaration isn't a prototype chan_oh323.c:3187: redeclaration of `tv' chan_oh323.c:473: `tv' previously declared here chan_oh323.c:3189: syntax error before "if" chan_oh323.c:3436: parameter `shutdown_buf' is initialized chan_oh323.c:3436: warning: initialization makes pointer from integer without a cast chan_oh323.c:3438: syntax error before "if" chan_oh323.c:3624: redeclaration of `c' chan_oh323.c:2701: `c' previously declared here chan_oh323.c:3625: redeclaration of `tv' chan_oh323.c:3187: `tv' previously declared here chan_oh323.c:3627: syntax error before "if" chan_oh323.c:3789: parameter `exception_buf' is initialized chan_oh323.c:3789: warning: initialization makes pointer from integer without a cast chan_oh323.c:3791: syntax error before "if" chan_oh323.c:3996: redeclaration of `index' chan_oh323.c:1570: `index' previously declared here chan_oh323.c:3998: syntax error before "if" chan_oh323.c:4033: redeclaration of `res' chan_oh323.c:2006: `res' previously declared here chan_oh323.c:4033: redeclaration of `i' chan_oh323.c:3046: `i' previously declared here chan_oh323.c:4035: syntax error before "if" chan_oh323.c:4203: parameter `maxtries' is initialized chan_oh323.c:4204: redeclaration of `res' chan_oh323.c:4033: `res' previously declared here chan_oh323.c:4206: syntax error before "if" chan_oh323.c:4258: syntax error before "if" chan_oh323.c:4357: parameter `v' is initialized chan_oh323.c:4358: redeclaration of `regtmp' chan_oh323.c:4255: `regtmp' previously declared here chan_oh323.c:4364: redeclaration of `flags' chan_oh323.c:2295: `flags' previously declared here chan_oh323.c:4365: redeclaration of `i' chan_oh323.c:4033: `i' previously declared here chan_oh323.c:4369: syntax error before "memset" chan_oh323.c:4842: redeclaration of `codectmp' chan_oh323.c:4359: `codectmp' previously declared here chan_oh323.c:4843: redeclaration of `exttmp' chan_oh323.c:4360: `exttmp' previously declared here chan_oh323.c:4844: redeclaration of `i' chan_oh323.c:4365: `i' previously declared here chan_oh323.c:4847: syntax error before "regtmp" chan_oh323.c:4956: redeclaration of `regtmp' chan_oh323.c:4358: `regtmp' previously declared here chan_oh323.c:4957: redeclaration of `codectmp' chan_oh323.c:4842: `codectmp' previously declared here chan_oh323.c:4958: redeclaration of `i' chan_oh323.c:4844: `i' previously declared here chan_oh323.c:4958: redeclaration of `j' chan_oh323.c:1017: `j' previously declared here chan_oh323.c:4959: redeclaration of `res' chan_oh323.c:4204: `res' previously declared here chan_oh323.c:4963: syntax error before "ast_mutex_init" make[1]: *** [chan_oh323.o] Error 1 make[1]: Leaving directory `/usr/src/asterisk-oh323-0.7.0/asterisk-driver' make: *** [subdirs_build] Error 1