[Asterisk-Users] Compile Error chan_sccp-20050705 on asterisk 1.0.9 (tarball)

Holger Hornung mail at hhornung.de
Mon Jul 11 10:13:47 MST 2005


Hello!

I tried to compile chan_sccp-20050705 but I receive the following
errors:

linux:/home/share/chan_sccp-20050705 # make install
sh ./create_config.sh "/usr/include"
Checking Asterisk version...
 * no 'struct ast_channel_tech', using old pvt
 * no 'struct ast_callerid'
 * no 'AST_CONTROL_HOLD'
 * no 'ast_config_load'
 * no 'ast_copy_string'
config.h complete.
Now compiling .... sccp_actions.c           853 lines
sccp_actions.c: In function `sccp_handle_unregister':
sccp_actions.c:124: parse error before `*'
sccp_actions.c:125: `r1' undeclared (first use in this function)
sccp_actions.c:125: (Each undeclared identifier is reported only once
sccp_actions.c:125: for each function it appears in.)
sccp_actions.c: In function `sccp_handle_stimulus':
sccp_actions.c:300: parse error before `stimulus'
sccp_actions.c:303: `stimulus' undeclared (first use in this function)
sccp_actions.c:303: `line' undeclared (first use in this function)
sccp_actions.c:308: warning: unreachable code at beginning of switch statement
sccp_actions.c: In function `sccp_handle_keypad_button':
sccp_actions.c:630: parse error before `int'
sccp_actions.c:634: `event' undeclared (first use in this function)
sccp_actions.c:638: `resp' undeclared (first use in this function)
sccp_actions.c:654: `len' undeclared (first use in this function)
sccp_actions.c: In function `sccp_handle_soft_key_event':
sccp_actions.c:675: parse error before `*'
sccp_actions.c:681: `event' undeclared (first use in this function)
sccp_actions.c:682: `line' undeclared (first use in this function)
sccp_actions.c:682: `callid' undeclared (first use in this function)
sccp_actions.c:688: `l' undeclared (first use in this function)
sccp_actions.c:691: `c' undeclared (first use in this function)
sccp_actions.c:695: warning: unreachable code at beginning of switch statement
sccp_actions.c: In function `sccp_handle_open_receive_channel_ack':
sccp_actions.c:747: parse error before `struct'
sccp_actions.c:751: warning: built-in function `sin' used without declaration
sccp_actions.c:751: request for member `sin_family' in something not a structure or union
sccp_actions.c:752: request for member `sin_addr' in something not a structure or union
sccp_actions.c:752: request for member `sin_addr' in something not a structure or union
sccp_actions.c:753: request for member `sin_port' in something not a structure or union
sccp_actions.c:758: `iabuf' undeclared (first use in this function)
sccp_actions.c:758: request for member `sin_addr' in something not a structure or union
sccp_actions.c:759: request for member `sin_port' in something not a structure or union
sccp_actions.c:759: request for member `sin_port' in something not a structure or union
sccp_actions.c:759: request for member `sin_port' in something not a structure or union
sccp_actions.c:759: request for member `sin_port' in something not a structure or union
sccp_actions.c:762: `c' undeclared (first use in this function)
sccp_actions.c:764: warning: passing arg 2 of `ast_rtp_set_peer' from incompatible pointer type
sccp_actions.c:765: request for member `sin_addr' in something not a structure or union
sccp_actions.c:765: request for member `sin_port' in something not a structure or union
sccp_actions.c:765: request for member `sin_port' in something not a structure or union
sccp_actions.c:765: request for member `sin_port' in something not a structure or union
sccp_actions.c:765: request for member `sin_port' in something not a structure or union
sccp_actions.c:759: warning: `__v' might be used uninitialized in this function
sccp_actions.c:765: warning: `__v' might be used uninitialized in this function
sccp_actions.c: In function `sccp_handle_forward_stat_req':
sccp_actions.c:838: parse error before `*'
sccp_actions.c:839: `r1' undeclared (first use in this function)
make: *** [.tmp/sccp_actions.o] Error 1
linux:/home/share/chan_sccp-20050705

What is the problem?


-- 
ciao

Holger





More information about the asterisk-users mailing list