net/libphone-base

2014-05-26 Thread Ajtim
Hi!

On my FreeBSD 10.0-RELEASE (amd64) I have a problem to update/build 
net/libphone-base:

 -pipe -fno-strict-aliasing -MT proxy.lo -MD -MP -MF .deps/proxy.Tpo -c 
proxy.c  -fPIC -DPIC -o .libs/proxy.o
presence.c:86:54: error: too few arguments to function call, expected 4, have 
3
eXosip_insubscription_build_answer(ev-tid,202,msg);
~~ ^
/usr/local/include/eXosip2/eX_subscribe.h:175:3: note: 
'eXosip_insubscription_build_answer' declared here
  int eXosip_insubscription_build_answer (struct eXosip_t *excontext, int tid, 
int status, osip_message_t ** answer);
exevents.c:38:15: error: too few arguments to function call, single argument 
'excontext' was not specified
eXosip_lock();
~~~ ^
/usr/local/include/eXosip2/eX_setup.h:95:3: note: 'eXosip_lock' declared here
  int eXosip_lock (struct eXosip_t *excontext);
  ^
exevents.c:39:40: error: too few arguments to function call, expected 3, have 
2
eXosip_call_terminate(ev-cid,ev-did);
~^
/usr/local/include/eXosip2/eX_call.h:227:3: note: 'eXosip_call_terminate' 
declared here
  int eXosip_call_terminate (struct eXosip_t *excontext, int cid, int did);
  ^
exevents.c:40:17: error: too few arguments to function call, single argument 
'excontext' was not specified
eXosip_unlock();
~ ^
/usr/local/include/eXosip2/eX_setup.h:102:3: note: 'eXosip_unlock' declared 
here
  int eXosip_unlock (struct eXosip_t *excontext);
  ^
  ^
presence.c:87:52: friend.c:149:14: error: too few arguments to function call, 
single argument 'excontext' was not specified
eXosip_lock();
~~~ ^
/usr/local/include/eXosip2/eX_setup.h:95:3: note: 'eXosip_lock' declared here
  int eXosip_lock (struct eXosip_t *excontext);
  ^
exevents.c:96:36: friend.c:150error: :78: error: error: too toofew  
fewarguments  argumentsto  tofunction  functioncall,  call,expected  
expected7,  4,have  have6 3

eXosip_insubscription_send_answer(ev-tid,202,msg);
~^

eXosip_subscribe_build_initial_request(msg,friend,from,route,presence,600);
~~  

^
/usr/local/include/eXosip2/eX_subscribe.h:185:3/usr/local/include/eXosip2/eX_subscribe.h::
 
123:3note: : 'eXosip_insubscription_send_answer' note: declared 
here'eXosip_subscribe_build_initial_request' 
declared here
  int eXosip_insubscription_send_answer (struct eXosip_t *excontext, int tid, 
int status, osip_message_t * answer);
  ^
