stefaniobrunhara
(usa CentOS)
Enviado em 14/11/2013 - 13:27h
Não sei se este seria o melhor lugar para fazer esta pergunta, mas... vamos la!
Estou com este problema, para complicar o partysip, alguém já fez esta tarefa ?
make[2]: Entrando no diretório `/home/stf/Install_sv/make/partysip-2.2.0/src'
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../partysip -I../ppl/unix/ -I.. -I/usr/local/include -Wall -Wcast-align -Wchar-subscripts -Wformat -Winline -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -DOSIP_MT -D_REENTRANT -D_THREAD_SAFE -DXOPEN_SOURCE=500 -DHAVE_GETADDRINFO -DNEW_TIMER -pedantic -DUSE_TMP_BUFFER -DPSP_SERVER_PREFIX="\"/usr/local\"" -DCONFIG_DIR="\"/usr/local/etc/partysip\"" -pthread -g -O2 -c osip_msg.c
osip_msg.c: In function ‘osip_msg_build_response’:
osip_msg.c:91: error: incompatible type for argument 1 of ‘osip_list_eol’
/usr/include/osipparser2/osip_list.h:134: note: expected ‘const struct osip_list_t *’ but argument is of type ‘osip_list_t’
osip_msg.c:96: error: incompatible type for argument 1 of ‘osip_list_get’
/usr/include/osipparser2/osip_list.h:147: note: expected ‘const struct osip_list_t *’ but argument is of type ‘osip_list_t’
osip_msg.c:100: error: incompatible type for argument 1 of ‘osip_list_add’
/usr/include/osipparser2/osip_list.h:141: note: expected ‘struct osip_list_t *’ but argument is of type ‘osip_list_t’
osip_msg.c:122: error: incompatible type for argument 1 of ‘osip_list_get’
/usr/include/osipparser2/osip_list.h:147: note: expected ‘const struct osip_list_t *’ but argument is of type ‘osip_list_t’
osip_msg.c: In function ‘osip_msg_sfp_build_response_osip_to_forward’:
osip_msg.c:223: error: incompatible type for argument 1 of ‘osip_list_get’
/usr/include/osipparser2/osip_list.h:147: note: expected ‘const struct osip_list_t *’ but argument is of type ‘osip_list_t’
osip_msg.c:229: error: incompatible type for argument 1 of ‘osip_list_remove’
/usr/include/osipparser2/osip_list.h:153: note: expected ‘struct osip_list_t *’ but argument is of type ‘osip_list_t’
osip_msg.c: In function ‘_osip_message_set_topheader’:
osip_msg.c:343: error: incompatible type for argument 1 of ‘osip_list_add’
/usr/include/osipparser2/osip_list.h:141: note: expected ‘struct osip_list_t *’ but argument is of type ‘osip_list_t’
osip_msg.c: In function ‘osip_msg_default_build_request_osip_to_forward’:
osip_msg.c:420: error: incompatible type for argument 1 of ‘osip_list_add’
/usr/include/osipparser2/osip_list.h:141: note: expected ‘struct osip_list_t *’ but argument is of type ‘osip_list_t’
osip_msg.c:458: error: incompatible type for argument 1 of ‘osip_list_remove’
/usr/include/osipparser2/osip_list.h:153: note: expected ‘struct osip_list_t *’ but argument is of type ‘osip_list_t’
osip_msg.c:488: error: incompatible type for argument 1 of ‘osip_list_add’
/usr/include/osipparser2/osip_list.h:141: note: expected ‘struct osip_list_t *’ but argument is of type ‘osip_list_t’
osip_msg.c:494: error: incompatible type for argument 1 of ‘osip_list_size’
/usr/include/osipparser2/osip_list.h:128: note: expected ‘const struct osip_list_t *’ but argument is of type ‘osip_list_t’
osip_msg.c: In function ‘osip_msg_modify_ack_osip_to_be_forwarded’:
osip_msg.c:614: warning: the address of ‘branch’ will never be NULL
osip_msg.c:657: error: incompatible type for argument 1 of ‘osip_list_add’
/usr/include/osipparser2/osip_list.h:141: note: expected ‘struct osip_list_t *’ but argument is of type ‘osip_list_t’
osip_msg.c:691: error: incompatible type for argument 1 of ‘osip_list_remove’
/usr/include/osipparser2/osip_list.h:153: note: expected ‘struct osip_list_t *’ but argument is of type ‘osip_list_t’
osip_msg.c:705: error: incompatible type for argument 1 of ‘osip_list_size’
/usr/include/osipparser2/osip_list.h:128: note: expected ‘const struct osip_list_t *’ but argument is of type ‘osip_list_t’
osip_msg.c: In function ‘osip_msg_build_cancel’:
osip_msg.c:768: error: incompatible type for argument 1 of ‘osip_list_add’
/usr/include/osipparser2/osip_list.h:141: note: expected ‘struct osip_list_t *’ but argument is of type ‘osip_list_t’
make[2]: ** [osip_msg.o] Erro 1
make[2]: Saindo do diretório `/home/stf/Install_sv/make/partysip-2.2.0/src'
make[1]: ** [all-recursive] Erro 1
make[1]: Saindo do diretório `/home/stf/Install_sv/make/partysip-2.2.0'
make: ** [all-recursive-am] Erro 2