buenas,
tengo knoppix 3.8, hice un apt-get install asterisk y baje el chan_sccp pero me da error al hacer el make. que debo cambiar en el Makefile del chan_sccp??
aun no toco asterisk.
gracias
Now compiling .... chan_sccp.c 742 lines
In file included from chan_sccp.c:2:
chan_sccp.h:15:28: asterisk/frame.h: No such file or directory
chan_sccp.h:16:29: asterisk/module.h: No such file or directory
chan_sccp.h:17:30: asterisk/channel.h: No such file or directory
chan_sccp.h:18:27: asterisk/lock.h: No such file or directory
chan_sccp.h:19:29: asterisk/logger.h: No such file or directory
chan_sccp.h:20:28: asterisk/sched.h: No such file or directory
chan_sccp.h:21:25: asterisk/io.h: No such file or directory
chan_sccp.h:22:26: asterisk/rtp.h: No such file or directory
chan_sccp.h:23:29: asterisk/config.h: No such file or directory
chan_sccp.h:24:30: asterisk/options.h: No such file or directory
In file included from chan_sccp.c:2:
chan_sccp.h:746: error: parse error before "ast_mutex_t"
chan_sccp.h:746: warning: no semicolon at end of struct or union
chan_sccp.h:768: error: AST_MAX_EXTENSION' undeclared here (not in a function)
chan_sccp.h:771: error:AST_MAX_EXTENSION' undeclared here (not in a function)
chan_sccp.h:777: error: AST_MAX_EXTENSION' undeclared here (not in a function)
chan_sccp.h:778: error:AST_MAX_EXTENSION' undeclared here (not in a function)
chan_sccp.h:806: error: parse error before ':' token
chan_sccp.h:808: error: parse error before ':' token
chan_sccp.h:809: error: parse error before ':' token
chan_sccp.h:810: error: parse error before ':' token
chan_sccp.h:811: error: parse error before ':' token
chan_sccp.h:812: error: parse error before ':' token
chan_sccp.h:813: error: parse error before ':' token
chan_sccp.h:814: error: parse error before ':' token
chan_sccp.h:818: error: parse error before '}' token
chan_sccp.h:827: error: AST_MAX_EXTENSION' undeclared here (not in a function)
chan_sccp.h:897: error:AST_MAX_EXTENSION' undeclared here (not in a function)
chan_sccp.h:900: error: parse error before "ast_mutex_t"
chan_sccp.h:900: warning: no semicolon at end of struct or union
chan_sccp.h:905: error: parse error before '}' token
chan_sccp.h:908: error: parse error before "ast_mutex_t"
chan_sccp.h:908: warning: no semicolon at end of struct or union
chan_sccp.h:909: error: conflicting types for id'
chan_sccp.h:749: error: previous declaration ofid'
chan_sccp.h:910: error: conflicting types for description'
chan_sccp.h:762: error: previous declaration ofdescription'
chan_sccp.h:912: error: conflicting types for next'
chan_sccp.h:791: error: previous declaration ofnext'
chan_sccp.h:913: error: parse error before '}' token
chan_sccp.h:916: error: parse error before "ast_mutex_t"
chan_sccp.h:916: warning: no semicolon at end of struct or union
chan_sccp.h:924: warning: built-in function sin' declared as non-function
chan_sccp.h:930: error: conflicting types fornext'
chan_sccp.h:912: error: previous declaration of next'
chan_sccp.h:931: error: parse error before '}' token
chan_sccp.h:934: error: parse error before "ast_mutex_t"
chan_sccp.h:934: warning: no semicolon at end of struct or union
chan_sccp.h:942: error: conflicting types fornext'
chan_sccp.h:930: error: previous declaration of next'
chan_sccp.h:943: error: conflicting types forlnext'
chan_sccp.h:794: error: previous declaration of lnext'
chan_sccp.h:944: error: parse error before ':' token
chan_sccp.h:945: error: parse error before ':' token
chan_sccp.h:946: error: parse error before ':' token
chan_sccp.h:947: error: parse error before ':' token
chan_sccp.h:948: error: parse error before ':' token
chan_sccp.h:949: error: parse error before ':' token
chan_sccp.h:950: error: parse error before ':' token
chan_sccp.h:951: error: parse error before ':' token
In file included from chan_sccp.c:2:
chan_sccp.h:1730: error: conflicting types fordevices'
chan_sccp.h:911: error: previous declaration of devices'
In file included from chan_sccp.c:11:
sccp_pbx.h:10: error:AST_MAX_EXTENSION' undeclared here (not in a function)
chan_sccp.c:14:26: asterisk/pbx.h: No such file or directory
chan_sccp.c:15:31: asterisk/callerid.h: No such file or directory
chan_sccp.c:16:28: asterisk/utils.h: No such file or directory
chan_sccp.c:26: error: AST_MAX_EXTENSION' undeclared here (not in a function)
chan_sccp.c:27: error:AST_MAX_EXTENSION' undeclared here (not in a function)
chan_sccp.c:34: error: AST_FORMAT_ALAW' undeclared here (not in a function)
chan_sccp.c:34: error:AST_FORMAT_ULAW' undeclared here (not in a function)
chan_sccp.c:52: warning: type defaults to int' in declaration ofAST_MUTEX_DEFINE_STATIC'
chan_sccp.c:52: warning: parameter names (without types) in function declaration
chan_sccp.c:52: warning: data definition has no type or storage class
chan_sccp.c:53: warning: type defaults to int' in declaration ofAST_MUTEX_DEFINE_STATIC'
chan_sccp.c:53: warning: parameter names (without types) in function declaration
chan_sccp.c:53: warning: data definition has no type or storage class
chan_sccp.c:54: warning: type defaults to int' in declaration ofAST_MUTEX_DEFINE_STATIC'
chan_sccp.c:54: warning: parameter names (without types) in function declaration
chan_sccp.c:54: warning: data definition has no type or storage class
chan_sccp.c:55: warning: type defaults to int' in declaration ofAST_MUTEX_DEFINE_STATIC'
chan_sccp.c:55: warning: parameter names (without types) in function declaration
chan_sccp.c:55: warning: data definition has no type or storage class
chan_sccp.c:60: warning: type defaults to int' in declaration ofAST_MUTEX_DEFINE_STATIC'
chan_sccp.c:60: warning: parameter names (without types) in function declaration
chan_sccp.c:60: warning: data definition has no type or storage class
chan_sccp.c: In function sccp_request':
chan_sccp.c:82: warning: implicit declaration of functionast_log'
chan_sccp.c:82: error: LOG_NOTICE' undeclared (first use in this function)
chan_sccp.c:82: error: (Each undeclared identifier is reported only once
chan_sccp.c:82: error: for each function it appears in.)
chan_sccp.c:87: warning: implicit declaration of functionast_verbose'
chan_sccp.c:87: error: VERBOSE_PREFIX_1' undeclared (first use in this function)
chan_sccp.c:87: error: parse error before string constant
chan_sccp.c:87: warning: left-hand operand of comma expression has no effect
chan_sccp.c:87: warning: left-hand operand of comma expression has no effect
chan_sccp.c:87: warning: left-hand operand of comma expression has no effect
chan_sccp.c:87: error: parse error before ')' token
chan_sccp.c:92: error: dereferencing pointer to incomplete type
chan_sccp.c:94: error: parse error before string constant
chan_sccp.c:94: error: dereferencing pointer to incomplete type
chan_sccp.c:94: warning: left-hand operand of comma expression has no effect
chan_sccp.c:94: error: parse error before ')' token
chan_sccp.c:100: error: dereferencing pointer to incomplete type
chan_sccp.c:114: error:LOG_WARNING' undeclared (first use in this function)
chan_sccp.c:126: error: dereferencing pointer to incomplete type
chan_sccp.c: In function sccp_devicestate':
chan_sccp.c:132: error:LOG_NOTICE' undeclared (first use in this function)
chan_sccp.c:133: error: AST_DEVICE_UNKNOWN' undeclared (first use in this function)
chan_sccp.c: In functionhandle_message':
chan_sccp.c:140: error: dereferencing pointer to incomplete type
chan_sccp.c:141: error: LOG_WARNING' undeclared (first use in this function)
chan_sccp.c:148: error:VERBOSE_PREFIX_2' undeclared (first use in this function)
chan_sccp.c:148: error: parse error before string constant
chan_sccp.c:148: warning: left-hand operand of comma expression has no effect
chan_sccp.c:148: error: parse error before ')' token
chan_sccp.c:151: error: dereferencing pointer to incomplete type
chan_sccp.c:151: warning: implicit declaration of function time'
chan_sccp.c:205: error: dereferencing pointer to incomplete type
chan_sccp.c:208: error: dereferencing pointer to incomplete type
chan_sccp.c:219: error:LOG_NOTICE' undeclared (first use in this function)
chan_sccp.c:219: error: dereferencing pointer to incomplete type
chan_sccp.c:228: error: dereferencing pointer to incomplete type
chan_sccp.c:229: error: dereferencing pointer to incomplete type
chan_sccp.c: At top level:
chan_sccp.c:245: warning: struct ast_config' declared inside parameter list
chan_sccp.c:245: warning: its scope is only this definition or declaration, which is probably not what you want
chan_sccp.c: In functionbuild_line':
chan_sccp.c:247: warning: implicit declaration of function ast_variable_browse'
chan_sccp.c:247: warning: initialization makes pointer from integer without a cast
chan_sccp.c:250: error: invalid application ofsizeof' to an incomplete type
chan_sccp.c:251: error: invalid application of sizeof' to an incomplete type
chan_sccp.c:251: error: invalid application ofsizeof' to an incomplete type
chan_sccp.c:251: error: invalid application of sizeof' to an incomplete type
chan_sccp.c:251: error: invalid application ofsizeof' to an incomplete type
chan_sccp.c:251: error: invalid application of sizeof' to an incomplete type
chan_sccp.c:251: error: invalid application ofsizeof' to an incomplete type
chan_sccp.c:252: error: LOG_DEBUG' undeclared (first use in this function)
chan_sccp.c:253: error: dereferencing pointer to incomplete type
chan_sccp.c:255: error: dereferencing pointer to incomplete type
chan_sccp.c:255: error: dereferencing pointer to incomplete type
chan_sccp.c:255: error: dereferencing pointer to incomplete type
chan_sccp.c:255: error: dereferencing pointer to incomplete type
chan_sccp.c:255: error: dereferencing pointer to incomplete type
chan_sccp.c:255: error: dereferencing pointer to incomplete type
chan_sccp.c:255: error: dereferencing pointer to incomplete type
chan_sccp.c:255: error: dereferencing pointer to incomplete type
chan_sccp.c:256: error:AST_MAX_EXTENSION' undeclared (first use in this function)
chan_sccp.c:256: error: dereferencing pointer to incomplete type
chan_sccp.c:256: error: dereferencing pointer to incomplete type
chan_sccp.c:256: error: dereferencing pointer to incomplete type
chan_sccp.c:261: error: dereferencing pointer to incomplete type
chan_sccp.c:261: error: dereferencing pointer to incomplete type
chan_sccp.c:261: error: dereferencing pointer to incomplete type
chan_sccp.c:262: error: dereferencing pointer to incomplete type
chan_sccp.c:262: error: dereferencing pointer to incomplete type
chan_sccp.c:262: error: dereferencing pointer to incomplete type
chan_sccp.c:266: error: dereferencing pointer to incomplete type
chan_sccp.c:267: error: dereferencing pointer to incomplete type
chan_sccp.c:267: error: dereferencing pointer to incomplete type
chan_sccp.c:267: error: dereferencing pointer to incomplete type
chan_sccp.c:267: error: dereferencing pointer to incomplete type
chan_sccp.c:267: error: dereferencing pointer to incomplete type
chan_sccp.c:267: error: dereferencing pointer to incomplete type
chan_sccp.c:267: error: dereferencing pointer to incomplete type
chan_sccp.c:267: error: dereferencing pointer to incomplete type
chan_sccp.c:267: error: dereferencing pointer to incomplete type
chan_sccp.c:267: error: dereferencing pointer to incomplete type
chan_sccp.c:267: error: dereferencing pointer to incomplete type
chan_sccp.c:267: error: dereferencing pointer to incomplete type
chan_sccp.c:267: error: dereferencing pointer to incomplete type
chan_sccp.c:268: error: dereferencing pointer to incomplete type
chan_sccp.c:269: error: dereferencing pointer to incomplete type
chan_sccp.c:269: error: dereferencing pointer to incomplete type
chan_sccp.c:269: error: dereferencing pointer to incomplete type
chan_sccp.c:269: error: dereferencing pointer to incomplete type
chan_sccp.c:269: error: dereferencing pointer to incomplete type
chan_sccp.c:269: error: dereferencing pointer to incomplete type
chan_sccp.c:269: error: dereferencing pointer to incomplete type
chan_sccp.c:269: error: dereferencing pointer to incomplete type
chan_sccp.c:269: error: dereferencing pointer to incomplete type
chan_sccp.c:269: error: dereferencing pointer to incomplete type
chan_sccp.c:269: error: dereferencing pointer to incomplete type
chan_sccp.c:269: error: dereferencing pointer to incomplete type
chan_sccp.c:269: error: dereferencing pointer to incomplete type
chan_sccp.c:270: error: dereferencing pointer to incomplete type
chan_sccp.c:271: error: dereferencing pointer to incomplete type
chan_sccp.c:271: error: dereferencing pointer to incomplete type
chan_sccp.c:271: error: dereferencing pointer to incomplete type
chan_sccp.c:271: error: dereferencing pointer to incomplete type
chan_sccp.c:271: error: dereferencing pointer to incomplete type
chan_sccp.c:271: error: dereferencing pointer to incomplete type
chan_sccp.c:271: error: dereferencing pointer to incomplete type
chan_sccp.c:271: error: dereferencing pointer to incomplete type
chan_sccp.c:271: error: dereferencing pointer to incomplete type
chan_sccp.c:271: error: dereferencing pointer to incomplete type
chan_sccp.c:271: error: dereferencing pointer to incomplete type
chan_sccp.c:271: error: dereferencing pointer to incomplete type
chan_sccp.c:271: error: dereferencing pointer to incomplete type
chan_sccp.c:272: error: dereferencing pointer to incomplete type
chan_sccp.c:273: error: dereferencing pointer to incomplete type
chan_sccp.c:273: error: dereferencing pointer to incomplete type
chan_sccp.c:273: error: dereferencing pointer to incomplete type
chan_sccp.c:273: error: dereferencing pointer to incomplete type
chan_sccp.c:273: error: dereferencing pointer to incomplete type
chan_sccp.c:273: error: dereferencing pointer to incomplete type
chan_sccp.c:273: error: dereferencing pointer to incomplete type
chan_sccp.c:273: error: dereferencing pointer to incomplete type
chan_sccp.c:273: error: dereferencing pointer to incomplete type
chan_sccp.c:273: error: dereferencing pointer to incomplete type
chan_sccp.c:273: error: dereferencing pointer to incomplete type
chan_sccp.c:273: error: dereferencing pointer to incomplete type
chan_sccp.c:273: error: dereferencing pointer to incomplete type
chan_sccp.c:274: error: dereferencing pointer to incomplete type
chan_sccp.c:275: error: dereferencing pointer to incomplete type
chan_sccp.c:275: error: dereferencing pointer to incomplete type
chan_sccp.c:275: error: dereferencing pointer to incomplete type
chan_sccp.c:275: error: dereferencing pointer to incomplete type
chan_sccp.c:275: error: dereferencing pointer to incomplete type
chan_sccp.c:275: error: dereferencing pointer to incomplete type
chan_sccp.c:275: error: dereferencing pointer to incomplete type
chan_sccp.c:275: error: dereferencing pointer to incomplete type
chan_sccp.c:275: error: dereferencing pointer to incomplete type
chan_sccp.c:275: error: dereferencing pointer to incomplete type
chan_sccp.c:275: error: dereferencing pointer to incomplete type
chan_sccp.c:275: error: dereferencing pointer to incomplete type
chan_sccp.c:275: error: dereferencing pointer to incomplete type
chan_sccp.c:281: error: dereferencing pointer to incomplete type
chan_sccp.c:282: error: dereferencing pointer to incomplete type
chan_sccp.c:282: error: dereferencing pointer to incomplete type
chan_sccp.c:282: error: dereferencing pointer to incomplete type
chan_sccp.c:282: error: dereferencing pointer to incomplete type
chan_sccp.c:282: error: dereferencing pointer to incomplete type
chan_sccp.c:282: error: dereferencing pointer to incomplete type
chan_sccp.c:282: error: dereferencing pointer to incomplete type
chan_sccp.c:282: error: dereferencing pointer to incomplete type
chan_sccp.c:282: error: dereferencing pointer to incomplete type
chan_sccp.c:282: error: dereferencing pointer to incomplete type
chan_sccp.c:282: error: dereferencing pointer to incomplete type
chan_sccp.c:282: error: dereferencing pointer to incomplete type
chan_sccp.c:282: error: dereferencing pointer to incomplete type
chan_sccp.c:283: error: dereferencing pointer to incomplete type
chan_sccp.c:284: error: dereferencing pointer to incomplete type
chan_sccp.c:284: error: dereferencing pointer to incomplete type
chan_sccp.c:284: error: dereferencing pointer to incomplete type
chan_sccp.c:284: error: dereferencing pointer to incomplete type
chan_sccp.c:284: error: dereferencing pointer to incomplete type
chan_sccp.c:284: error: dereferencing pointer to incomplete type
chan_sccp.c:284: error: dereferencing pointer to incomplete type
chan_sccp.c:284: error: dereferencing pointer to incomplete type
chan_sccp.c:284: error: dereferencing pointer to incomplete type
chan_sccp.c:284: error: dereferencing pointer to incomplete type
chan_sccp.c:284: error: dereferencing pointer to incomplete type
chan_sccp.c:284: error: dereferencing pointer to incomplete type
chan_sccp.c:284: error: dereferencing pointer to incomplete type
chan_sccp.c:286: error: dereferencing pointer to incomplete type
chan_sccp.c:287: error: dereferencing pointer to incomplete type
chan_sccp.c:287: error: dereferencing pointer to incomplete type
chan_sccp.c:287: error: dereferencing pointer to incomplete type
chan_sccp.c:287: error: dereferencing pointer to incomplete type
chan_sccp.c:287: error: dereferencing pointer to incomplete type
chan_sccp.c:287: error: dereferencing pointer to incomplete type
chan_sccp.c:287: error: dereferencing pointer to incomplete type
chan_sccp.c:287: error: dereferencing pointer to incomplete type
chan_sccp.c:287: error: dereferencing pointer to incomplete type
chan_sccp.c:287: error: dereferencing pointer to incomplete type
chan_sccp.c:287: error: dereferencing pointer to incomplete type
chan_sccp.c:287: error: dereferencing pointer to incomplete type
chan_sccp.c:287: error: dereferencing pointer to incomplete type
chan_sccp.c:289: error: dereferencing pointer to incomplete type
chan_sccp.c: At top level:
chan_sccp.c:295: warning: struct ast_config' declared inside parameter list
chan_sccp.c: In functionbuild_device':
chan_sccp.c:297: warning: initialization makes pointer from integer without a cast
chan_sccp.c:301: error: invalid application of sizeof' to an incomplete type
chan_sccp.c:302: error: invalid application ofsizeof' to an incomplete type
chan_sccp.c:302: error: invalid application of sizeof' to an incomplete type
chan_sccp.c:302: error: invalid application ofsizeof' to an incomplete type
chan_sccp.c:302: error: invalid application of sizeof' to an incomplete type
chan_sccp.c:302: error: invalid application ofsizeof' to an incomplete type
chan_sccp.c:302: error: invalid application of sizeof' to an incomplete type
chan_sccp.c:303: error:LOG_DEBUG' undeclared (first use in this function)
chan_sccp.c:305: error: dereferencing pointer to incomplete type
chan_sccp.c:305: error: dereferencing pointer to incomplete type
chan_sccp.c:305: error: dereferencing pointer to incomplete type
chan_sccp.c:306: error: dereferencing pointer to incomplete type
chan_sccp.c:306: error: dereferencing pointer to incomplete type
chan_sccp.c:306: error: dereferencing pointer to incomplete type
chan_sccp.c:307: error: dereferencing pointer to incomplete type
chan_sccp.c:308: error: dereferencing pointer to incomplete type
chan_sccp.c:312: error: dereferencing pointer to incomplete type
chan_sccp.c:314: error: dereferencing pointer to incomplete type
chan_sccp.c:314: error: dereferencing pointer to incomplete type
chan_sccp.c:316: error: dereferencing pointer to incomplete type
chan_sccp.c:321: error: dereferencing pointer to incomplete type
chan_sccp.c:323: error: LOG_ERROR' undeclared (first use in this function)
chan_sccp.c:323: error: dereferencing pointer to incomplete type
chan_sccp.c:325: error: dereferencing pointer to incomplete type
chan_sccp.c:327: error: dereferencing pointer to incomplete type
chan_sccp.c:327: error: dereferencing pointer to incomplete type
chan_sccp.c:328: error: dereferencing pointer to incomplete type
chan_sccp.c:330: warning: implicit declaration of functionast_variable_retrieve'
chan_sccp.c:330: warning: passing arg 1 of strlen' makes pointer from integer without a cast
chan_sccp.c:330: error: dereferencing pointer to incomplete type
chan_sccp.c:330: warning: passing arg 2 ofmemcpy' makes pointer from integer without a cast
chan_sccp.c:330: error: dereferencing pointer to incomplete type
chan_sccp.c:330: warning: passing arg 2 of strncpy' makes pointer from integer without a cast
chan_sccp.c:330: error: dereferencing pointer to incomplete type
chan_sccp.c:330: warning: passing arg 2 ofstrncpy' makes pointer from integer without a cast
chan_sccp.c:332: error: dereferencing pointer to incomplete type
chan_sccp.c:334: error: dereferencing pointer to incomplete type
chan_sccp.c:334: error: dereferencing pointer to incomplete type
chan_sccp.c:334: error: dereferencing pointer to incomplete type
chan_sccp.c:334: error: dereferencing pointer to incomplete type
chan_sccp.c:334: error: dereferencing pointer to incomplete type
chan_sccp.c:334: error: dereferencing pointer to incomplete type
chan_sccp.c:334: error: dereferencing pointer to incomplete type
chan_sccp.c:334: error: dereferencing pointer to incomplete type
chan_sccp.c:336: error: dereferencing pointer to incomplete type
chan_sccp.c:338: error: dereferencing pointer to incomplete type
chan_sccp.c:338: error: dereferencing pointer to incomplete type
chan_sccp.c:338: error: dereferencing pointer to incomplete type
chan_sccp.c:338: error: dereferencing pointer to incomplete type
chan_sccp.c:338: error: dereferencing pointer to incomplete type
chan_sccp.c:338: error: dereferencing pointer to incomplete type
chan_sccp.c:338: error: dereferencing pointer to incomplete type
chan_sccp.c:338: error: dereferencing pointer to incomplete type
chan_sccp.c:338: error: dereferencing pointer to incomplete type
chan_sccp.c:338: error: dereferencing pointer to incomplete type
chan_sccp.c:338: error: dereferencing pointer to incomplete type
chan_sccp.c:338: error: dereferencing pointer to incomplete type
chan_sccp.c:338: error: dereferencing pointer to incomplete type
chan_sccp.c:340: error: dereferencing pointer to incomplete type
chan_sccp.c:342: error: dereferencing pointer to incomplete type
chan_sccp.c:356: error: dereferencing pointer to incomplete type
chan_sccp.c:357: error: dereferencing pointer to incomplete type
chan_sccp.c:360: error: dereferencing pointer to incomplete type
chan_sccp.c: In function reload_config':
chan_sccp.c:382: warning: implicit declaration of functionast_gethostbyname'
chan_sccp.c:382: warning: assignment makes pointer from integer without a cast
chan_sccp.c:384: error: LOG_WARNING' undeclared (first use in this function)
chan_sccp.c:397: warning: implicit declaration of functionast_load'
chan_sccp.c:397: warning: assignment makes pointer from integer without a cast
chan_sccp.c:399: error: LOG_NOTICE' undeclared (first use in this function)
chan_sccp.c:403: warning: assignment makes pointer from integer without a cast
chan_sccp.c:405: error: dereferencing pointer to incomplete type
chan_sccp.c:406: error: dereferencing pointer to incomplete type
chan_sccp.c:406: warning: assignment makes pointer from integer without a cast
chan_sccp.c:407: error: dereferencing pointer to incomplete type
chan_sccp.c:411: error: dereferencing pointer to incomplete type
chan_sccp.c:412: error: dereferencing pointer to incomplete type
chan_sccp.c:413: error: dereferencing pointer to incomplete type
chan_sccp.c:414: error: dereferencing pointer to incomplete type
chan_sccp.c:414: error:AST_MAX_EXTENSION' undeclared (first use in this function)
chan_sccp.c:414: error: dereferencing pointer to incomplete type
chan_sccp.c:414: error: dereferencing pointer to incomplete type
chan_sccp.c:414: error: dereferencing pointer to incomplete type
chan_sccp.c:414: error: dereferencing pointer to incomplete type
chan_sccp.c:415: error: dereferencing pointer to incomplete type
chan_sccp.c:416: error: dereferencing pointer to incomplete type
chan_sccp.c:416: error: dereferencing pointer to incomplete type
chan_sccp.c:416: error: dereferencing pointer to incomplete type
chan_sccp.c:416: error: dereferencing pointer to incomplete type
chan_sccp.c:416: error: dereferencing pointer to incomplete type
chan_sccp.c:417: error: dereferencing pointer to incomplete type
chan_sccp.c:418: warning: implicit declaration of function sscanf'
chan_sccp.c:418: error: dereferencing pointer to incomplete type
chan_sccp.c:421: error: dereferencing pointer to incomplete type
chan_sccp.c:421: error: dereferencing pointer to incomplete type
chan_sccp.c:424: error: dereferencing pointer to incomplete type
chan_sccp.c:426: error: dereferencing pointer to incomplete type
chan_sccp.c:432: warning: assignment makes pointer from integer without a cast
chan_sccp.c:445: warning: implicit declaration of functionast_category_browse'
chan_sccp.c:445: warning: assignment makes pointer from integer without a cast
chan_sccp.c:451: warning: comparison between pointer and integer
chan_sccp.c:452: warning: passing arg 1 of build_device' from incompatible pointer type
chan_sccp.c:455: error:option_verbose' undeclared (first use in this function)
chan_sccp.c:456: error: VERBOSE_PREFIX_3' undeclared (first use in this function)
chan_sccp.c:456: error: parse error before string constant
chan_sccp.c:456: error: dereferencing pointer to incomplete type
chan_sccp.c:456: warning: left-hand operand of comma expression has no effect
chan_sccp.c:456: error: parse error before ')' token
chan_sccp.c:457: warning: implicit declaration of functionast_mutex_lock'
chan_sccp.c:457: error: devicelock' undeclared (first use in this function)
chan_sccp.c:458: error: dereferencing pointer to incomplete type
chan_sccp.c:460: warning: implicit declaration of functionast_mutex_unlock'
chan_sccp.c:463: warning: comparison between pointer and integer
chan_sccp.c:464: warning: passing arg 1 of build_line' from incompatible pointer type
chan_sccp.c:467: error: parse error before string constant
chan_sccp.c:467: error: dereferencing pointer to incomplete type
chan_sccp.c:467: warning: left-hand operand of comma expression has no effect
chan_sccp.c:467: error: parse error before ')' token
chan_sccp.c:468: error:linelock' undeclared (first use in this function)
chan_sccp.c:469: error: dereferencing pointer to incomplete type
chan_sccp.c:474: warning: comparison between pointer and integer
chan_sccp.c:476: error: invalid application of sizeof' to an incomplete type
chan_sccp.c:479: error: invalid application ofsizeof' to an incomplete type
chan_sccp.c:479: error: invalid application of sizeof' to an incomplete type
chan_sccp.c:479: error: invalid application ofsizeof' to an incomplete type
chan_sccp.c:479: error: invalid application of sizeof' to an incomplete type
chan_sccp.c:479: error: invalid application ofsizeof' to an incomplete type
chan_sccp.c:479: error: invalid application of sizeof' to an incomplete type
chan_sccp.c:482: warning: passing arg 1 ofstrlen' makes pointer from integer without a cast
chan_sccp.c:482: error: dereferencing pointer to incomplete type
chan_sccp.c:482: warning: passing arg 2 of memcpy' makes pointer from integer without a cast
chan_sccp.c:482: error: dereferencing pointer to incomplete type
chan_sccp.c:482: warning: passing arg 2 ofstrncpy' makes pointer from integer without a cast
chan_sccp.c:482: error: dereferencing pointer to incomplete type
chan_sccp.c:482: warning: passing arg 2 of strncpy' makes pointer from integer without a cast
chan_sccp.c:484: error: dereferencing pointer to incomplete type
chan_sccp.c:484: error: dereferencing pointer to incomplete type
chan_sccp.c:484: error: dereferencing pointer to incomplete type
chan_sccp.c:489: warning: assignment makes pointer from integer without a cast
chan_sccp.c:491: error: dereferencing pointer to incomplete type
chan_sccp.c:492: error: dereferencing pointer to incomplete type
chan_sccp.c:495: error: dereferencing pointer to incomplete type
chan_sccp.c:503: error: dereferencing pointer to incomplete type
chan_sccp.c:504: error: dereferencing pointer to incomplete type
chan_sccp.c:504: error: dereferencing pointer to incomplete type
chan_sccp.c:504: error: dereferencing pointer to incomplete type
chan_sccp.c:504: error: dereferencing pointer to incomplete type
chan_sccp.c:507: warning: assignment makes pointer from integer without a cast
chan_sccp.c:509: error: dereferencing pointer to incomplete type
chan_sccp.c:510: error: dereferencing pointer to incomplete type
chan_sccp.c:512: error:LOG_DEBUG' undeclared (first use in this function)
chan_sccp.c:512: error: dereferencing pointer to incomplete type
chan_sccp.c:516: error: LOG_ERROR' undeclared (first use in this function)
chan_sccp.c:516: error: dereferencing pointer to incomplete type
chan_sccp.c:519: error: dereferencing pointer to incomplete type
chan_sccp.c:522: error:intercomlock' undeclared (first use in this function)
chan_sccp.c:523: error: dereferencing pointer to incomplete type
chan_sccp.c:532: warning: assignment makes pointer from integer without a cast
chan_sccp.c:555: warning: implicit declaration of function ast_inet_ntoa'
chan_sccp.c:575: warning: implicit declaration of functionast_pthread_create'
chan_sccp.c:580: warning: implicit declaration of function ast_config_destroy'
chan_sccp.c: In functionsetcalledparty_exec':
chan_sccp.c:595: error: dereferencing pointer to incomplete type
chan_sccp.c:601: error: dereferencing pointer to incomplete type
chan_sccp.c:608: warning: implicit declaration of function ast_callerid_parse'
chan_sccp.c:611: error: dereferencing pointer to incomplete type
chan_sccp.c:611: error: dereferencing pointer to incomplete type
chan_sccp.c:611: error: dereferencing pointer to incomplete type
chan_sccp.c:613: error: dereferencing pointer to incomplete type
chan_sccp.c:613: error: dereferencing pointer to incomplete type
chan_sccp.c:613: error: dereferencing pointer to incomplete type
chan_sccp.c: In functiondo_monitor':
chan_sccp.c:621: warning: implicit declaration of function pthread_testcancel'
chan_sccp.c:622: warning: implicit declaration of functionast_sched_wait'
chan_sccp.c:625: warning: implicit declaration of function ast_io_wait'
chan_sccp.c:626: error:monlock' undeclared (first use in this function)
chan_sccp.c:628: warning: implicit declaration of function ast_sched_runq'
chan_sccp.c: In functionrestart_monitor':
chan_sccp.c:641: error: monlock' undeclared (first use in this function)
chan_sccp.c:642: error:LOG_WARNING' undeclared (first use in this function)
chan_sccp.c:646: warning: implicit declaration of function pthread_self'
chan_sccp.c:658: error:LOG_ERROR' undeclared (first use in this function)
chan_sccp.c: At top level:
chan_sccp.c:666: warning: function declaration isn't a prototype
chan_sccp.c: In function load_module':
chan_sccp.c:668: warning: implicit declaration of functionsched_context_create'
chan_sccp.c:668: warning: assignment makes pointer from integer without a cast
chan_sccp.c:670: error: LOG_WARNING' undeclared (first use in this function)
chan_sccp.c:673: warning: implicit declaration of functionio_context_create'
chan_sccp.c:673: warning: assignment makes pointer from integer without a cast
chan_sccp.c:681: warning: implicit declaration of function ast_channel_register'
chan_sccp.c:686: error:LOG_ERROR' undeclared (first use in this function)
chan_sccp.c:692: warning: implicit declaration of function ast_register_application'
chan_sccp.c:695: warning: implicit declaration of functionast_sched_add'
chan_sccp.c: At top level:
chan_sccp.c:700: warning: no previous prototype for reload'
chan_sccp.c:706: warning: function declaration isn't a prototype
chan_sccp.c: In functionunload_module':
chan_sccp.c:708: warning: implicit declaration of function ast_channel_unregister'
chan_sccp.c:714: error:monlock' undeclared (first use in this function)
chan_sccp.c:716: warning: implicit declaration of function pthread_cancel'
chan_sccp.c:718: warning: implicit declaration of functionpthread_join'
chan_sccp.c:723: error: LOG_WARNING' undeclared (first use in this function)
chan_sccp.c: At top level:
chan_sccp.c:730: warning: function declaration isn't a prototype
chan_sccp.c: In functionusecount':
chan_sccp.c:732: error: usecnt_lock' undeclared (first use in this function)
chan_sccp.c: At top level:
chan_sccp.c:738: warning: function declaration isn't a prototype
chan_sccp.c: In functionkey':
chan_sccp.c:738: error: ASTERISK_GPL_KEY' undeclared (first use in this function)
chan_sccp.c: At top level:
chan_sccp.c:740: error:description' redeclared as different kind of symbol
chan_sccp.h:910: error: previous declaration of description'
chan_sccp.h:768: error: storage size ofmailbox' isn't known
chan_sccp.h:771: error: storage size of context' isn't known
chan_sccp.h:777: error: storage size ofcid_name' isn't known
chan_sccp.h:778: error: storage size of cid_num' isn't known
sccp_pbx.h:6: error: storage size ofsccp_tech' isn't known
chan_sccp.c:20: error: storage size of ahp' isn't known
chan_sccp.c:26: error: storage size ofdefault_context' isn't known
chan_sccp.c:27: error: storage size of `vmnum' isn't known
make: *** [.tmp/chan_sccp.o] Error 1