presence.c:88:3  int eXosip_subscribe_build_initial_request (struct eXosip_t 
*excontext, osip_message_t ** subscribe, const char *...:
 too  ^ 
few arguments to function call, expected 3, have 2
friend.c:151:43: error: tooeXosip_call_build_ack(ev-did,msg); 
few arguments~ ^ 
to function call, expected 2, have warning: 1
implicit declaration of function '__eXosip_wakeup_event' is invalid in C99
  [-Wimplicit-function-declaration]
eXosip_subscribe_send_initial_request(msg);
~^

__eXosip_wakeup_event();/usr/local/include/eXosip2/eX_subscribe.h
:131:^3
: note: 'eXosip_subscribe_send_initial_request' declared here
  int eXosip_subscribe_send_initial_request (struct eXosip_t *excontext, 
osip_message_t * subscribe);
  ^
friend.c:152:16: error: too few arguments to function call, single argument 
'excontext' was not specified
eXosip_unlock();
~ ^
/usr/local/include/eXosip2/eX_setup.h:102:3: note: 'eXosip_unlock' declared 
here
  int eXosip_unlock (struct eXosip_t *excontext);
/usr/local/include/eXosip2/eX_call.h:  ^132
:3: note: 'eXosip_call_build_ack' declared here
  int eXosip_call_build_ack (struct eXosip_t *excontext, int did, 
osip_message_t ** ack);
  ^
exevents.c:98:34: error: too few arguments to function call, expected 3, have 
2
eXosip_call_send_ack(ev-did,msg);
^
/usr/local/include/eXosip2/eX_call.h:141:3: note: 'eXosip_call_send_ack' 
declared here
  int eXosip_call_send_ack (struct eXosip_t *excontext, int did, 
osip_message_t * ack);
  ^
presence.c:proxy.c:113:14: error: too few arguments to function call, single 
argument 'excontext' was not specified
eXosip_lock();
~~~ ^
/usr/local/include/eXosip2/eX_setup.h:95:3: note: 'eXosip_lock' declared here
  int eXosip_lock (struct eXosip_t *excontext);
  ^
proxy.c:115:59: error: too few arguments to function call, expected 4, have 3
eXosip_register_build_register(obj-rid,obj-expires,msg);
~~   ^
/usr/local/include/eXosip2/eX_register.h:104:3: note

Re: net/libphone-base

2014-05-26 Thread Muhammad Moinur Rahman
Hi,

Last night we went through a change. Most probably you have been affected
by that. Please update your ports tree. Deinstall net/libexosip2,
net/libosip2 and start fresh.

BR,
Muhammad


On Mon, May 26, 2014 at 3:12 PM, Ajtim lum...@gmail.com wrote:

 Hi!

 On my FreeBSD 10.0-RELEASE (amd64) I have a problem to update/build
 net/libphone-base:

  -pipe -fno-strict-aliasing -MT proxy.lo -MD -MP -MF .deps/proxy.Tpo -c
 proxy.c  -fPIC -DPIC -o .libs/proxy.o
 presence.c:86:54: error: too few arguments to function call, expected 4,
 have
 3
 eXosip_insubscription_build_answer(ev-tid,202,msg);
 ~~ ^
 /usr/local/include/eXosip2/eX_subscribe.h:175:3: note:
 'eXosip_insubscription_build_answer' declared here
   int eXosip_insubscription_build_answer (struct eXosip_t *excontext, int
 tid,
 int status, osip_message_t ** answer);
 exevents.c:38:15: error: too few arguments to function call, single
 argument
 'excontext' was not specified
 eXosip_lock();
 ~~~ ^
 /usr/local/include/eXosip2/eX_setup.h:95:3: note: 'eXosip_lock' declared
 here
   int eXosip_lock (struct eXosip_t *excontext);
   ^
 exevents.c:39:40: error: too few arguments to function call, expected 3,
 have
 2
 eXosip_call_terminate(ev-cid,ev-did);
 ~^
 /usr/local/include/eXosip2/eX_call.h:227:3: note: 'eXosip_call_terminate'
 declared here
   int eXosip_call_terminate (struct eXosip_t *excontext, int cid, int did);
   ^
 exevents.c:40:17: error: too few arguments to function call, single
 argument
 'excontext' was not specified
 eXosip_unlock();
 ~ ^
 /usr/local/include/eXosip2/eX_setup.h:102:3: note: 'eXosip_unlock' declared
 here
   int eXosip_unlock (struct eXosip_t *excontext);
   ^
   ^
 presence.c:87:52: friend.c:149:14: error: too few arguments to function
 call,
 single argument 'excontext' was not specified
 eXosip_lock();
 ~~~ ^
 /usr/local/include/eXosip2/eX_setup.h:95:3: note: 'eXosip_lock' declared
 here
   int eXosip_lock (struct eXosip_t *excontext);
   ^
 exevents.c:96:36: friend.c:150error: :78: error: error: too toofew
 fewarguments  argumentsto  tofunction  functioncall,  call,expected
 expected7,  4,have  have6 3

 eXosip_insubscription_send_answer(ev-tid,202,msg);
 ~^

 eXosip_subscribe_build_initial_request(msg,friend,from,route,presence,600);
 ~~
 ^

 /usr/local/include/eXosip2/eX_subscribe.h:185:3/usr/local/include/eXosip2/eX_subscribe.h::
 123:3note: : 'eXosip_insubscription_send_answer' note: declared
 here'eXosip_subscribe_build_initial_request'
 declared here
   int eXosip_insubscription_send_answer (struct eXosip_t *excontext, int
 tid,
 int status, osip_message_t * answer);
   ^
 presence.c:88:3  int eXosip_subscribe_build_initial_request (struct
 eXosip_t
 *excontext, osip_message_t ** subscribe, const char *...:
  too  ^
 few arguments to function call, expected 3, have 2
 friend.c:151:43: error: tooeXosip_call_build_ack(ev-did,msg);
 few arguments~ ^
 to function call, expected 2, have warning: 1
 implicit declaration of function '__eXosip_wakeup_event' is invalid in C99
   [-Wimplicit-function-declaration]
 eXosip_subscribe_send_initial_request(msg);
 ~^

 __eXosip_wakeup_event();/usr/local/include/eXosip2/eX_subscribe.h
 :131:^3
 : note: 'eXosip_subscribe_send_initial_request' declared here
   int eXosip_subscribe_send_initial_request (struct eXosip_t *excontext,
 osip_message_t * subscribe);
   ^
 friend.c:152:16: error: too few arguments to function call, single argument
 'excontext' was not specified
 eXosip_unlock();
 ~ ^
 /usr/local/include/eXosip2/eX_setup.h:102:3: note: 'eXosip_unlock' declared
 here
   int eXosip_unlock (struct eXosip_t *excontext);
 /usr/local/include/eXosip2/eX_call.h:  ^132
 :3: note: 'eXosip_call_build_ack' declared here
   int eXosip_call_build_ack (struct eXosip_t *excontext, int did,
 osip_message_t ** ack);
   ^
 exevents.c:98:34: error: too few arguments to function call, expected 3,
 have
 2
 eXosip_call_send_ack(ev-did,msg);
 ^
 /usr/local/include/eXosip2/eX_call.h:141:3: note: 'eXosip_call_send_ack'
 declared here
   int eXosip_call_send_ack (struct eXosip_t *excontext, int did,
 osip_message_t * ack);
   ^
 presence.c:proxy.c:113:14: error: too few arguments to function call,
 single
 argument 'excontext' was not specified
 eXosip_lock();
 ~~~ ^
 /usr/local/include/eXosip2/eX_setup.h:95:3: note: 'eXosip_lock' declared
 here
   int eXosip_lock (struct eXosip_t *excontext);
   ^
 proxy.c