Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 6 Nov 2007 12:50:04 GMT
From:      Taras Savchuk <taras@elantech.ru>
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   Re: ports/117270: [UPDATE] net/asterisk-addons to 1.4.4
Message-ID:  <200711061250.lA6Co4Nk021511@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR ports/117270; it has been noted by GNATS.

From: Taras Savchuk <taras@elantech.ru>
To: bug-followup@FreeBSD.org,  viper@perm.raid.ru
Cc:  
Subject: Re: ports/117270: [UPDATE] net/asterisk-addons to 1.4.4
Date: Tue, 06 Nov 2007 15:28:21 +0300

 Patch isn't working for me...
 
 uname -a:
 
 FreeBSD pbx 6.2-RELEASE-p7 FreeBSD 6.2-RELEASE-p7 #2: Fri Aug 31 
 00:39:50 MSD 2007     pbx@pbx:/usr/obj/usr/src/sys/PBX  i386
 
 Broken build:
 
 gmake[3]: Entering directory 
 `/usr/ports/net/asterisk-addons/work/asterisk-addons-1.4.4/asterisk-ooh323c'
 source='src/chan_h323.c' object='chan_h323.lo' libtool=yes \
          depfile='.deps/chan_h323.Plo' tmpdepfile='.deps/chan_h323.TPlo' \
          depmode=gcc3 /usr/local/bin/bash ./config/depcomp \
          /usr/local/bin/bash ./libtool --mode=compile cc -DHAVE_CONFIG_H 
 -I. -I. -I. -I./ooh323c/src -I./ooh323c/src/h323     -DGNU -D_GNU_SOURCE 
 -D_REENTRANT -D_COMPACT -c -o chan_h323.lo `test -f 'src/chan_h323.c' || 
 echo './'`src/chan_h323.c
 mkdir .libs
 cc -DHAVE_CONFIG_H -I. -I. -I. -I./ooh323c/src -I./ooh323c/src/h323 
 -DGNU -D_GNU_SOURCE -D_REENTRANT -D_COMPACT -c src/chan_h323.c -MT 
 chan_h323.lo -MD -MP -MF .deps/chan_h323.TPlo  -fPIC -DPIC -DPIC -o 
 chan_h323.o
 In file included from src/chan_h323.c:18:
 src/chan_h323.h:19:22: asterisk.h: No such file or directory
 src/chan_h323.h:42:27: asterisk/lock.h: No such file or directory
 src/chan_h323.h:43:30: asterisk/channel.h: No such file or directory
 src/chan_h323.h:44:29: asterisk/config.h: No such file or directory
 src/chan_h323.h:45:29: asterisk/logger.h: No such file or directory
 src/chan_h323.h:46:29: asterisk/module.h: No such file or directory
 src/chan_h323.h:47:26: asterisk/pbx.h: No such file or directory
 src/chan_h323.h:48:28: asterisk/utils.h: No such file or directory
 src/chan_h323.h:49:30: asterisk/options.h: No such file or directory
 src/chan_h323.h:50:28: asterisk/sched.h: No such file or directory
 src/chan_h323.h:51:25: asterisk/io.h: No such file or directory
 src/chan_h323.h:52:29: asterisk/causes.h: No such file or directory
 src/chan_h323.h:53:26: asterisk/rtp.h: No such file or directory
 src/chan_h323.h:54:26: asterisk/acl.h: No such file or directory
 src/chan_h323.h:55:31: asterisk/callerid.h: No such file or directory
 src/chan_h323.h:56:27: asterisk/file.h: No such file or directory
 src/chan_h323.h:57:26: asterisk/cli.h: No such file or directory
 src/chan_h323.h:58:26: asterisk/app.h: No such file or directory
 src/chan_h323.h:59:34: asterisk/musiconhold.h: No such file or directory
 src/chan_h323.h:60:30: asterisk/manager.h: No such file or directory
 src/chan_h323.h:61:26: asterisk/dsp.h: No such file or directory
 src/chan_h323.h:62:35: asterisk/stringfields.h: No such file or directory
 In file included from src/chan_h323.h:68,
                   from src/chan_h323.c:18:
 src/ooh323cDriver.h:35: warning: "struct ast_codec_pref" declared inside 
 parameter list
 src/ooh323cDriver.h:35: warning: its scope is only this definition or 
 declaration, which is probably not what you want
 src/ooh323cDriver.h:38: warning: "struct ast_codec_pref" declared inside 
 parameter list
 In file included from src/chan_h323.c:18:
 src/chan_h323.h:96: warning: "struct ast_channel" declared inside 
 parameter list
 src/chan_h323.h:102: warning: "struct ast_codec_pref" declared inside 
 parameter list
 src/chan_h323.c:58: warning: "struct ast_rtp" declared inside parameter list
 src/chan_h323.c:59: warning: "struct ast_rtp" declared inside parameter list
 src/chan_h323.c:61: warning: "struct ast_rtp" declared inside parameter list
 src/chan_h323.c:63: warning: "struct ast_codec_pref" declared inside 
 parameter list
 src/chan_h323.c:67: error: variable `ooh323_tech' has initializer but 
 incomplete type
 src/chan_h323.c:68: error: unknown field `type' specified in initializer
 src/chan_h323.c:68: warning: excess elements in struct initializer
 src/chan_h323.c:68: warning: (near initialization for `ooh323_tech')
 src/chan_h323.c:69: error: unknown field `description' specified in 
 initializer
 src/chan_h323.c:69: warning: excess elements in struct initializer
 src/chan_h323.c:69: warning: (near initialization for `ooh323_tech')
 src/chan_h323.c:70: error: unknown field `capabilities' specified in 
 initializer
 src/chan_h323.c:70: warning: excess elements in struct initializer
 src/chan_h323.c:70: warning: (near initialization for `ooh323_tech')
 src/chan_h323.c:71: error: unknown field `requester' specified in 
 initializer
 src/chan_h323.c:71: warning: excess elements in struct initializer
 src/chan_h323.c:71: warning: (near initialization for `ooh323_tech')
 src/chan_h323.c:72: error: unknown field `send_digit_begin' specified in 
 initializer
 src/chan_h323.c:72: warning: excess elements in struct initializer
 src/chan_h323.c:72: warning: (near initialization for `ooh323_tech')
 src/chan_h323.c:73: error: unknown field `send_digit_end' specified in 
 initializer
 src/chan_h323.c:73: warning: excess elements in struct initializer
 src/chan_h323.c:73: warning: (near initialization for `ooh323_tech')
 src/chan_h323.c:74: error: unknown field `call' specified in initializer
 src/chan_h323.c:74: warning: excess elements in struct initializer
 src/chan_h323.c:74: warning: (near initialization for `ooh323_tech')
 src/chan_h323.c:75: error: unknown field `hangup' specified in initializer
 src/chan_h323.c:75: warning: excess elements in struct initializer
 src/chan_h323.c:75: warning: (near initialization for `ooh323_tech')
 src/chan_h323.c:76: error: unknown field `answer' specified in initializer
 src/chan_h323.c:76: warning: excess elements in struct initializer
 src/chan_h323.c:76: warning: (near initialization for `ooh323_tech')
 src/chan_h323.c:77: error: unknown field `read' specified in initializer
 src/chan_h323.c:77: warning: excess elements in struct initializer
 src/chan_h323.c:77: warning: (near initialization for `ooh323_tech')
 src/chan_h323.c:78: error: unknown field `write' specified in initializer
 src/chan_h323.c:78: warning: excess elements in struct initializer
 src/chan_h323.c:78: warning: (near initialization for `ooh323_tech')
 src/chan_h323.c:79: error: unknown field `exception' specified in 
 initializer
 src/chan_h323.c:79: warning: excess elements in struct initializer
 src/chan_h323.c:79: warning: (near initialization for `ooh323_tech')
 src/chan_h323.c:80: error: unknown field `indicate' specified in initializer
 src/chan_h323.c:80: warning: excess elements in struct initializer
 src/chan_h323.c:80: warning: (near initialization for `ooh323_tech')
 src/chan_h323.c:81: error: unknown field `fixup' specified in initializer
 src/chan_h323.c:81: warning: excess elements in struct initializer
 src/chan_h323.c:81: warning: (near initialization for `ooh323_tech')
 src/chan_h323.c:82: error: unknown field `send_html' specified in 
 initializer
 src/chan_h323.c:82: warning: excess elements in struct initializer
 src/chan_h323.c:82: warning: (near initialization for `ooh323_tech')
 src/chan_h323.c:83: error: unknown field `bridge' specified in initializer
 src/chan_h323.c:83: error: `ast_rtp_bridge' undeclared here (not in a 
 function)
 src/chan_h323.c:83: warning: excess elements in struct initializer
 src/chan_h323.c:83: warning: (near initialization for `ooh323_tech')
 src/chan_h323.c:86: error: variable `ooh323_rtp' has initializer but 
 incomplete type
 src/chan_h323.c:87: error: unknown field `type' specified in initializer
 src/chan_h323.c:87: warning: excess elements in struct initializer
 src/chan_h323.c:87: warning: (near initialization for `ooh323_rtp')
 src/chan_h323.c:88: error: unknown field `get_rtp_info' specified in 
 initializer
 src/chan_h323.c:88: warning: excess elements in struct initializer
 src/chan_h323.c:88: warning: (near initialization for `ooh323_rtp')
 src/chan_h323.c:89: error: unknown field `get_vrtp_info' specified in 
 initializer
 src/chan_h323.c:89: warning: excess elements in struct initializer
 src/chan_h323.c:89: warning: (near initialization for `ooh323_rtp')
 src/chan_h323.c:90: error: unknown field `set_rtp_peer' specified in 
 initializer
 src/chan_h323.c:91: warning: excess elements in struct initializer
 src/chan_h323.c:91: warning: (near initialization for `ooh323_rtp')
 src/chan_h323.c:95: error: syntax error before "ast_mutex_t"
 src/chan_h323.c:108: error: `AST_MAX_EXTENSION' undeclared here (not in 
 a function)
 src/chan_h323.c:121: error: field `prefs' has incomplete type
 src/chan_h323.c:133: warning: parameter names (without types) in 
 function declaration
 src/chan_h323.c:133: warning: data definition has no type or storage class
 src/chan_h323.c:137: error: syntax error before "ast_mutex_t"
 src/chan_h323.c:145: error: field `prefs' has incomplete type
 src/chan_h323.c:155: error: syntax error before "ast_mutex_t"
 src/chan_h323.c:160: error: field `prefs' has incomplete type
 src/chan_h323.c:179: error: syntax error before "ast_mutex_t"
 src/chan_h323.c:184: error: syntax error before "ast_mutex_t"
 src/chan_h323.c:189: warning: parameter names (without types) in 
 function declaration
 src/chan_h323.c:189: warning: data definition has no type or storage class
 src/chan_h323.c:193: warning: parameter names (without types) in 
 function declaration
 src/chan_h323.c:193: warning: data definition has no type or storage class
 src/chan_h323.c:195: warning: parameter names (without types) in 
 function declaration
 src/chan_h323.c:195: warning: data definition has no type or storage class
 src/chan_h323.c:208: error: `AST_FORMAT_ULAW' undeclared here (not in a 
 function)
 src/chan_h323.c:234: warning: parameter names (without types) in 
 function declaration
 src/chan_h323.c:234: warning: data definition has no type or storage class
 src/chan_h323.c:239: error: `AST_PTHREADT_NULL' undeclared here (not in 
 a function)
 src/chan_h323.c: In function `ooh323_new':
 src/chan_h323.c:248: error: `LOG_DEBUG' undeclared (first use in this 
 function)
 src/chan_h323.c:248: error: (Each undeclared identifier is reported only 
 once
 src/chan_h323.c:248: error: for each function it appears in.)
 src/chan_h323.c:252: error: structure has no member named `lock'
 src/chan_h323.c:253: warning: assignment makes pointer from integer 
 without a cast
 src/chan_h323.c:254: error: structure has no member named `lock'
 src/chan_h323.c:258: error: dereferencing pointer to incomplete type
 src/chan_h323.c:259: error: dereferencing pointer to incomplete type
 src/chan_h323.c:261: error: dereferencing pointer to incomplete type
 src/chan_h323.c:264: error: dereferencing pointer to incomplete type
 src/chan_h323.c:266: error: dereferencing pointer to incomplete type
 src/chan_h323.c:267: error: dereferencing pointer to incomplete type
 src/chan_h323.c:269: error: `AST_STATE_RING' undeclared (first use in 
 this function)
 src/chan_h323.c:270: error: dereferencing pointer to incomplete type
 src/chan_h323.c:272: error: dereferencing pointer to incomplete type
 src/chan_h323.c:272: error: `AST_ADSI_UNAVAILABLE' undeclared (first use 
 in this function)
 src/chan_h323.c:273: error: dereferencing pointer to incomplete type
 src/chan_h323.c:274: error: dereferencing pointer to incomplete type
 src/chan_h323.c:275: error: dereferencing pointer to incomplete type
 src/chan_h323.c:276: error: dereferencing pointer to incomplete type
 src/chan_h323.c:277: error: dereferencing pointer to incomplete type
 src/chan_h323.c:282: warning: assignment makes pointer from integer 
 without a cast
 src/chan_h323.c:283: error: `DSP_FEATURE_DTMF_DETECT' undeclared (first 
 use in this function)
 src/chan_h323.c:286: error: `usecnt_lock' undeclared (first use in this 
 function)
 src/chan_h323.c:293: error: dereferencing pointer to incomplete type
 src/chan_h323.c:293: error: dereferencing pointer to incomplete type
 src/chan_h323.c:294: error: dereferencing pointer to incomplete type
 src/chan_h323.c:294: error: dereferencing pointer to incomplete type
 src/chan_h323.c:295: error: dereferencing pointer to incomplete type
 src/chan_h323.c:295: error: dereferencing pointer to incomplete type
 src/chan_h323.c:296: error: dereferencing pointer to incomplete type
 src/chan_h323.c:296: error: dereferencing pointer to incomplete type
 src/chan_h323.c:298: error: dereferencing pointer to incomplete type
 src/chan_h323.c:301: error: dereferencing pointer to incomplete type
 src/chan_h323.c:305: error: dereferencing pointer to incomplete type
 src/chan_h323.c:329: error: `accountcode' undeclared (first use in this 
 function)
 src/chan_h323.c:332: error: dereferencing pointer to incomplete type
 src/chan_h323.c:335: error: `AST_STATE_DOWN' undeclared (first use in 
 this function)
 src/chan_h323.c:337: error: `LOG_WARNING' undeclared (first use in this 
 function)
 src/chan_h323.c:337: error: dereferencing pointer to incomplete type
 src/chan_h323.c:338: error: dereferencing pointer to incomplete type
 src/chan_h323.c:347: error: dereferencing pointer to incomplete type
 src/chan_h323.c: In function `ooh323_alloc':
 src/chan_h323.c:362: error: `LOG_DEBUG' undeclared (first use in this 
 function)
 src/chan_h323.c:367: error: `LOG_ERROR' undeclared (first use in this 
 function)
 src/chan_h323.c:372: error: structure has no member named `lock'
 src/chan_h323.c:373: error: structure has no member named `lock'
 src/chan_h323.c:398: error: structure has no member named `lock'
 src/chan_h323.c:399: error: structure has no member named `lock'
 src/chan_h323.c:405: warning: assignment makes pointer from integer 
 without a cast
 src/chan_h323.c:409: error: `LOG_WARNING' undeclared (first use in this 
 function)
 src/chan_h323.c:411: error: structure has no member named `lock'
 src/chan_h323.c:412: error: structure has no member named `lock'
 src/chan_h323.c:434: error: invalid application of `sizeof' to 
 incomplete type `ast_codec_pref'
 src/chan_h323.c:437: error: structure has no member named `lock'
 src/chan_h323.c:439: error: `iflock' undeclared (first use in this function)
 src/chan_h323.c: In function `ooh323_request':
 src/chan_h323.c:474: error: `AST_FORMAT_MAX_AUDIO' undeclared (first use 
 in this function)
 src/chan_h323.c:476: error: `LOG_NOTICE' undeclared (first use in this 
 function)
 src/chan_h323.c:485: error: `LOG_WARNING' undeclared (first use in this 
 function)
 src/chan_h323.c:488: error: structure has no member named `lock'
 src/chan_h323.c:524: error: `LOG_ERROR' undeclared (first use in this 
 function)
 src/chan_h323.c:544: error: invalid application of `sizeof' to 
 incomplete type `ast_codec_pref'
 src/chan_h323.c:553: error: invalid application of `sizeof' to 
 incomplete type `ast_codec_pref'
 src/chan_h323.c:566: error: `AST_STATE_DOWN' undeclared (first use in 
 this function)
 src/chan_h323.c:568: error: structure has no member named `lock'
 src/chan_h323.c:572: error: `iflock' undeclared (first use in this function)
 src/chan_h323.c: In function `find_call':
 src/chan_h323.c:594: error: `iflock' undeclared (first use in this function)
 src/chan_h323.c: In function `find_user':
 src/chan_h323.c:621: error: structure has no member named `lock'
 src/chan_h323.c:632: error: structure has no member named `lock'
 src/chan_h323.c: In function `find_friend':
 src/chan_h323.c:649: error: structure has no member named `lock'
 src/chan_h323.c:661: error: structure has no member named `lock'
 src/chan_h323.c: In function `find_peer':
 src/chan_h323.c:683: error: structure has no member named `lock'
 src/chan_h323.c:703: error: structure has no member named `lock'
 src/chan_h323.c: In function `ooh323_digit_begin':
 src/chan_h323.c:718: error: dereferencing pointer to incomplete type
 src/chan_h323.c:724: error: `LOG_ERROR' undeclared (first use in this 
 function)
 src/chan_h323.c:727: error: structure has no member named `lock'
 src/chan_h323.c:736: error: `ooh323c_cmd_lock' undeclared (first use in 
 this function)
 src/chan_h323.c:740: error: structure has no member named `lock'
 src/chan_h323.c: In function `ooh323_digit_end':
 src/chan_h323.c:750: error: dereferencing pointer to incomplete type
 src/chan_h323.c:756: error: `LOG_ERROR' undeclared (first use in this 
 function)
 src/chan_h323.c:759: error: structure has no member named `lock'
 src/chan_h323.c:763: error: structure has no member named `lock'
 src/chan_h323.c: In function `ooh323_call':
 src/chan_h323.c:773: error: dereferencing pointer to incomplete type
 src/chan_h323.c:787: error: dereferencing pointer to incomplete type
 src/chan_h323.c:787: error: `AST_STATE_DOWN' undeclared (first use in 
 this function)
 src/chan_h323.c:787: error: dereferencing pointer to incomplete type
 src/chan_h323.c:787: error: `AST_STATE_RESERVED' undeclared (first use 
 in this function)
 src/chan_h323.c:789: error: `LOG_WARNING' undeclared (first use in this 
 function)
 src/chan_h323.c:790: error: dereferencing pointer to incomplete type
 src/chan_h323.c:793: error: structure has no member named `lock'
 src/chan_h323.c:795: error: dereferencing pointer to incomplete type
 src/chan_h323.c:797: error: dereferencing pointer to incomplete type
 src/chan_h323.c:800: error: dereferencing pointer to incomplete type
 src/chan_h323.c:802: error: dereferencing pointer to incomplete type
 src/chan_h323.c:805: error: dereferencing pointer to incomplete type
 src/chan_h323.c:807: error: dereferencing pointer to incomplete type
 src/chan_h323.c:813: warning: assignment makes pointer from integer 
 without a cast
 src/chan_h323.c:818: warning: assignment makes pointer from integer 
 without a cast
 src/chan_h323.c:825: warning: assignment makes pointer from integer 
 without a cast
 src/chan_h323.c:829: warning: assignment makes pointer from integer 
 without a cast
 src/chan_h323.c:837: error: structure has no member named `lock'
 src/chan_h323.c:838: error: `LOG_ERROR' undeclared (first use in this 
 function)
 src/chan_h323.c:851: error: `ooh323c_cmd_lock' undeclared (first use in 
 this function)
 src/chan_h323.c:858: error: structure has no member named `lock'
 src/chan_h323.c: In function `ooh323_hangup':
 src/chan_h323.c:872: error: dereferencing pointer to incomplete type
 src/chan_h323.c:879: error: structure has no member named `lock'
 src/chan_h323.c:883: error: dereferencing pointer to incomplete type
 src/chan_h323.c:885: error: `ooh323c_cmd_lock' undeclared (first use in 
 this function)
 src/chan_h323.c:887: error: dereferencing pointer to incomplete type
 src/chan_h323.c:898: error: dereferencing pointer to incomplete type
 src/chan_h323.c:902: error: structure has no member named `lock'
 src/chan_h323.c:903: error: `usecnt_lock' undeclared (first use in this 
 function)
 src/chan_h323.c:914: error: `LOG_ERROR' undeclared (first use in this 
 function)
 src/chan_h323.c: In function `ooh323_answer':
 src/chan_h323.c:926: error: dereferencing pointer to incomplete type
 src/chan_h323.c:931: error: structure has no member named `lock'
 src/chan_h323.c:932: error: dereferencing pointer to incomplete type
 src/chan_h323.c:932: error: `AST_STATE_UP' undeclared (first use in this 
 function)
 src/chan_h323.c:934: error: dereferencing pointer to incomplete type
 src/chan_h323.c:936: error: `option_debug' undeclared (first use in this 
 function)
 src/chan_h323.c:937: error: `LOG_DEBUG' undeclared (first use in this 
 function)
 src/chan_h323.c:937: error: dereferencing pointer to incomplete type
 src/chan_h323.c:938: error: dereferencing pointer to incomplete type
 src/chan_h323.c:939: error: `ooh323c_cmd_lock' undeclared (first use in 
 this function)
 src/chan_h323.c:943: error: structure has no member named `lock'
 src/chan_h323.c: In function `ooh323_read':
 src/chan_h323.c:954: error: variable `null_frame' has initializer but 
 incomplete type
 src/chan_h323.c:954: error: `AST_FRAME_NULL' undeclared (first use in 
 this function)
 src/chan_h323.c:954: warning: excess elements in struct initializer
 src/chan_h323.c:954: warning: (near initialization for `null_frame')
 src/chan_h323.c:954: error: storage size of 'null_frame' isn't known
 src/chan_h323.c:955: error: dereferencing pointer to incomplete type
 src/chan_h323.c:957: error: structure has no member named `lock'
 src/chan_h323.c:963: error: structure has no member named `lock'
 src/chan_h323.c:954: error: storage size of `null_frame' isn't known
 src/chan_h323.c: In function `ooh323_write':
 src/chan_h323.c:969: error: dereferencing pointer to incomplete type
 src/chan_h323.c:972: error: dereferencing pointer to incomplete type
 src/chan_h323.c:972: error: `AST_FRAME_VOICE' undeclared (first use in 
 this function)
 src/chan_h323.c:974: error: dereferencing pointer to incomplete type
 src/chan_h323.c:974: error: dereferencing pointer to incomplete type
 src/chan_h323.c:976: error: `LOG_WARNING' undeclared (first use in this 
 function)
 src/chan_h323.c:978: error: dereferencing pointer to incomplete type
 src/chan_h323.c:978: error: dereferencing pointer to incomplete type
 src/chan_h323.c:978: error: dereferencing pointer to incomplete type
 src/chan_h323.c:979: error: dereferencing pointer to incomplete type
 src/chan_h323.c:983: error: structure has no member named `lock'
 src/chan_h323.c:986: error: structure has no member named `lock'
 src/chan_h323.c:989: error: dereferencing pointer to incomplete type
 src/chan_h323.c:989: error: `AST_FRAME_IMAGE' undeclared (first use in 
 this function)
 src/chan_h323.c:994: error: dereferencing pointer to incomplete type
 src/chan_h323.c: In function `ooh323_indicate':
 src/chan_h323.c:1004: error: dereferencing pointer to incomplete type
 src/chan_h323.c:1007: error: structure has no member named `lock'
 src/chan_h323.c:1009: error: structure has no member named `lock'
 src/chan_h323.c:1023: error: `AST_CONTROL_CONGESTION' undeclared (first 
 use in this function)
 src/chan_h323.c:1025: error: `ooh323c_cmd_lock' undeclared (first use in 
 this function)
 src/chan_h323.c:1031: error: `AST_CONTROL_BUSY' undeclared (first use in 
 this function)
 src/chan_h323.c:1039: error: `AST_CONTROL_HOLD' undeclared (first use in 
 this function)
 src/chan_h323.c:1042: error: `AST_CONTROL_UNHOLD' undeclared (first use 
 in this function)
 src/chan_h323.c:1045: error: `AST_CONTROL_PROCEEDING' undeclared (first 
 use in this function)
 src/chan_h323.c:1046: error: `AST_CONTROL_RINGING' undeclared (first use 
 in this function)
 src/chan_h323.c:1047: error: `AST_CONTROL_PROGRESS' undeclared (first 
 use in this function)
 src/chan_h323.c:1051: error: `LOG_WARNING' undeclared (first use in this 
 function)
 src/chan_h323.c: In function `ooh323_fixup':
 src/chan_h323.c:1065: error: dereferencing pointer to incomplete type
 src/chan_h323.c:1070: error: structure has no member named `lock'
 src/chan_h323.c:1072: error: `LOG_WARNING' undeclared (first use in this 
 function)
 src/chan_h323.c:1073: error: structure has no member named `lock'
 src/chan_h323.c:1084: error: structure has no member named `lock'
 src/chan_h323.c: In function `onAlerting':
 src/chan_h323.c:1171: error: `LOG_ERROR' undeclared (first use in this 
 function)
 src/chan_h323.c:1174: error: structure has no member named `lock'
 src/chan_h323.c:1177: error: `AST_STATE_RING' undeclared (first use in 
 this function)
 src/chan_h323.c:1180: error: structure has no member named `lock'
 src/chan_h323.c:1184: error: structure has no member named `lock'
 src/chan_h323.c:1188: error: structure has no member named `lock'
 src/chan_h323.c:1193: error: structure has no member named `lock'
 src/chan_h323.c:1194: error: dereferencing pointer to incomplete type
 src/chan_h323.c:1195: error: `AST_STATE_RINGING' undeclared (first use 
 in this function)
 src/chan_h323.c:1196: error: dereferencing pointer to incomplete type
 src/chan_h323.c:1197: error: `AST_CONTROL_RINGING' undeclared (first use 
 in this function)
 src/chan_h323.c: In function `ooh323_onReceivedDigit':
 src/chan_h323.c:1214: error: storage size of 'f' isn't known
 src/chan_h323.c:1217: error: `LOG_DEBUG' undeclared (first use in this 
 function)
 src/chan_h323.c:1220: error: `LOG_ERROR' undeclared (first use in this 
 function)
 src/chan_h323.c:1227: error: structure has no member named `lock'
 src/chan_h323.c:1229: error: `AST_FRAME_DTMF' undeclared (first use in 
 this function)
 src/chan_h323.c:1237: error: structure has no member named `lock'
 src/chan_h323.c: In function `ooh323_onReceivedSetup':
 src/chan_h323.c:1257: error: `LOG_ERROR' undeclared (first use in this 
 function)
 src/chan_h323.c:1260: error: structure has no member named `lock'
 src/chan_h323.c:1343: error: structure has no member named `lock'
 src/chan_h323.c:1348: error: invalid application of `sizeof' to 
 incomplete type `ast_codec_pref'
 src/chan_h323.c:1353: error: structure has no member named `lock'
 src/chan_h323.c:1361: error: structure has no member named `lock'
 src/chan_h323.c: In function `onNewCallCreated':
 src/chan_h323.c:1385: error: `LOG_ERROR' undeclared (first use in this 
 function)
 src/chan_h323.c:1388: error: structure has no member named `lock'
 src/chan_h323.c:1413: error: `LOG_DEBUG' undeclared (first use in this 
 function)
 src/chan_h323.c:1454: error: structure has no member named `lock'
 src/chan_h323.c: In function `onCallEstablished':
 src/chan_h323.c:1471: error: `LOG_ERROR' undeclared (first use in this 
 function)
 src/chan_h323.c:1474: error: structure has no member named `lock'
 src/chan_h323.c:1476: error: structure has no member named `lock'
 src/chan_h323.c:1481: error: dereferencing pointer to incomplete type
 src/chan_h323.c:1483: error: `LOG_DEBUG' undeclared (first use in this 
 function)
 src/chan_h323.c:1484: error: structure has no member named `lock'
 src/chan_h323.c:1486: error: structure has no member named `lock'
 src/chan_h323.c:1488: error: dereferencing pointer to incomplete type
 src/chan_h323.c:1488: error: `AST_STATE_UP' undeclared (first use in 
 this function)
 src/chan_h323.c:1492: error: dereferencing pointer to incomplete type
 src/chan_h323.c:1495: error: structure has no member named `lock'
 src/chan_h323.c:1496: error: `AST_CONTROL_ANSWER' undeclared (first use 
 in this function)
 src/chan_h323.c:1498: error: structure has no member named `lock'
 src/chan_h323.c: In function `onCallCleared':
 src/chan_h323.c:1516: error: structure has no member named `lock'
 src/chan_h323.c:1519: error: dereferencing pointer to incomplete type
 src/chan_h323.c:1521: error: `LOG_DEBUG' undeclared (first use in this 
 function)
 src/chan_h323.c:1522: error: structure has no member named `lock'
 src/chan_h323.c:1524: error: structure has no member named `lock'
 src/chan_h323.c:1536: error: dereferencing pointer to incomplete type
 src/chan_h323.c:1538: error: dereferencing pointer to incomplete type
 src/chan_h323.c:1538: error: `AST_SOFTHANGUP_DEV' undeclared (first use 
 in this function)
 src/chan_h323.c:1539: error: dereferencing pointer to incomplete type
 src/chan_h323.c:1541: error: structure has no member named `lock'
 src/chan_h323.c:1544: error: dereferencing pointer to incomplete type
 src/chan_h323.c:1547: error: structure has no member named `lock'
 src/chan_h323.c: In function `ooh323_delete_user':
 src/chan_h323.c:1565: error: structure has no member named `lock'
 src/chan_h323.c:1580: error: structure has no member named `lock'
 src/chan_h323.c: In function `ooh323_delete_peer':
 src/chan_h323.c:1600: error: structure has no member named `lock'
 src/chan_h323.c:1615: error: structure has no member named `lock'
 src/chan_h323.c: At top level:
 src/chan_h323.c:1632: warning: "struct ast_variable" declared inside 
 parameter list
 src/chan_h323.c: In function `build_user':
 src/chan_h323.c:1642: error: structure has no member named `lock'
 src/chan_h323.c:1645: error: invalid application of `sizeof' to 
 incomplete type `ast_codec_pref'
 src/chan_h323.c:1654: error: dereferencing pointer to incomplete type
 src/chan_h323.c:1655: error: dereferencing pointer to incomplete type
 src/chan_h323.c:1657: error: dereferencing pointer to incomplete type
 src/chan_h323.c:1658: error: dereferencing pointer to incomplete type
 src/chan_h323.c:1662: error: dereferencing pointer to incomplete type
 src/chan_h323.c:1663: error: dereferencing pointer to incomplete type
 src/chan_h323.c:1665: error: dereferencing pointer to incomplete type
 src/chan_h323.c:1666: error: dereferencing pointer to incomplete type
 src/chan_h323.c:1670: error: dereferencing pointer to incomplete type
 src/chan_h323.c:1672: error: dereferencing pointer to incomplete type
 src/chan_h323.c:1674: error: dereferencing pointer to incomplete type
 src/chan_h323.c:1676: error: dereferencing pointer to incomplete type
 src/chan_h323.c:1678: error: dereferencing pointer to incomplete type
 src/chan_h323.c:1679: error: dereferencing pointer to incomplete type
 src/chan_h323.c:1681: error: dereferencing pointer to incomplete type
 src/chan_h323.c:1682: error: dereferencing pointer to incomplete type
 src/chan_h323.c:1685: error: dereferencing pointer to incomplete type
 src/chan_h323.c:1686: error: dereferencing pointer to incomplete type
 src/chan_h323.c:1688: error: dereferencing pointer to incomplete type
 src/chan_h323.c:1690: error: dereferencing pointer to incomplete type
 src/chan_h323.c:1692: error: dereferencing pointer to incomplete type
 src/chan_h323.c:1695: error: dereferencing pointer to incomplete type
 src/chan_h323.c: At top level:
 src/chan_h323.c:1705: warning: "struct ast_variable" declared inside 
 parameter list
 src/chan_h323.c: In function `build_peer':
 src/chan_h323.c:1715: error: structure has no member named `lock'
 src/chan_h323.c:1718: error: invalid application of `sizeof' to 
 incomplete type `ast_codec_pref'
 src/chan_h323.c:1728: error: dereferencing pointer to incomplete type
 src/chan_h323.c:1729: error: dereferencing pointer to incomplete type
 src/chan_h323.c:1732: error: `LOG_ERROR' undeclared (first use in this 
 function)
 src/chan_h323.c:1737: error: dereferencing pointer to incomplete type
 src/chan_h323.c:1739: error: dereferencing pointer to incomplete type
 src/chan_h323.c:1740: error: dereferencing pointer to incomplete type
 src/chan_h323.c:1748: error: dereferencing pointer to incomplete type
 src/chan_h323.c:1750: error: dereferencing pointer to incomplete type
 src/chan_h323.c:1751: error: dereferencing pointer to incomplete type
 src/chan_h323.c:1759: error: dereferencing pointer to incomplete type
 src/chan_h323.c:1761: error: dereferencing pointer to incomplete type
 src/chan_h323.c:1762: error: dereferencing pointer to incomplete type
 src/chan_h323.c:1770: error: dereferencing pointer to incomplete type
 src/chan_h323.c:1772: error: dereferencing pointer to incomplete type
 src/chan_h323.c:1773: error: dereferencing pointer to incomplete type
 src/chan_h323.c:1775: error: dereferencing pointer to incomplete type
 src/chan_h323.c:1776: error: dereferencing pointer to incomplete type
 src/chan_h323.c:1778: error: dereferencing pointer to incomplete type
 src/chan_h323.c:1779: error: dereferencing pointer to incomplete type
 src/chan_h323.c:1783: error: dereferencing pointer to incomplete type
 src/chan_h323.c:1784: error: dereferencing pointer to incomplete type
 src/chan_h323.c:1786: error: dereferencing pointer to incomplete type
 src/chan_h323.c:1787: error: dereferencing pointer to incomplete type
 src/chan_h323.c:1791: error: dereferencing pointer to incomplete type
 src/chan_h323.c:1793: error: dereferencing pointer to incomplete type
 src/chan_h323.c:1795: error: dereferencing pointer to incomplete type
 src/chan_h323.c:1797: error: dereferencing pointer to incomplete type
 src/chan_h323.c:1799: error: dereferencing pointer to incomplete type
 src/chan_h323.c:1800: error: dereferencing pointer to incomplete type
 src/chan_h323.c:1802: error: dereferencing pointer to incomplete type
 src/chan_h323.c:1803: error: dereferencing pointer to incomplete type
 src/chan_h323.c:1805: error: dereferencing pointer to incomplete type
 src/chan_h323.c:1807: error: dereferencing pointer to incomplete type
 src/chan_h323.c:1809: error: dereferencing pointer to incomplete type
 src/chan_h323.c:1812: error: dereferencing pointer to incomplete type
 src/chan_h323.c: In function `ooh323_reload':
 src/chan_h323.c:1846: error: `h323_reload_lock' undeclared (first use in 
 this function)
 src/chan_h323.c: In function `reload_config':
 src/chan_h323.c:1881: warning: assignment makes pointer from integer 
 without a cast
 src/chan_h323.c:1885: error: `LOG_NOTICE' undeclared (first use in this 
 function)
 src/chan_h323.c:1895: error: invalid application of `sizeof' to 
 incomplete type `ast_codec_pref'
 src/chan_h323.c:1908: warning: assignment makes pointer from integer 
 without a cast
 src/chan_h323.c:1911: error: dereferencing pointer to incomplete type
 src/chan_h323.c:1912: error: dereferencing pointer to incomplete type
 src/chan_h323.c:1914: error: dereferencing pointer to incomplete type
 src/chan_h323.c:1915: error: dereferencing pointer to incomplete type
 src/chan_h323.c:1917: error: dereferencing pointer to incomplete type
 src/chan_h323.c:1918: error: dereferencing pointer to incomplete type
 src/chan_h323.c:1920: error: dereferencing pointer to incomplete type
 src/chan_h323.c:1921: error: dereferencing pointer to incomplete type
 src/chan_h323.c:1927: error: dereferencing pointer to incomplete type
 src/chan_h323.c:1928: error: dereferencing pointer to incomplete type
 src/chan_h323.c:1934: error: dereferencing pointer to incomplete type
 src/chan_h323.c:1935: error: dereferencing pointer to incomplete type
 src/chan_h323.c:1941: error: dereferencing pointer to incomplete type
 src/chan_h323.c:1944: error: `LOG_ERROR' undeclared (first use in this 
 function)
 src/chan_h323.c:1948: error: dereferencing pointer to incomplete type
 src/chan_h323.c:1953: error: dereferencing pointer to incomplete type
 src/chan_h323.c:1960: error: dereferencing pointer to incomplete type
 src/chan_h323.c:1965: error: dereferencing pointer to incomplete type
 src/chan_h323.c:1972: error: dereferencing pointer to incomplete type
 src/chan_h323.c:1977: error: dereferencing pointer to incomplete type
 src/chan_h323.c:1978: error: dereferencing pointer to incomplete type
 src/chan_h323.c:1980: error: dereferencing pointer to incomplete type
 src/chan_h323.c:1981: error: dereferencing pointer to incomplete type
 src/chan_h323.c:1983: error: dereferencing pointer to incomplete type
 src/chan_h323.c:1984: error: dereferencing pointer to incomplete type
 src/chan_h323.c:1986: error: dereferencing pointer to incomplete type
 src/chan_h323.c:1987: error: dereferencing pointer to incomplete type
 src/chan_h323.c:1990: error: dereferencing pointer to incomplete type
 src/chan_h323.c:1995: error: dereferencing pointer to incomplete type
 src/chan_h323.c:1998: error: dereferencing pointer to incomplete type
 src/chan_h323.c:1999: error: dereferencing pointer to incomplete type
 src/chan_h323.c:2001: error: dereferencing pointer to incomplete type
 src/chan_h323.c:2002: error: dereferencing pointer to incomplete type
 src/chan_h323.c:2003: error: `VERBOSE_PREFIX_3' undeclared (first use in 
 this function)
 src/chan_h323.c:2003: error: syntax error before string constant
 src/chan_h323.c:2006: error: dereferencing pointer to incomplete type
 src/chan_h323.c:2007: error: dereferencing pointer to incomplete type
 src/chan_h323.c:2011: error: dereferencing pointer to incomplete type
 src/chan_h323.c:2012: error: dereferencing pointer to incomplete type
 src/chan_h323.c:2014: error: dereferencing pointer to incomplete type
 src/chan_h323.c:2016: error: dereferencing pointer to incomplete type
 src/chan_h323.c:2018: error: dereferencing pointer to incomplete type
 src/chan_h323.c:2020: error: dereferencing pointer to incomplete type
 src/chan_h323.c:2022: error: dereferencing pointer to incomplete type
 src/chan_h323.c:2025: error: `LOG_WARNING' undeclared (first use in this 
 function)
 src/chan_h323.c:2027: error: dereferencing pointer to incomplete type
 src/chan_h323.c:2029: error: dereferencing pointer to incomplete type
 src/chan_h323.c:2030: error: dereferencing pointer to incomplete type
 src/chan_h323.c:2032: error: dereferencing pointer to incomplete type
 src/chan_h323.c:2033: error: dereferencing pointer to incomplete type
 src/chan_h323.c:2035: error: dereferencing pointer to incomplete type
 src/chan_h323.c:2036: error: dereferencing pointer to incomplete type
 src/chan_h323.c:2038: error: dereferencing pointer to incomplete type
 src/chan_h323.c:2039: error: dereferencing pointer to incomplete type
 src/chan_h323.c:2041: error: dereferencing pointer to incomplete type
 src/chan_h323.c:2042: error: dereferencing pointer to incomplete type
 src/chan_h323.c:2044: error: dereferencing pointer to incomplete type
 src/chan_h323.c:2046: error: dereferencing pointer to incomplete type
 src/chan_h323.c:2048: error: dereferencing pointer to incomplete type
 src/chan_h323.c:2050: error: dereferencing pointer to incomplete type
 src/chan_h323.c:2054: error: dereferencing pointer to incomplete type
 src/chan_h323.c:2058: error: dereferencing pointer to incomplete type
 src/chan_h323.c:2061: warning: assignment makes pointer from integer 
 without a cast
 src/chan_h323.c:2067: warning: assignment makes pointer from integer 
 without a cast
 src/chan_h323.c:2073: warning: passing arg 2 of `build_user' makes 
 pointer from integer without a cast
 src/chan_h323.c:2076: error: structure has no member named `lock'
 src/chan_h323.c:2079: error: structure has no member named `lock'
 src/chan_h323.c:2087: warning: passing arg 2 of `build_peer' makes 
 pointer from integer without a cast
 src/chan_h323.c:2090: error: structure has no member named `lock'
 src/chan_h323.c:2093: error: structure has no member named `lock'
 src/chan_h323.c:2101: warning: assignment makes pointer from integer 
 without a cast
 src/chan_h323.c: In function `ooh323_show_peer':
 src/chan_h323.c:2132: error: `RESULT_SHOWUSAGE' undeclared (first use in 
 this function)
 src/chan_h323.c:2135: error: structure has no member named `lock'
 src/chan_h323.c:2139: error: structure has no member named `lock'
 src/chan_h323.c:2145: error: structure has no member named `lock'
 src/chan_h323.c:2173: error: structure has no member named `lock'
 src/chan_h323.c:2179: error: structure has no member named `lock'
 src/chan_h323.c:2181: error: `RESULT_SUCCESS' undeclared (first use in 
 this function)
 src/chan_h323.c: In function `ooh323_show_peers':
 src/chan_h323.c:2192: error: `RESULT_SHOWUSAGE' undeclared (first use in 
 this function)
 src/chan_h323.c:2196: error: structure has no member named `lock'
 src/chan_h323.c:2200: error: structure has no member named `lock'
 src/chan_h323.c:2208: error: structure has no member named `lock'
 src/chan_h323.c:2211: error: structure has no member named `lock'
 src/chan_h323.c:2213: error: `RESULT_SUCCESS' undeclared (first use in 
 this function)
 src/chan_h323.c: In function `print_codec_to_cli':
 src/chan_h323.c:2226: error: dereferencing pointer to incomplete type
 src/chan_h323.c: In function `ooh323_show_user':
 src/chan_h323.c:2240: error: `RESULT_SHOWUSAGE' undeclared (first use in 
 this function)
 src/chan_h323.c:2243: error: structure has no member named `lock'
 src/chan_h323.c:2247: error: structure has no member named `lock'
 src/chan_h323.c:2254: error: structure has no member named `lock'
 src/chan_h323.c:2281: error: structure has no member named `lock'
 src/chan_h323.c:2287: error: structure has no member named `lock'
 src/chan_h323.c:2289: error: `RESULT_SUCCESS' undeclared (first use in 
 this function)
 src/chan_h323.c: In function `ooh323_show_users':
 src/chan_h323.c:2299: error: `RESULT_SHOWUSAGE' undeclared (first use in 
 this function)
 src/chan_h323.c:2303: error: structure has no member named `lock'
 src/chan_h323.c:2307: error: structure has no member named `lock'
 src/chan_h323.c:2313: error: structure has no member named `lock'
 src/chan_h323.c:2316: error: structure has no member named `lock'
 src/chan_h323.c:2318: error: `RESULT_SUCCESS' undeclared (first use in 
 this function)
 src/chan_h323.c: In function `ooh323_do_debug':
 src/chan_h323.c:2325: error: `RESULT_SHOWUSAGE' undeclared (first use in 
 this function)
 src/chan_h323.c:2329: error: `RESULT_SUCCESS' undeclared (first use in 
 this function)
 src/chan_h323.c: In function `ooh323_no_debug':
 src/chan_h323.c:2336: error: `RESULT_SHOWUSAGE' undeclared (first use in 
 this function)
 src/chan_h323.c:2339: error: `RESULT_SUCCESS' undeclared (first use in 
 this function)
 src/chan_h323.c: In function `ooh323_show_channels':
 src/chan_h323.c:2344: error: `RESULT_SUCCESS' undeclared (first use in 
 this function)
 src/chan_h323.c: In function `ooh323_show_config':
 src/chan_h323.c:2423: error: `RESULT_SUCCESS' undeclared (first use in 
 this function)
 src/chan_h323.c: At top level:
 src/chan_h323.c:2434: error: variable `cli_debug' has initializer but 
 incomplete type
 src/chan_h323.c:2435: error: extra brace group at end of initializer
 src/chan_h323.c:2435: error: (near initialization for `cli_debug')
 src/chan_h323.c:2435: warning: excess elements in struct initializer
 src/chan_h323.c:2435: warning: (near initialization for `cli_debug')
 src/chan_h323.c:2435: warning: excess elements in struct initializer
 src/chan_h323.c:2435: warning: (near initialization for `cli_debug')
 src/chan_h323.c:2435: warning: excess elements in struct initializer
 src/chan_h323.c:2435: warning: (near initialization for `cli_debug')
 src/chan_h323.c:2435: warning: excess elements in struct initializer
 src/chan_h323.c:2435: warning: (near initialization for `cli_debug')
 src/chan_h323.c:2441: error: variable `cli_no_debug' has initializer but 
 incomplete type
 src/chan_h323.c:2442: error: extra brace group at end of initializer
 src/chan_h323.c:2442: error: (near initialization for `cli_no_debug')
 src/chan_h323.c:2442: warning: excess elements in struct initializer
 src/chan_h323.c:2442: warning: (near initialization for `cli_no_debug')
 src/chan_h323.c:2442: warning: excess elements in struct initializer
 src/chan_h323.c:2442: warning: (near initialization for `cli_no_debug')
 src/chan_h323.c:2442: warning: excess elements in struct initializer
 src/chan_h323.c:2442: warning: (near initialization for `cli_no_debug')
 src/chan_h323.c:2442: warning: excess elements in struct initializer
 src/chan_h323.c:2442: warning: (near initialization for `cli_no_debug')
 src/chan_h323.c:2448: error: variable `cli_show_users' has initializer 
 but incomplete type
 src/chan_h323.c:2449: error: extra brace group at end of initializer
 src/chan_h323.c:2449: error: (near initialization for `cli_show_users')
 src/chan_h323.c:2449: warning: excess elements in struct initializer
 src/chan_h323.c:2449: warning: (near initialization for `cli_show_users')
 src/chan_h323.c:2449: warning: excess elements in struct initializer
 src/chan_h323.c:2449: warning: (near initialization for `cli_show_users')
 src/chan_h323.c:2449: warning: excess elements in struct initializer
 src/chan_h323.c:2449: warning: (near initialization for `cli_show_users')
 src/chan_h323.c:2449: warning: excess elements in struct initializer
 src/chan_h323.c:2449: warning: (near initialization for `cli_show_users')
 src/chan_h323.c:2455: error: variable `cli_show_user' has initializer 
 but incomplete type
 src/chan_h323.c:2456: error: extra brace group at end of initializer
 src/chan_h323.c:2456: error: (near initialization for `cli_show_user')
 src/chan_h323.c:2456: warning: excess elements in struct initializer
 src/chan_h323.c:2456: warning: (near initialization for `cli_show_user')
 src/chan_h323.c:2456: warning: excess elements in struct initializer
 src/chan_h323.c:2456: warning: (near initialization for `cli_show_user')
 src/chan_h323.c:2456: warning: excess elements in struct initializer
 src/chan_h323.c:2456: warning: (near initialization for `cli_show_user')
 src/chan_h323.c:2456: warning: excess elements in struct initializer
 src/chan_h323.c:2456: warning: (near initialization for `cli_show_user')
 src/chan_h323.c:2462: error: variable `cli_show_peers' has initializer 
 but incomplete type
 src/chan_h323.c:2463: error: extra brace group at end of initializer
 src/chan_h323.c:2463: error: (near initialization for `cli_show_peers')
 src/chan_h323.c:2463: warning: excess elements in struct initializer
 src/chan_h323.c:2463: warning: (near initialization for `cli_show_peers')
 src/chan_h323.c:2463: warning: excess elements in struct initializer
 src/chan_h323.c:2463: warning: (near initialization for `cli_show_peers')
 src/chan_h323.c:2463: warning: excess elements in struct initializer
 src/chan_h323.c:2463: warning: (near initialization for `cli_show_peers')
 src/chan_h323.c:2463: warning: excess elements in struct initializer
 src/chan_h323.c:2463: warning: (near initialization for `cli_show_peers')
 src/chan_h323.c:2469: error: variable `cli_show_peer' has initializer 
 but incomplete type
 src/chan_h323.c:2470: error: extra brace group at end of initializer
 src/chan_h323.c:2470: error: (near initialization for `cli_show_peer')
 src/chan_h323.c:2470: warning: excess elements in struct initializer
 src/chan_h323.c:2470: warning: (near initialization for `cli_show_peer')
 src/chan_h323.c:2470: warning: excess elements in struct initializer
 src/chan_h323.c:2470: warning: (near initialization for `cli_show_peer')
 src/chan_h323.c:2470: warning: excess elements in struct initializer
 src/chan_h323.c:2470: warning: (near initialization for `cli_show_peer')
 src/chan_h323.c:2470: warning: excess elements in struct initializer
 src/chan_h323.c:2470: warning: (near initialization for `cli_show_peer')
 src/chan_h323.c:2472: error: variable `cli_show_config' has initializer 
 but incomplete type
 src/chan_h323.c:2473: error: extra brace group at end of initializer
 src/chan_h323.c:2473: error: (near initialization for `cli_show_config')
 src/chan_h323.c:2473: warning: excess elements in struct initializer
 src/chan_h323.c:2473: warning: (near initialization for `cli_show_config')
 src/chan_h323.c:2473: warning: excess elements in struct initializer
 src/chan_h323.c:2473: warning: (near initialization for `cli_show_config')
 src/chan_h323.c:2473: warning: excess elements in struct initializer
 src/chan_h323.c:2473: warning: (near initialization for `cli_show_config')
 src/chan_h323.c:2473: warning: excess elements in struct initializer
 src/chan_h323.c:2473: warning: (near initialization for `cli_show_config')
 src/chan_h323.c: In function `load_module':
 src/chan_h323.c:2499: error: structure has no member named `lock'
 src/chan_h323.c:2501: error: structure has no member named `lock'
 src/chan_h323.c:2505: warning: assignment makes pointer from integer 
 without a cast
 src/chan_h323.c:2507: error: `LOG_WARNING' undeclared (first use in this 
 function)
 src/chan_h323.c:2509: warning: assignment makes pointer from integer 
 without a cast
 src/chan_h323.c:2519: error: `LOG_ERROR' undeclared (first use in this 
 function)
 src/chan_h323.c:2569: error: structure has no member named `lock'
 src/chan_h323.c:2579: error: structure has no member named `lock'
 src/chan_h323.c: In function `do_monitor':
 src/chan_h323.c:2654: error: `h323_reload_lock' undeclared (first use in 
 this function)
 src/chan_h323.c:2659: error: `option_verbose' undeclared (first use in 
 this function)
 src/chan_h323.c:2660: error: `VERBOSE_PREFIX_1' undeclared (first use in 
 this function)
 src/chan_h323.c:2660: error: syntax error before string constant
 src/chan_h323.c:2666: error: `iflock' undeclared (first use in this 
 function)
 src/chan_h323.c:2689: error: `monlock' undeclared (first use in this 
 function)
 src/chan_h323.c: In function `restart_monitor':
 src/chan_h323.c:2704: error: `AST_PTHREADT_STOP' undeclared (first use 
 in this function)
 src/chan_h323.c:2706: error: `monlock' undeclared (first use in this 
 function)
 src/chan_h323.c:2707: error: `LOG_WARNING' undeclared (first use in this 
 function)
 src/chan_h323.c:2710: warning: comparison between pointer and integer
 src/chan_h323.c:2721: error: `PTHREAD_CREATE_DETACHED' undeclared (first 
 use in this function)
 src/chan_h323.c:2725: error: `LOG_ERROR' undeclared (first use in this 
 function)
 src/chan_h323.c: In function `ooh323_destroy':
 src/chan_h323.c:2759: error: structure has no member named `lock'
 src/chan_h323.c:2786: error: dereferencing pointer to incomplete type
 src/chan_h323.c:2787: error: `LOG_DEBUG' undeclared (first use in this 
 function)
 src/chan_h323.c:2787: error: dereferencing pointer to incomplete type
 src/chan_h323.c:2788: error: dereferencing pointer to incomplete type
 src/chan_h323.c:2789: error: dereferencing pointer to incomplete type
 src/chan_h323.c:2797: error: structure has no member named `lock'
 src/chan_h323.c:2798: error: structure has no member named `lock'
 src/chan_h323.c: In function `delete_peers':
 src/chan_h323.c:2812: error: structure has no member named `lock'
 src/chan_h323.c:2819: error: structure has no member named `lock'
 src/chan_h323.c:2829: error: structure has no member named `lock'
 src/chan_h323.c: In function `delete_users':
 src/chan_h323.c:2836: error: structure has no member named `lock'
 src/chan_h323.c:2842: error: structure has no member named `lock'
 src/chan_h323.c:2847: error: structure has no member named `lock'
 src/chan_h323.c: In function `unload_module':
 src/chan_h323.c:2874: error: `iflock' undeclared (first use in this 
 function)
 src/chan_h323.c:2879: error: `AST_SOFTHANGUP_APPUNLOAD' undeclared 
 (first use in this function)
 src/chan_h323.c:2887: error: `LOG_WARNING' undeclared (first use in this 
 function)
 src/chan_h323.c:2897: error: `monlock' undeclared (first use in this 
 function)
 src/chan_h323.c:2898: error: `AST_PTHREADT_STOP' undeclared (first use 
 in this function)
 src/chan_h323.c: At top level:
 src/chan_h323.c:2983: error: return type is an incomplete type
 src/chan_h323.c:2983: error: conflicting types for 'ooh323_get_rtp_peer'
 src/chan_h323.c:58: error: previous declaration of 'ooh323_get_rtp_peer' 
 was here
 src/chan_h323.c:2983: error: conflicting types for 'ooh323_get_rtp_peer'
 src/chan_h323.c:58: error: previous declaration of 'ooh323_get_rtp_peer' 
 was here
 src/chan_h323.c: In function `ooh323_get_rtp_peer':
 src/chan_h323.c:2985: error: variable `res' has initializer but 
 incomplete type
 src/chan_h323.c:2985: error: `AST_RTP_TRY_PARTIAL' undeclared (first use 
 in this function)
 src/chan_h323.c:2985: error: storage size of 'res' isn't known
 src/chan_h323.c:2987: error: dereferencing pointer to incomplete type
 src/chan_h323.c:2988: error: `AST_RTP_GET_FAILED' undeclared (first use 
 in this function)
 src/chan_h323.c:2988: warning: `return' with a value, in function 
 returning void
 src/chan_h323.c:2993: warning: `return' with a value, in function 
 returning void
 src/chan_h323.c:2995: error: `AST_RTP_TRY_NATIVE' undeclared (first use 
 in this function)
 src/chan_h323.c:2997: warning: `return' with a value, in function 
 returning void
 src/chan_h323.c: At top level:
 src/chan_h323.c:3001: error: return type is an incomplete type
 src/chan_h323.c:3001: error: conflicting types for 'ooh323_get_vrtp_peer'
 src/chan_h323.c:59: error: previous declaration of 
 'ooh323_get_vrtp_peer' was here
 src/chan_h323.c:3001: error: conflicting types for 'ooh323_get_vrtp_peer'
 src/chan_h323.c:59: error: previous declaration of 
 'ooh323_get_vrtp_peer' was here
 src/chan_h323.c: In function `ooh323_get_vrtp_peer':
 src/chan_h323.c:3003: error: variable `res' has initializer but 
 incomplete type
 src/chan_h323.c:3003: error: `AST_RTP_TRY_PARTIAL' undeclared (first use 
 in this function)
 src/chan_h323.c:3003: error: storage size of 'res' isn't known
 src/chan_h323.c:3005: error: dereferencing pointer to incomplete type
 src/chan_h323.c:3006: error: `AST_RTP_GET_FAILED' undeclared (first use 
 in this function)
 src/chan_h323.c:3006: warning: `return' with a value, in function 
 returning void
 src/chan_h323.c:3011: warning: `return' with a value, in function 
 returning void
 src/chan_h323.c:3013: error: `AST_RTP_TRY_NATIVE' undeclared (first use 
 in this function)
 src/chan_h323.c:3015: warning: `return' with a value, in function 
 returning void
 src/chan_h323.c: In function `ooh323_convertAsteriskCapToH323Cap':
 src/chan_h323.c:3042: error: `AST_FORMAT_ALAW' undeclared (first use in 
 this function)
 src/chan_h323.c:3044: error: `AST_FORMAT_GSM' undeclared (first use in 
 this function)
 src/chan_h323.c:3046: error: `AST_FORMAT_G729A' undeclared (first use in 
 this function)
 src/chan_h323.c:3048: error: `AST_FORMAT_G723_1' undeclared (first use 
 in this function)
 src/chan_h323.c:3050: error: `AST_FORMAT_H263' undeclared (first use in 
 this function)
 src/chan_h323.c:3053: error: `LOG_NOTICE' undeclared (first use in this 
 function)
 src/chan_h323.c: In function `ooh323_set_rtp_peer':
 src/chan_h323.c:3070: error: dereferencing pointer to incomplete type
 src/chan_h323.c:3076: error: dereferencing pointer to incomplete type
 src/chan_h323.c:3077: error: dereferencing pointer to incomplete type
 src/chan_h323.c:3079: error: `LOG_ERROR' undeclared (first use in this 
 function)
 src/chan_h323.c: In function `configure_local_rtp':
 src/chan_h323.c:3106: warning: passing arg 2 of `strncpy' makes pointer 
 from integer without a cast
 src/chan_h323.c: In function `setup_rtp_connection':
 src/chan_h323.c:3144: error: `LOG_ERROR' undeclared (first use in this 
 function)
 src/chan_h323.c: In function `close_rtp_connection':
 src/chan_h323.c:3169: error: `LOG_ERROR' undeclared (first use in this 
 function)
 src/chan_h323.c:3173: error: structure has no member named `lock'
 src/chan_h323.c:3177: error: structure has no member named `lock'
 src/chan_h323.c: In function `ooh323_rtp_read':
 src/chan_h323.c:3227: error: variable `null_frame' has initializer but 
 incomplete type
 src/chan_h323.c:3227: error: `AST_FRAME_NULL' undeclared (first use in 
 this function)
 src/chan_h323.c:3227: warning: excess elements in struct initializer
 src/chan_h323.c:3227: warning: (near initialization for `null_frame')
 src/chan_h323.c:3227: error: storage size of 'null_frame' isn't known
 src/chan_h323.c:3228: error: dereferencing pointer to incomplete type
 src/chan_h323.c:3230: warning: assignment makes pointer from integer 
 without a cast
 src/chan_h323.c:3233: warning: assignment makes pointer from integer 
 without a cast
 src/chan_h323.c:3236: warning: assignment makes pointer from integer 
 without a cast
 src/chan_h323.c:3239: warning: assignment makes pointer from integer 
 without a cast
 src/chan_h323.c:3245: error: dereferencing pointer to incomplete type
 src/chan_h323.c:3245: error: `AST_FRAME_DTMF' undeclared (first use in 
 this function)
 src/chan_h323.c:3251: error: dereferencing pointer to incomplete type
 src/chan_h323.c:3251: error: `AST_FRAME_VOICE' undeclared (first use in 
 this function)
 src/chan_h323.c:3253: error: dereferencing pointer to incomplete type
 src/chan_h323.c:3253: error: dereferencing pointer to incomplete type
 src/chan_h323.c:3255: error: `LOG_DEBUG' undeclared (first use in this 
 function)
 src/chan_h323.c:3255: error: dereferencing pointer to incomplete type
 src/chan_h323.c:3256: error: dereferencing pointer to incomplete type
 src/chan_h323.c:3256: error: dereferencing pointer to incomplete type
 src/chan_h323.c:3257: error: dereferencing pointer to incomplete type
 src/chan_h323.c:3258: error: dereferencing pointer to incomplete type
 src/chan_h323.c:3227: error: storage size of `null_frame' isn't known
 src/chan_h323.c: In function `ooh323_convert_hangupcause_asteriskToH323':
 src/chan_h323.c:3278: error: `AST_CAUSE_CALL_REJECTED' undeclared (first 
 use in this function)
 src/chan_h323.c:3280: error: `AST_CAUSE_UNALLOCATED' undeclared (first 
 use in this function)
 src/chan_h323.c:3282: error: `AST_CAUSE_BUSY' undeclared (first use in 
 this function)
 src/chan_h323.c:3284: error: `AST_CAUSE_BEARERCAPABILITY_NOTAVAIL' 
 undeclared (first use in this function)
 src/chan_h323.c:3286: error: `AST_CAUSE_CONGESTION' undeclared (first 
 use in this function)
 src/chan_h323.c:3288: error: `AST_CAUSE_NO_ANSWER' undeclared (first use 
 in this function)
 src/chan_h323.c:3290: error: `AST_CAUSE_NORMAL' undeclared (first use in 
 this function)
 src/chan_h323.c:3292: error: `AST_CAUSE_FAILURE' undeclared (first use 
 in this function)
 src/chan_h323.c: In function `ooh323_convert_hangupcause_h323ToAsterisk':
 src/chan_h323.c:3306: error: `AST_CAUSE_CALL_REJECTED' undeclared (first 
 use in this function)
 src/chan_h323.c:3308: error: `AST_CAUSE_UNALLOCATED' undeclared (first 
 use in this function)
 src/chan_h323.c:3311: error: `AST_CAUSE_BUSY' undeclared (first use in 
 this function)
 src/chan_h323.c:3313: error: `AST_CAUSE_BEARERCAPABILITY_NOTAVAIL' 
 undeclared (first use in this function)
 src/chan_h323.c:3316: error: `AST_CAUSE_CONGESTION' undeclared (first 
 use in this function)
 src/chan_h323.c:3318: error: `AST_CAUSE_NO_ANSWER' undeclared (first use 
 in this function)
 src/chan_h323.c:3322: error: `AST_CAUSE_FAILURE' undeclared (first use 
 in this function)
 src/chan_h323.c:3324: error: `AST_CAUSE_NORMAL' undeclared (first use in 
 this function)
 src/chan_h323.c: At top level:
 src/chan_h323.c:3337: error: syntax error before string constant
 src/chan_h323.c:3337: warning: data definition has no type or storage class
 src/chan_h323.c:67: error: storage size of `ooh323_tech' isn't known
 src/chan_h323.c:86: error: storage size of `ooh323_rtp' isn't known
 src/chan_h323.c:206: error: storage size of `gCallerID' isn't known
 src/chan_h323.c:209: error: storage size of `gPrefs' isn't known
 src/chan_h323.c:222: error: storage size of `gContext' isn't known
 src/chan_h323.c:2434: error: storage size of `cli_debug' isn't known
 src/chan_h323.c:2441: error: storage size of `cli_no_debug' isn't known
 src/chan_h323.c:2448: error: storage size of `cli_show_users' isn't known
 src/chan_h323.c:2455: error: storage size of `cli_show_user' isn't known
 src/chan_h323.c:2462: error: storage size of `cli_show_peers' isn't known
 src/chan_h323.c:2469: error: storage size of `cli_show_peer' isn't known
 src/chan_h323.c:2472: error: storage size of `cli_show_config' isn't known
 gmake[3]: *** [chan_h323.lo] Ошибка 1
 gmake[3]: Leaving directory 
 `/usr/ports/net/asterisk-addons/work/asterisk-addons-1.4.4/asterisk-ooh323c'
 gmake[2]: *** [all] Ошибка 2
 gmake[2]: Leaving directory 
 `/usr/ports/net/asterisk-addons/work/asterisk-addons-1.4.4/asterisk-ooh323c'
 gmake[1]: *** [chan_ooh323.so] Ошибка 2
 rm app_saycountpl.o
 gmake[1]: Leaving directory 
 `/usr/ports/net/asterisk-addons/work/asterisk-addons-1.4.4'
 gmake: *** [all] Ошибка 2
 *** Error code 2
 
 Stop in /usr/ports/net/asterisk-addons.
 *** Error code 1
 
 Stop in /usr/ports/net/asterisk-addons.
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200711061250.lA6Co4Nk021511>