[root@sipserver asterisk]# make Generating embedded module rules ... make[1]: Entering directory `/usr/src/asterisk' make[1]: Leaving directory `/usr/src/asterisk' make[1]: Entering directory `/usr/src/asterisk' make[1]: Leaving directory `/usr/src/asterisk' make[1]: Entering directory `/usr/src/asterisk' make[1]: Leaving directory `/usr/src/asterisk' make[1]: Entering directory `/usr/src/asterisk/utils' [CC] astman.c -> astman.o [CC] md5.c -> md5.o [LD] astman.o md5.o -> astman [CC] smsq.c -> smsq.o [CC] strcompat.c -> strcompat.o [LD] smsq.o strcompat.o -> smsq [CC] stereorize.c -> stereorize.o [CC] frame.c -> frame.o [LD] stereorize.o frame.o -> stereorize [CC] streamplayer.c -> streamplayer.o [LD] streamplayer.o -> streamplayer [CC] aelparse.c -> aelparse.o [CC] aelbison.c -> aelbison.o [CC] pbx_ael.c -> pbx_ael.o [CC] ael_main.c -> ael_main.o [CC] ast_expr2f.c -> ast_expr2f.o [CC] ast_expr2.c -> ast_expr2.o [CC] pval.c -> pval.o [CC] extconf.c -> extconf.o [LD] aelparse.o aelbison.o pbx_ael.o ael_main.o ast_expr2f.o ast_expr2.o strcompat.o pval.o extconf.o -> aelparse [CC] muted.c -> muted.o [LD] muted.o -> muted [CC] check_expr.c -> check_expr.o [CC] threadstorage.c -> threadstorage.o [CC] clicompat.c -> clicompat.o [LD] check_expr.o ast_expr2.o ast_expr2f.o strcompat.o threadstorage.o clicompat.o -> check_expr [CC] conf2ael.c -> conf2ael.o [LD] conf2ael.o ast_expr2f.o ast_expr2.o aelbison.o aelparse.o pbx_ael.o pval.o extconf.o strcompat.o -> conf2ael [CC] hashtest2.c -> hashtest2.o [CC] utils.c -> utils.o [CC] astobj2.c -> astobj2.o [CC] sha1.c -> sha1.o [LD] hashtest2.o md5.o utils.o astobj2.o sha1.o strcompat.o threadstorage.o clicompat.o -> hashtest2 [CC] hashtest.c -> hashtest.o [CC] hashtab.c -> hashtab.o [LD] hashtest.o md5.o hashtab.o utils.o sha1.o strcompat.o threadstorage.o clicompat.o -> hashtest [CC] astcanary.c -> astcanary.o [LD] astcanary.o -> astcanary rm astcanary.o make[1]: Leaving directory `/usr/src/asterisk/utils' make[1]: Entering directory `/usr/src/asterisk/agi' [CC] eagi-test.c -> eagi-test.o [CC] strcompat.c -> strcompat.o [LD] eagi-test.o strcompat.o -> eagi-test [CC] eagi-sphinx-test.c -> eagi-sphinx-test.o [LD] eagi-sphinx-test.o -> eagi-sphinx-test make[1]: Leaving directory `/usr/src/asterisk/agi' make[1]: Entering directory `/usr/src/asterisk/channels' [CC] chan_agent.c -> chan_agent.o [LD] chan_agent.o -> chan_agent.so [CC] chan_alsa.c -> chan_alsa.o [LD] chan_alsa.o -> chan_alsa.so [CC] chan_console.c -> chan_console.o chan_console.c:57:23: warning: portaudio.h: No such file or directory chan_console.c:142: error: expected specifier-qualifier-list before 'PaStream' chan_console.c:160: error: unknown field '__lock' specified in initializer chan_console.c:160: warning: braces around scalar initializer chan_console.c:160: warning: (near initialization for 'console_pvt.__field_mgr_pool') chan_console.c:160: warning: braces around scalar initializer chan_console.c:160: warning: (near initialization for 'console_pvt.__field_mgr_pool') chan_console.c:160: warning: braces around scalar initializer chan_console.c:160: warning: (near initialization for 'console_pvt.__field_mgr_pool') chan_console.c:160: warning: excess elements in scalar initializer chan_console.c:160: warning: (near initialization for 'console_pvt.__field_mgr_pool') chan_console.c:160: warning: excess elements in scalar initializer chan_console.c:160: warning: (near initialization for 'console_pvt.__field_mgr_pool') chan_console.c:160: warning: excess elements in scalar initializer chan_console.c:160: warning: (near initialization for 'console_pvt.__field_mgr_pool') chan_console.c:160: warning: excess elements in scalar initializer chan_console.c:160: warning: (near initialization for 'console_pvt.__field_mgr_pool') chan_console.c:160: warning: excess elements in scalar initializer chan_console.c:160: warning: (near initialization for 'console_pvt.__field_mgr_pool') chan_console.c:160: warning: braces around scalar initializer chan_console.c:160: warning: (near initialization for 'console_pvt.__field_mgr_pool') chan_console.c:160: warning: excess elements in scalar initializer chan_console.c:160: warning: (near initialization for 'console_pvt.__field_mgr_pool') chan_console.c:160: warning: excess elements in scalar initializer chan_console.c:160: warning: (near initialization for 'console_pvt.__field_mgr_pool') chan_console.c:160: warning: excess elements in scalar initializer chan_console.c:160: warning: (near initialization for 'console_pvt.__field_mgr_pool') chan_console.c:160: warning: braces around scalar initializer chan_console.c:160: warning: (near initialization for 'console_pvt.__field_mgr_pool') chan_console.c:160: warning: excess elements in scalar initializer chan_console.c:160: warning: (near initialization for 'console_pvt.__field_mgr_pool') chan_console.c:160: warning: braces around scalar initializer chan_console.c:160: warning: (near initialization for 'console_pvt.__field_mgr_pool') chan_console.c:160: warning: excess elements in scalar initializer chan_console.c:160: warning: (near initialization for 'console_pvt.__field_mgr_pool') chan_console.c:160: warning: excess elements in scalar initializer chan_console.c:160: warning: (near initialization for 'console_pvt.__field_mgr_pool') chan_console.c:160: warning: braces around scalar initializer chan_console.c:160: warning: (near initialization for 'console_pvt.__field_mgr_pool') chan_console.c:160: warning: excess elements in scalar initializer chan_console.c:160: warning: (near initialization for 'console_pvt.__field_mgr_pool') chan_console.c:160: warning: braces around scalar initializer chan_console.c:160: warning: (near initialization for 'console_pvt.__field_mgr_pool') chan_console.c:160: warning: excess elements in scalar initializer chan_console.c:160: warning: (near initialization for 'console_pvt.__field_mgr_pool') chan_console.c:160: warning: braces around scalar initializer chan_console.c:160: warning: (near initialization for 'console_pvt.__field_mgr_pool') chan_console.c:160: warning: braces around scalar initializer chan_console.c:160: warning: (near initialization for 'console_pvt.__field_mgr_pool') chan_console.c:160: warning: excess elements in scalar initializer chan_console.c:160: warning: (near initialization for 'console_pvt.__field_mgr_pool') chan_console.c:160: warning: excess elements in scalar initializer chan_console.c:160: warning: (near initialization for 'console_pvt.__field_mgr_pool') chan_console.c:160: warning: excess elements in scalar initializer chan_console.c:160: warning: (near initialization for 'console_pvt.__field_mgr_pool') chan_console.c:160: warning: excess elements in scalar initializer chan_console.c:160: warning: (near initialization for 'console_pvt.__field_mgr_pool') chan_console.c:160: warning: excess elements in scalar initializer chan_console.c:160: warning: (near initialization for 'console_pvt.__field_mgr_pool') chan_console.c:160: warning: braces around scalar initializer chan_console.c:160: warning: (near initialization for 'console_pvt.__field_mgr_pool') chan_console.c:160: warning: excess elements in scalar initializer chan_console.c:160: warning: (near initialization for 'console_pvt.__field_mgr_pool') chan_console.c:160: warning: excess elements in scalar initializer chan_console.c:160: warning: (near initialization for 'console_pvt.__field_mgr_pool') chan_console.c:160: warning: excess elements in scalar initializer chan_console.c:160: warning: (near initialization for 'console_pvt.__field_mgr_pool') chan_console.c:161: error: unknown field 'thread' specified in initializer chan_console.c:161: warning: initialization makes pointer from integer without a cast chan_console.c: In function 'stream_monitor': chan_console.c:235: error: 'PaError' undeclared (first use in this function) chan_console.c:235: error: (Each undeclared identifier is reported only once chan_console.c:235: error: for each function it appears in.) chan_console.c:235: error: expected ';' before 'res' chan_console.c:247: error: 'res' undeclared (first use in this function) chan_console.c:247: warning: implicit declaration of function 'Pa_ReadStream' chan_console.c:247: error: 'struct console_pvt' has no member named 'stream' chan_console.c:250: error: 'paNoError' undeclared (first use in this function) chan_console.c: In function 'start_stream': chan_console.c:259: error: 'PaError' undeclared (first use in this function) chan_console.c:259: error: expected ';' before 'res' chan_console.c:262: error: 'struct console_pvt' has no member named '__lock' chan_console.c:264: error: 'struct console_pvt' has no member named 'streamstate' chan_console.c:267: error: 'struct console_pvt' has no member named 'streamstate' chan_console.c:270: error: 'res' undeclared (first use in this function) chan_console.c:270: warning: implicit declaration of function 'Pa_OpenDefaultStream' chan_console.c:270: error: 'struct console_pvt' has no member named 'stream' chan_console.c:271: error: 'paInt16' undeclared (first use in this function) chan_console.c:272: error: 'paNoError' undeclared (first use in this function) chan_console.c:274: warning: implicit declaration of function 'Pa_GetErrorText' chan_console.c:274: warning: format '%s' expects type 'char *', but argument 7 has type 'int' chan_console.c:279: warning: implicit declaration of function 'Pa_StartStream' chan_console.c:279: error: 'struct console_pvt' has no member named 'stream' chan_console.c:282: warning: format '%s' expects type 'char *', but argument 7 has type 'int' chan_console.c:287: error: 'struct console_pvt' has no member named 'thread' chan_console.c:293: error: 'struct console_pvt' has no member named '__lock' chan_console.c: In function 'stop_stream': chan_console.c:300: error: 'struct console_pvt' has no member named 'streamstate' chan_console.c:303: error: 'struct console_pvt' has no member named 'thread' chan_console.c:304: error: 'struct console_pvt' has no member named 'thread' chan_console.c:305: error: 'struct console_pvt' has no member named 'thread' chan_console.c:307: error: 'struct console_pvt' has no member named '__lock' chan_console.c:308: warning: implicit declaration of function 'Pa_AbortStream' chan_console.c:308: error: 'struct console_pvt' has no member named 'stream' chan_console.c:309: warning: implicit declaration of function 'Pa_CloseStream' chan_console.c:309: error: 'struct console_pvt' has no member named 'stream' chan_console.c:310: error: 'struct console_pvt' has no member named 'stream' chan_console.c:311: error: 'struct console_pvt' has no member named 'streamstate' chan_console.c:312: error: 'struct console_pvt' has no member named '__lock' chan_console.c: In function 'console_request': chan_console.c:372: error: 'struct console_pvt' has no member named '__lock' chan_console.c:374: error: 'struct console_pvt' has no member named '__lock' chan_console.c: In function 'console_hangup': chan_console.c:410: error: 'struct console_pvt' has no member named 'hookstate' chan_console.c: In function 'console_call': chan_console.c:465: error: 'struct console_pvt' has no member named '__lock' chan_console.c:467: error: 'struct console_pvt' has no member named 'autoanswer' chan_console.c:468: error: 'struct console_pvt' has no member named 'hookstate' chan_console.c:469: error: 'struct console_pvt' has no member named '__lock' chan_console.c:474: error: 'struct console_pvt' has no member named '__lock' chan_console.c: In function 'console_write': chan_console.c:491: warning: implicit declaration of function 'Pa_WriteStream' chan_console.c:491: error: 'struct console_pvt' has no member named 'stream' chan_console.c: In function 'ast_ext_ctx': chan_console.c:563: error: 'struct console_pvt' has no member named 'overridecontext' chan_console.c: In function 'cli_console_autoanswer': chan_console.c:593: error: 'struct console_pvt' has no member named 'autoanswer' chan_console.c:607: error: 'struct console_pvt' has no member named 'autoanswer' chan_console.c:609: error: 'struct console_pvt' has no member named 'autoanswer' chan_console.c: In function 'cli_console_flash': chan_console.c:638: error: 'struct console_pvt' has no member named 'hookstate' chan_console.c: In function 'cli_console_dial': chan_console.c:697: error: 'struct console_pvt' has no member named '__lock' chan_console.c:698: error: 'struct console_pvt' has no member named 'hookstate' chan_console.c:700: error: 'struct console_pvt' has no member named '__lock' chan_console.c: In function 'cli_console_hangup': chan_console.c:726: error: 'struct console_pvt' has no member named 'hookstate' chan_console.c:731: error: 'struct console_pvt' has no member named 'hookstate' chan_console.c: In function 'cli_console_mute': chan_console.c:757: error: 'struct console_pvt' has no member named 'muted' chan_console.c:759: error: 'struct console_pvt' has no member named 'muted' chan_console.c:763: error: 'struct console_pvt' has no member named 'muted' chan_console.c:763: error: 'struct console_pvt' has no member named 'muted' chan_console.c:763: error: 'struct console_pvt' has no member named 'muted' chan_console.c:763: error: 'struct console_pvt' has no member named 'muted' chan_console.c:763: error: 'struct console_pvt' has no member named 'muted' chan_console.c: In function 'cli_list_devices': chan_console.c:771: error: 'PaDeviceIndex' undeclared (first use in this function) chan_console.c:771: error: expected ';' before 'index' chan_console.c:787: error: 'num' undeclared (first use in this function) chan_console.c:787: warning: implicit declaration of function 'Pa_GetDeviceCount' chan_console.c:793: error: 'def_input' undeclared (first use in this function) chan_console.c:793: warning: implicit declaration of function 'Pa_GetDefaultInputDevice' chan_console.c:794: error: 'def_output' undeclared (first use in this function) chan_console.c:794: warning: implicit declaration of function 'Pa_GetDefaultOutputDevice' chan_console.c:795: error: invalid lvalue in assignment chan_console.c:795: error: invalid lvalue in increment chan_console.c:796: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token chan_console.c:796: error: 'dev' undeclared (first use in this function) chan_console.c:796: warning: implicit declaration of function 'Pa_GetDeviceInfo' chan_console.c: In function 'cli_console_answer': chan_console.c:837: error: 'struct console_pvt' has no member named 'hookstate' chan_console.c: In function 'set_pvt_defaults': chan_console.c:925: error: 'struct console_pvt' has no member named 'overridecontext' chan_console.c:926: error: 'struct console_pvt' has no member named 'autoanswer' chan_console.c: In function 'store_config_core': chan_console.c:958: error: 'struct console_pvt' has no member named 'overridecontext' chan_console.c:959: error: 'struct console_pvt' has no member named 'autoanswer' chan_console.c: In function 'load_config': chan_console.c:983: error: 'struct console_pvt' has no member named '__lock' chan_console.c:1000: error: 'struct console_pvt' has no member named '__lock' chan_console.c: In function 'init_pvt': chan_console.c:1009: error: 'struct console_pvt' has no member named '__lock' chan_console.c: In function 'destroy_pvt': chan_console.c:1021: error: 'struct console_pvt' has no member named '__lock' chan_console.c: In function 'unload_module': chan_console.c:1028: error: 'struct console_pvt' has no member named 'hookstate' chan_console.c:1031: warning: implicit declaration of function 'Pa_Terminate' chan_console.c: In function 'load_module': chan_console.c:1043: error: 'PaError' undeclared (first use in this function) chan_console.c:1043: error: expected ';' before 'res' chan_console.c:1052: error: 'res' undeclared (first use in this function) chan_console.c:1052: warning: implicit declaration of function 'Pa_Initialize' chan_console.c:1053: error: 'paNoError' undeclared (first use in this function) chan_console.c:1055: warning: format '%s' expects type 'char *', but argument 7 has type 'int' make[1]: *** [chan_console.o] Error 1 make[1]: Leaving directory `/usr/src/asterisk/channels' make: *** [channels] Error 2 [root@sipserver asterisk]# make make[1]: Entering directory `/usr/src/asterisk/utils' [CC] astcanary.c -> astcanary.o [LD] astcanary.o -> astcanary make[1]: Leaving directory `/usr/src/asterisk/utils' make[1]: Entering directory `/usr/src/asterisk/agi' make[1]: Nothing to be done for `all'. make[1]: Leaving directory `/usr/src/asterisk/agi' make[1]: Entering directory `/usr/src/asterisk/channels' [CC] chan_console.c -> chan_console.o chan_console.c:57:23: warning: portaudio.h: No such file or directory chan_console.c:142: error: expected specifier-qualifier-list before 'PaStream' chan_console.c:160: error: unknown field '__lock' specified in initializer chan_console.c:160: warning: braces around scalar initializer chan_console.c:160: warning: (near initialization for 'console_pvt.__field_mgr_pool') chan_console.c:160: warning: braces around scalar initializer chan_console.c:160: warning: (near initialization for 'console_pvt.__field_mgr_pool') chan_console.c:160: warning: braces around scalar initializer chan_console.c:160: warning: (near initialization for 'console_pvt.__field_mgr_pool') chan_console.c:160: warning: excess elements in scalar initializer chan_console.c:160: warning: (near initialization for 'console_pvt.__field_mgr_pool') chan_console.c:160: warning: excess elements in scalar initializer chan_console.c:160: warning: (near initialization for 'console_pvt.__field_mgr_pool') chan_console.c:160: warning: excess elements in scalar initializer chan_console.c:160: warning: (near initialization for 'console_pvt.__field_mgr_pool') chan_console.c:160: warning: excess elements in scalar initializer chan_console.c:160: warning: (near initialization for 'console_pvt.__field_mgr_pool') chan_console.c:160: warning: excess elements in scalar initializer chan_console.c:160: warning: (near initialization for 'console_pvt.__field_mgr_pool') chan_console.c:160: warning: braces around scalar initializer chan_console.c:160: warning: (near initialization for 'console_pvt.__field_mgr_pool') chan_console.c:160: warning: excess elements in scalar initializer chan_console.c:160: warning: (near initialization for 'console_pvt.__field_mgr_pool') chan_console.c:160: warning: excess elements in scalar initializer chan_console.c:160: warning: (near initialization for 'console_pvt.__field_mgr_pool') chan_console.c:160: warning: excess elements in scalar initializer chan_console.c:160: warning: (near initialization for 'console_pvt.__field_mgr_pool') chan_console.c:160: warning: braces around scalar initializer chan_console.c:160: warning: (near initialization for 'console_pvt.__field_mgr_pool') chan_console.c:160: warning: excess elements in scalar initializer chan_console.c:160: warning: (near initialization for 'console_pvt.__field_mgr_pool') chan_console.c:160: warning: braces around scalar initializer chan_console.c:160: warning: (near initialization for 'console_pvt.__field_mgr_pool') chan_console.c:160: warning: excess elements in scalar initializer chan_console.c:160: warning: (near initialization for 'console_pvt.__field_mgr_pool') chan_console.c:160: warning: excess elements in scalar initializer chan_console.c:160: warning: (near initialization for 'console_pvt.__field_mgr_pool') chan_console.c:160: warning: braces around scalar initializer chan_console.c:160: warning: (near initialization for 'console_pvt.__field_mgr_pool') chan_console.c:160: warning: excess elements in scalar initializer chan_console.c:160: warning: (near initialization for 'console_pvt.__field_mgr_pool') chan_console.c:160: warning: braces around scalar initializer chan_console.c:160: warning: (near initialization for 'console_pvt.__field_mgr_pool') chan_console.c:160: warning: excess elements in scalar initializer chan_console.c:160: warning: (near initialization for 'console_pvt.__field_mgr_pool') chan_console.c:160: warning: braces around scalar initializer chan_console.c:160: warning: (near initialization for 'console_pvt.__field_mgr_pool') chan_console.c:160: warning: braces around scalar initializer chan_console.c:160: warning: (near initialization for 'console_pvt.__field_mgr_pool') chan_console.c:160: warning: excess elements in scalar initializer chan_console.c:160: warning: (near initialization for 'console_pvt.__field_mgr_pool') chan_console.c:160: warning: excess elements in scalar initializer chan_console.c:160: warning: (near initialization for 'console_pvt.__field_mgr_pool') chan_console.c:160: warning: excess elements in scalar initializer chan_console.c:160: warning: (near initialization for 'console_pvt.__field_mgr_pool') chan_console.c:160: warning: excess elements in scalar initializer chan_console.c:160: warning: (near initialization for 'console_pvt.__field_mgr_pool') chan_console.c:160: warning: excess elements in scalar initializer chan_console.c:160: warning: (near initialization for 'console_pvt.__field_mgr_pool') chan_console.c:160: warning: braces around scalar initializer chan_console.c:160: warning: (near initialization for 'console_pvt.__field_mgr_pool') chan_console.c:160: warning: excess elements in scalar initializer chan_console.c:160: warning: (near initialization for 'console_pvt.__field_mgr_pool') chan_console.c:160: warning: excess elements in scalar initializer chan_console.c:160: warning: (near initialization for 'console_pvt.__field_mgr_pool') chan_console.c:160: warning: excess elements in scalar initializer chan_console.c:160: warning: (near initialization for 'console_pvt.__field_mgr_pool') chan_console.c:161: error: unknown field 'thread' specified in initializer chan_console.c:161: warning: initialization makes pointer from integer without a cast chan_console.c: In function 'stream_monitor': chan_console.c:235: error: 'PaError' undeclared (first use in this function) chan_console.c:235: error: (Each undeclared identifier is reported only once chan_console.c:235: error: for each function it appears in.) chan_console.c:235: error: expected ';' before 'res' chan_console.c:247: error: 'res' undeclared (first use in this function) chan_console.c:247: warning: implicit declaration of function 'Pa_ReadStream' chan_console.c:247: error: 'struct console_pvt' has no member named 'stream' chan_console.c:250: error: 'paNoError' undeclared (first use in this function) chan_console.c: In function 'start_stream': chan_console.c:259: error: 'PaError' undeclared (first use in this function) chan_console.c:259: error: expected ';' before 'res' chan_console.c:262: error: 'struct console_pvt' has no member named '__lock' chan_console.c:264: error: 'struct console_pvt' has no member named 'streamstate' chan_console.c:267: error: 'struct console_pvt' has no member named 'streamstate' chan_console.c:270: error: 'res' undeclared (first use in this function) chan_console.c:270: warning: implicit declaration of function 'Pa_OpenDefaultStream' chan_console.c:270: error: 'struct console_pvt' has no member named 'stream' chan_console.c:271: error: 'paInt16' undeclared (first use in this function) chan_console.c:272: error: 'paNoError' undeclared (first use in this function) chan_console.c:274: warning: implicit declaration of function 'Pa_GetErrorText' chan_console.c:274: warning: format '%s' expects type 'char *', but argument 7 has type 'int' chan_console.c:279: warning: implicit declaration of function 'Pa_StartStream' chan_console.c:279: error: 'struct console_pvt' has no member named 'stream' chan_console.c:282: warning: format '%s' expects type 'char *', but argument 7 has type 'int' chan_console.c:287: error: 'struct console_pvt' has no member named 'thread' chan_console.c:293: error: 'struct console_pvt' has no member named '__lock' chan_console.c: In function 'stop_stream': chan_console.c:300: error: 'struct console_pvt' has no member named 'streamstate' chan_console.c:303: error: 'struct console_pvt' has no member named 'thread' chan_console.c:304: error: 'struct console_pvt' has no member named 'thread' chan_console.c:305: error: 'struct console_pvt' has no member named 'thread' chan_console.c:307: error: 'struct console_pvt' has no member named '__lock' chan_console.c:308: warning: implicit declaration of function 'Pa_AbortStream' chan_console.c:308: error: 'struct console_pvt' has no member named 'stream' chan_console.c:309: warning: implicit declaration of function 'Pa_CloseStream' chan_console.c:309: error: 'struct console_pvt' has no member named 'stream' chan_console.c:310: error: 'struct console_pvt' has no member named 'stream' chan_console.c:311: error: 'struct console_pvt' has no member named 'streamstate' chan_console.c:312: error: 'struct console_pvt' has no member named '__lock' chan_console.c: In function 'console_request': chan_console.c:372: error: 'struct console_pvt' has no member named '__lock' chan_console.c:374: error: 'struct console_pvt' has no member named '__lock' chan_console.c: In function 'console_hangup': chan_console.c:410: error: 'struct console_pvt' has no member named 'hookstate' chan_console.c: In function 'console_call': chan_console.c:465: error: 'struct console_pvt' has no member named '__lock' chan_console.c:467: error: 'struct console_pvt' has no member named 'autoanswer' chan_console.c:468: error: 'struct console_pvt' has no member named 'hookstate' chan_console.c:469: error: 'struct console_pvt' has no member named '__lock' chan_console.c:474: error: 'struct console_pvt' has no member named '__lock' chan_console.c: In function 'console_write': chan_console.c:491: warning: implicit declaration of function 'Pa_WriteStream' chan_console.c:491: error: 'struct console_pvt' has no member named 'stream' chan_console.c: In function 'ast_ext_ctx': chan_console.c:563: error: 'struct console_pvt' has no member named 'overridecontext' chan_console.c: In function 'cli_console_autoanswer': chan_console.c:593: error: 'struct console_pvt' has no member named 'autoanswer' chan_console.c:607: error: 'struct console_pvt' has no member named 'autoanswer' chan_console.c:609: error: 'struct console_pvt' has no member named 'autoanswer' chan_console.c: In function 'cli_console_flash': chan_console.c:638: error: 'struct console_pvt' has no member named 'hookstate' chan_console.c: In function 'cli_console_dial': chan_console.c:697: error: 'struct console_pvt' has no member named '__lock' chan_console.c:698: error: 'struct console_pvt' has no member named 'hookstate' chan_console.c:700: error: 'struct console_pvt' has no member named '__lock' chan_console.c: In function 'cli_console_hangup': chan_console.c:726: error: 'struct console_pvt' has no member named 'hookstate' chan_console.c:731: error: 'struct console_pvt' has no member named 'hookstate' chan_console.c: In function 'cli_console_mute': chan_console.c:757: error: 'struct console_pvt' has no member named 'muted' chan_console.c:759: error: 'struct console_pvt' has no member named 'muted' chan_console.c:763: error: 'struct console_pvt' has no member named 'muted' chan_console.c:763: error: 'struct console_pvt' has no member named 'muted' chan_console.c:763: error: 'struct console_pvt' has no member named 'muted' chan_console.c:763: error: 'struct console_pvt' has no member named 'muted' chan_console.c:763: error: 'struct console_pvt' has no member named 'muted' chan_console.c: In function 'cli_list_devices': chan_console.c:771: error: 'PaDeviceIndex' undeclared (first use in this function) chan_console.c:771: error: expected ';' before 'index' chan_console.c:787: error: 'num' undeclared (first use in this function) chan_console.c:787: warning: implicit declaration of function 'Pa_GetDeviceCount' chan_console.c:793: error: 'def_input' undeclared (first use in this function) chan_console.c:793: warning: implicit declaration of function 'Pa_GetDefaultInputDevice' chan_console.c:794: error: 'def_output' undeclared (first use in this function) chan_console.c:794: warning: implicit declaration of function 'Pa_GetDefaultOutputDevice' chan_console.c:795: error: invalid lvalue in assignment chan_console.c:795: error: invalid lvalue in increment chan_console.c:796: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token chan_console.c:796: error: 'dev' undeclared (first use in this function) chan_console.c:796: warning: implicit declaration of function 'Pa_GetDeviceInfo' chan_console.c: In function 'cli_console_answer': chan_console.c:837: error: 'struct console_pvt' has no member named 'hookstate' chan_console.c: In function 'set_pvt_defaults': chan_console.c:925: error: 'struct console_pvt' has no member named 'overridecontext' chan_console.c:926: error: 'struct console_pvt' has no member named 'autoanswer' chan_console.c: In function 'store_config_core': chan_console.c:958: error: 'struct console_pvt' has no member named 'overridecontext' chan_console.c:959: error: 'struct console_pvt' has no member named 'autoanswer' chan_console.c: In function 'load_config': chan_console.c:983: error: 'struct console_pvt' has no member named '__lock' chan_console.c:1000: error: 'struct console_pvt' has no member named '__lock' chan_console.c: In function 'init_pvt': chan_console.c:1009: error: 'struct console_pvt' has no member named '__lock' chan_console.c: In function 'destroy_pvt': chan_console.c:1021: error: 'struct console_pvt' has no member named '__lock' chan_console.c: In function 'unload_module': chan_console.c:1028: error: 'struct console_pvt' has no member named 'hookstate' chan_console.c:1031: warning: implicit declaration of function 'Pa_Terminate' chan_console.c: In function 'load_module': chan_console.c:1043: error: 'PaError' undeclared (first use in this function) chan_console.c:1043: error: expected ';' before 'res' chan_console.c:1052: error: 'res' undeclared (first use in this function) chan_console.c:1052: warning: implicit declaration of function 'Pa_Initialize' chan_console.c:1053: error: 'paNoError' undeclared (first use in this function) chan_console.c:1055: warning: format '%s' expects type 'char *', but argument 7 has type 'int' make[1]: *** [chan_console.o] Error 1 make[1]: Leaving directory `/usr/src/asterisk/channels' make: *** [channels] Error 2 [root@sipserver asterisk]#