|
From: | Abraham WEI |
Subject: | Re: [Partysip-dev] compile problem |
Date: | Tue, 1 May 2007 21:37:00 +0800 |
The "osip_list_*" API has been changed in osip: this version of
partysip you are trying does not match the version of osip you are
trying.
As I said, partysip is a closed project. If someone is interested, I
can provide commit access to the project: knowledge in SIP is required...
tks,
Aymeric MOIZARD / ANTISIP
amsip - http://www.antisip.com
osip2 - http://www.osip.org
eXosip2 - http://savannah.nongnu.org/projects/exosip/
On Fri, 23 Feb 2007, Terry Leung wrote:
> I am unable to compile the partysip
> linux version:Linux version 2.4.21-20.ELsmp
> ( address@hidden) (gcc version 3.2.3 20030502 (Red
> Hat Linux 3.2.3-42)) #1 SMP Wed Aug 18 20:46:40 EDT 2004
> partysip version:partysip-2.2.4-pre1
> osip version:libosip2-3.0.1
>
> what i've dont is
> cd libosip2-3.0.1
> ./configure
> make
> make install
>
> and then untar the partysip
> ./configure
> make
>
> and the make doesnt successful
> the error is listed below
>
> if 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 -MT
> psp_plugin.o -MD -MP -MF ".deps/psp_plugin.Tpo" -c -o psp_plugin.o
> psp_plugin.c; \
> then mv -f ".deps/psp_plugin.Tpo" ".deps/psp_plugin.Po"; else rm -f
> ".deps/psp_plugin.Tpo"; exit 1; fi
> psp_plugin.c: In function `psp_plugin_load':
> psp_plugin.c:88: warning: ISO C forbids assignment between function
> pointer and `void *'
> psp_plugin.c:97: warning: ISO C forbids assignment between function
> pointer and `void *'
> psp_plugin.c:106: warning: ISO C forbids assignment between function
> pointer and `void *'
> psp_plugin.c: In function `psp_plugin_free':
> psp_plugin.c:169: warning: ISO C forbids assignment between function
> pointer and `void *'
> if 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 -MT
> osip_msg.o -MD -MP -MF ".deps/osip_msg.Tpo" -c -o osip_msg.o
> osip_msg.c; \
> then mv -f ".deps/osip_msg.Tpo" ".deps/osip_msg.Po"; else rm -f
> ".deps/osip_msg.Tpo"; exit 1; fi
> osip_msg.c: In function `osip_msg_build_response':
> osip_msg.c:91: incompatible type for argument 1 of `osip_list_eol'
> osip_msg.c:96: incompatible type for argument 1 of `osip_list_get'
> osip_msg.c:100: incompatible type for argument 1 of `osip_list_add'
> osip_msg.c:122: incompatible type for argument 1 of `osip_list_get'
> osip_msg.c:200: incompatible type for argument 1 of `osip_list_eol'
> osip_msg.c:204: incompatible type for argument 1 of `osip_list_get'
> osip_msg.c:207: incompatible type for argument 1 of `osip_list_add'
> osip_msg.c:216: incompatible type for argument 1 of `osip_list_eol'
> osip_msg.c:220: incompatible type for argument 1 of `osip_list_get'
> osip_msg.c:226: incompatible type for argument 1 of `osip_list_add'
> osip_msg.c: In function `osip_msg_sfp_build_response_osip_to_forward':
> osip_msg.c:253: incompatible type for argument 1 of `osip_list_get'
> osip_msg.c:259: incompatible type for argument 1 of `osip_list_remove'
> osip_msg.c: In function `_osip_message_set_topheader':
> osip_msg.c:373: incompatible type for argument 1 of `osip_list_add'
> osip_msg.c: In function `osip_msg_default_build_request_osip_to_forward':
> osip_msg.c:450: incompatible type for argument 1 of `osip_list_add'
> osip_msg.c:488: incompatible type for argument 1 of `osip_list_remove'
> osip_msg.c:522: incompatible type for argument 1 of `osip_list_add'
> osip_msg.c:528: incompatible type for argument 1 of `osip_list_size'
> osip_msg.c: In function `osip_msg_modify_ack_osip_to_be_forwarded':
> osip_msg.c:703: incompatible type for argument 1 of `osip_list_add'
> osip_msg.c:737: incompatible type for argument 1 of `osip_list_remove'
> osip_msg.c:751: incompatible type for argument 1 of `osip_list_size'
> osip_msg.c: In function `osip_msg_build_cancel':
> osip_msg.c:814: incompatible type for argument 1 of `osip_list_add'
> make[2]: *** [osip_msg.o] Error 1
> make[2]: Leaving directory `/mnt/hardisk2/terry/src/partysip-2.2.4-pre1/src'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/mnt/hardisk2/terry/src/partysip- 2.2.4-pre1'
> make: *** [all] Error 2
>
> anyone can help me ?
>
>
> _______________________________________________
> Partysip-dev mailing list
> address@hidden
> http://lists.nongnu.org/mailman/listinfo/partysip-dev
>
>
_______________________________________________
Partysip-dev mailing list
address@hidden
http://lists.nongnu.org/mailman/listinfo/partysip-dev
[Prev in Thread] | Current Thread | [Next in Thread] |