Hello, Until linphone is ported to eXosip2, you must use libosip-2.2.2, not 2.2.3 which has osip_negociation removed. Otherwise you can drop the osip_negociation stuff from the exosip embedded in linphone since it is not used (linphone uses its own sdp manager).
Simon Le jeudi 4 janvier 2007 21:49, Frank Westfield a écrit : > I am unable to install Linphone 1.5.1 which I have downloaded from the > linphone website. > > The 'make' fails due to a missing osip_negotiation.h include file. > Investigations show that this file is now deprecated and is no longer > included in libosip2/libeXosip2. > > Comparing the eXosip2.h files within the downloaded linphone dist and > the libeXosip2 dist shows additional marked differences in references. > > I have a choice of > > a) Finding a copy of the missing file from an earlier version of libeXosip > > or > > b) Replace the exosip structures in the linphone folder with those of > the official libeXosip2 distribution. > > or > > c) Wait for the corrected Linphone dist. > > Advice on the most expedient/suitable approach would be appreciated. > > -------------------------------------------------- make output > ----------------------------------------------------- > make all-recursive > make[1]: Entering directory `/local/Applications/Linphone/linphone-1.5.1' > Making all in m4 > make[2]: Entering directory > `/local/Applications/Linphone/linphone-1.5.1/m4' make[2]: Nothing to be > done for `all'. > make[2]: Leaving directory `/local/Applications/Linphone/linphone-1.5.1/m4' > Making all in pixmaps > make[2]: Entering directory > `/local/Applications/Linphone/linphone-1.5.1/pixmaps' > make[2]: Nothing to be done for `all'. > make[2]: Leaving directory > `/local/Applications/Linphone/linphone-1.5.1/pixmaps' > Making all in po > make[2]: Entering directory > `/local/Applications/Linphone/linphone-1.5.1/po' make[2]: Nothing to be > done for `all'. > make[2]: Leaving directory `/local/Applications/Linphone/linphone-1.5.1/po' > Making all in ipkg > make[2]: Entering directory > `/local/Applications/Linphone/linphone-1.5.1/ipkg' > make[2]: Nothing to be done for `all'. > make[2]: Leaving directory > `/local/Applications/Linphone/linphone-1.5.1/ipkg' > Making all in oRTP > make[2]: Entering directory > `/local/Applications/Linphone/linphone-1.5.1/oRTP' > make all-recursive > make[3]: Entering directory > `/local/Applications/Linphone/linphone-1.5.1/oRTP' > Making all in src > make[4]: Entering directory > `/local/Applications/Linphone/linphone-1.5.1/oRTP/src' > Making all in . > make[5]: Entering directory > `/local/Applications/Linphone/linphone-1.5.1/oRTP/src' > make[5]: Nothing to be done for `all-am'. > make[5]: Leaving directory > `/local/Applications/Linphone/linphone-1.5.1/oRTP/src' > Making all in tests > make[5]: Entering directory > `/local/Applications/Linphone/linphone-1.5.1/oRTP/src/tests' > Making all in win_receiver > make[6]: Entering directory > `/local/Applications/Linphone/linphone-1.5.1/oRTP/src/tests/win_receiver' > make[6]: Nothing to be done for `all'. > make[6]: Leaving directory > `/local/Applications/Linphone/linphone-1.5.1/oRTP/src/tests/win_receiver' > Making all in win_sender > make[6]: Entering directory > `/local/Applications/Linphone/linphone-1.5.1/oRTP/src/tests/win_sender' > make[6]: Nothing to be done for `all'. > make[6]: Leaving directory > `/local/Applications/Linphone/linphone-1.5.1/oRTP/src/tests/win_sender' > make[6]: Entering directory > `/local/Applications/Linphone/linphone-1.5.1/oRTP/src/tests' > make[6]: Nothing to be done for `all-am'. > make[6]: Leaving directory > `/local/Applications/Linphone/linphone-1.5.1/oRTP/src/tests' > make[5]: Leaving directory > `/local/Applications/Linphone/linphone-1.5.1/oRTP/src/tests' > make[4]: Leaving directory > `/local/Applications/Linphone/linphone-1.5.1/oRTP/src' > Making all in docs > make[4]: Entering directory > `/local/Applications/Linphone/linphone-1.5.1/oRTP/docs' > make[4]: Nothing to be done for `all'. > make[4]: Leaving directory > `/local/Applications/Linphone/linphone-1.5.1/oRTP/docs' > Making all in build > make[4]: Entering directory > `/local/Applications/Linphone/linphone-1.5.1/oRTP/build' > Making all in win32native > make[5]: Entering directory > `/local/Applications/Linphone/linphone-1.5.1/oRTP/build/win32native' > make[5]: Nothing to be done for `all'. > make[5]: Leaving directory > `/local/Applications/Linphone/linphone-1.5.1/oRTP/build/win32native' > Making all in wince > make[5]: Entering directory > `/local/Applications/Linphone/linphone-1.5.1/oRTP/build/wince' > make[5]: Nothing to be done for `all'. > make[5]: Leaving directory > `/local/Applications/Linphone/linphone-1.5.1/oRTP/build/wince' > make[5]: Entering directory > `/local/Applications/Linphone/linphone-1.5.1/oRTP/build' > make[5]: Nothing to be done for `all-am'. > make[5]: Leaving directory > `/local/Applications/Linphone/linphone-1.5.1/oRTP/build' > make[4]: Leaving directory > `/local/Applications/Linphone/linphone-1.5.1/oRTP/build' > Making all in include > make[4]: Entering directory > `/local/Applications/Linphone/linphone-1.5.1/oRTP/include' > Making all in ortp > make[5]: Entering directory > `/local/Applications/Linphone/linphone-1.5.1/oRTP/include/ortp' > make[5]: Nothing to be done for `all'. > make[5]: Leaving directory > `/local/Applications/Linphone/linphone-1.5.1/oRTP/include/ortp' > make[5]: Entering directory > `/local/Applications/Linphone/linphone-1.5.1/oRTP/include' > make[5]: Nothing to be done for `all-am'. > make[5]: Leaving directory > `/local/Applications/Linphone/linphone-1.5.1/oRTP/include' > make[4]: Leaving directory > `/local/Applications/Linphone/linphone-1.5.1/oRTP/include' > make[4]: Entering directory > `/local/Applications/Linphone/linphone-1.5.1/oRTP' > make[4]: Leaving directory > `/local/Applications/Linphone/linphone-1.5.1/oRTP' > make[3]: Leaving directory > `/local/Applications/Linphone/linphone-1.5.1/oRTP' > make[2]: Leaving directory > `/local/Applications/Linphone/linphone-1.5.1/oRTP' > Making all in gsmlib > make[2]: Entering directory > `/local/Applications/Linphone/linphone-1.5.1/gsmlib' > make[2]: Nothing to be done for `all'. > make[2]: Leaving directory > `/local/Applications/Linphone/linphone-1.5.1/gsmlib' > Making all in mediastreamer2 > make[2]: Entering directory > `/local/Applications/Linphone/linphone-1.5.1/mediastreamer2' > make all-recursive > make[3]: Entering directory > `/local/Applications/Linphone/linphone-1.5.1/mediastreamer2' > Making all in src > make[4]: Entering directory > `/local/Applications/Linphone/linphone-1.5.1/mediastreamer2/src' > make all-am > make[5]: Entering directory > `/local/Applications/Linphone/linphone-1.5.1/mediastreamer2/src' > make[5]: Nothing to be done for `all-am'. > make[5]: Leaving directory > `/local/Applications/Linphone/linphone-1.5.1/mediastreamer2/src' > make[4]: Leaving directory > `/local/Applications/Linphone/linphone-1.5.1/mediastreamer2/src' > Making all in build > make[4]: Entering directory > `/local/Applications/Linphone/linphone-1.5.1/mediastreamer2/build' > Making all in win32native > make[5]: Entering directory > `/local/Applications/Linphone/linphone-1.5.1/mediastreamer2/build/win32nati >ve' make[5]: Nothing to be done for `all'. > make[5]: Leaving directory > `/local/Applications/Linphone/linphone-1.5.1/mediastreamer2/build/win32nati >ve' Making all in wince > make[5]: Entering directory > `/local/Applications/Linphone/linphone-1.5.1/mediastreamer2/build/wince' > make[5]: Nothing to be done for `all'. > make[5]: Leaving directory > `/local/Applications/Linphone/linphone-1.5.1/mediastreamer2/build/wince' > make[5]: Entering directory > `/local/Applications/Linphone/linphone-1.5.1/mediastreamer2/build' > make[5]: Nothing to be done for `all-am'. > make[5]: Leaving directory > `/local/Applications/Linphone/linphone-1.5.1/mediastreamer2/build' > make[4]: Leaving directory > `/local/Applications/Linphone/linphone-1.5.1/mediastreamer2/build' > Making all in include > make[4]: Entering directory > `/local/Applications/Linphone/linphone-1.5.1/mediastreamer2/include' > Making all in mediastreamer2 > make[5]: Entering directory > `/local/Applications/Linphone/linphone-1.5.1/mediastreamer2/include/mediast >reamer2' make[5]: Nothing to be done for `all'. > make[5]: Leaving directory > `/local/Applications/Linphone/linphone-1.5.1/mediastreamer2/include/mediast >reamer2' make[5]: Entering directory > `/local/Applications/Linphone/linphone-1.5.1/mediastreamer2/include' > make[5]: Nothing to be done for `all-am'. > make[5]: Leaving directory > `/local/Applications/Linphone/linphone-1.5.1/mediastreamer2/include' > make[4]: Leaving directory > `/local/Applications/Linphone/linphone-1.5.1/mediastreamer2/include' > Making all in tests > make[4]: Entering directory > `/local/Applications/Linphone/linphone-1.5.1/mediastreamer2/tests' > make[4]: Nothing to be done for `all'. > make[4]: Leaving directory > `/local/Applications/Linphone/linphone-1.5.1/mediastreamer2/tests' > Making all in plugins > make[4]: Entering directory > `/local/Applications/Linphone/linphone-1.5.1/mediastreamer2/plugins' > make[4]: Nothing to be done for `all'. > make[4]: Leaving directory > `/local/Applications/Linphone/linphone-1.5.1/mediastreamer2/plugins' > make[4]: Entering directory > `/local/Applications/Linphone/linphone-1.5.1/mediastreamer2' > make[4]: Leaving directory > `/local/Applications/Linphone/linphone-1.5.1/mediastreamer2' > make[3]: Leaving directory > `/local/Applications/Linphone/linphone-1.5.1/mediastreamer2' > make[2]: Leaving directory > `/local/Applications/Linphone/linphone-1.5.1/mediastreamer2' > Making all in media_api > make[2]: Entering directory > `/local/Applications/Linphone/linphone-1.5.1/media_api' > make[2]: Nothing to be done for `all'. > make[2]: Leaving directory > `/local/Applications/Linphone/linphone-1.5.1/media_api' > Making all in exosip > make[2]: Entering directory > `/local/Applications/Linphone/linphone-1.5.1/exosip' > if /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. > -I. -I.. -I.. -I/usr/include -DHAVE_PTHREAD -DOSIP_MT -DENABLE_TRACE > -DNEW_TIMER -DSM -DMSN_SUPPORT -DUSE_TMP_BUFFER -g -O2 > -fno-strict-aliasing -MT eXosip.lo -MD -MP -MF ".deps/eXosip.Tpo" -c -o > eXosip.lo eXosip.c; \ > then mv -f ".deps/eXosip.Tpo" ".deps/eXosip.Plo"; else rm -f > ".deps/eXosip.Tpo"; exit 1; fi > gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I/usr/include -DHAVE_PTHREAD > -DOSIP_MT -DENABLE_TRACE -DNEW_TIMER -DSM -DMSN_SUPPORT -DUSE_TMP_BUFFER > -g -O2 -fno-strict-aliasing -MT eXosip.lo -MD -MP -MF .deps/eXosip.Tpo > -c eXosip.c -fPIC -DPIC -o .libs/eXosip.o > In file included from eXosip.c:25: > eXosip2.h:47:36: error: osip2/osip_negotiation.h: No such file or directory > In file included from eXosip2.h:50, > from eXosip.c:25: > ./eXosip.h:228: error: expected ')' before '*' token > In file included from eXosip.c:25: > eXosip2.h:159: error: expected specifier-qualifier-list before > 'osip_negotiation_ctx_t' > eXosip2.h:329: error: expected specifier-qualifier-list before > 'osip_negotiation_t' > eXosip2.h:350: error: expected ')' before '*' token > eXosip2.h:351: error: expected ')' before '*' token > eXosip2.h:352: error: expected ')' before '*' token > eXosip2.h:355: error: expected '=', ',', ';', 'asm' or '__attribute__' > before '*' token > eXosip2.h:356: error: expected '=', ',', ';', 'asm' or '__attribute__' > before '*' token > eXosip2.h:357: error: expected '=', ',', ';', 'asm' or '__attribute__' > before '*' token > eXosip2.h:358: error: expected '=', ',', ';', 'asm' or '__attribute__' > before '*' token > eXosip2.h:411: error: expected declaration specifiers or '...' before > 'osip_negotiation_ctx_t' > eXosip.c: In function 'eXosip_set_firewallip': > eXosip.c:62: error: 'eXosip_t' has no member named 'j_firewall_ip' > eXosip.c: In function 'eXosip_set_nattype': > eXosip.c:67: error: 'eXosip_t' has no member named 'nat_type' > eXosip.c:67: error: 'eXosip_t' has no member named 'nat_type' > eXosip.c: In function 'eXosip_force_proxy': > eXosip.c:72: error: 'eXosip_t' has no member named 'forced_proxy' > eXosip.c:72: error: 'eXosip_t' has no member named 'forced_proxy' > eXosip.c: In function 'eXosip_quit': > eXosip.c:215: error: 'eXosip_call_t' has no member named 'parent' > eXosip.c:215: error: 'eXosip_call_t' has no member named 'next' > eXosip.c:215: error: 'eXosip_call_t' has no member named 'parent' > eXosip.c:215: error: 'eXosip_call_t' has no member named 'parent' > eXosip.c:215: error: 'eXosip_call_t' has no member named 'next' > eXosip.c:215: error: 'eXosip_call_t' has no member named 'next' > eXosip.c:215: error: 'eXosip_call_t' has no member named 'next' > eXosip.c:215: error: 'eXosip_call_t' has no member named 'parent' > eXosip.c:215: error: 'eXosip_call_t' has no member named 'next' > eXosip.c:215: error: 'eXosip_call_t' has no member named 'parent' > eXosip.c:234: error: 'eXosip_t' has no member named 'osip_negotiation' > eXosip.c:296: error: incompatible type for argument 1 of > 'eXosip_kill_transaction' > eXosip.c:297: error: incompatible type for argument 1 of > 'eXosip_kill_transaction' > eXosip.c:298: error: incompatible type for argument 1 of > 'eXosip_kill_transaction' > eXosip.c:299: error: incompatible type for argument 1 of > 'eXosip_kill_transaction' > eXosip.c:312: error: 'eXosip_t' has no member named 'authinfos' > eXosip.c:313: error: 'eXosip_t' has no member named 'authinfos' > eXosip.c:315: error: 'eXosip_t' has no member named 'authinfos' > eXosip.c:315: error: 'eXosip_t' has no member named 'authinfos' > eXosip.c:315: error: 'eXosip_t' has no member named 'authinfos' > eXosip.c: In function 'eXosip_init': > eXosip.c:404: error: 'eXosip_t' has no member named 'ip_family' > eXosip.c:410: error: 'eXosip_t' has no member named 'ip_family' > eXosip.c:413: error: 'eXosip_t' has no member named 'ip_family' > eXosip.c:450: error: 'eXosip_t' has no member named 'osip_negotiation' > eXosip.c: In function 'eXosip_force_localip': > eXosip.c:570: error: 'eXosip_t' has no member named 'ip_family' > eXosip.c: In function 'eXosip_update': > eXosip.c:707: error: 'eXosip_call_t' has no member named 'next' > eXosip.c: In function 'eXosip_initiate_call_with_body': > eXosip.c:928: error: 'eXosip_call_t' has no member named 'next' > eXosip.c:928: error: 'eXosip_call_t' has no member named 'parent' > eXosip.c:928: error: 'eXosip_call_t' has no member named 'next' > eXosip.c:928: error: 'eXosip_call_t' has no member named 'parent' > eXosip.c:928: error: 'eXosip_call_t' has no member named 'next' > eXosip.c: In function 'eXosip_prepare_request_for_auth': > eXosip.c:952: error: incompatible type for argument 1 of 'osip_list_get' > eXosip.c:963: error: incompatible type for argument 1 of 'osip_list_remove' > eXosip.c:971: error: 'eXosip_t' has no member named 'ip_family' > eXosip.c:987: error: incompatible type for argument 1 of 'osip_list_add' > eXosip.c: In function 'eXosip_initiate_call': > eXosip.c:1090: error: 'sdp_message_t' undeclared (first use in this > function) > eXosip.c:1090: error: (Each undeclared identifier is reported only once > eXosip.c:1090: error: for each function it appears in.) > eXosip.c:1090: error: 'sdp' undeclared (first use in this function) > eXosip.c:1098: error: 'eXosip_t' has no member named 'osip_negotiation' > eXosip.c:1111: warning: initialization makes pointer from integer > without a cast > eXosip.c:1116: warning: assignment makes pointer from integer without a > cast eXosip.c:1141: error: 'eXosip_t' has no member named 'j_firewall_ip' > eXosip.c:1163: error: 'sdp_connection_t' undeclared (first use in this > function) > eXosip.c:1163: error: 'conn' undeclared (first use in this function) > eXosip.c:1167: error: 'eXosip_t' has no member named 'j_firewall_ip' > eXosip.c:1176: error: 'eXosip_t' has no member named 'j_firewall_ip' > eXosip.c:1207: error: 'eXosip_call_t' has no member named 'c_sdp_port' > eXosip.c:1213: error: 'eXosip_call_t' has no member named 'c_ctx' > eXosip.c:1215: error: 'eXosip_call_t' has no member named 'c_ctx' > eXosip.c:1219: error: 'eXosip_call_t' has no member named 'c_ctx' > eXosip.c:1245: error: 'eXosip_call_t' has no member named 'next' > eXosip.c:1245: error: 'eXosip_call_t' has no member named 'parent' > eXosip.c:1245: error: 'eXosip_call_t' has no member named 'next' > eXosip.c:1245: error: 'eXosip_call_t' has no member named 'parent' > eXosip.c:1245: error: 'eXosip_call_t' has no member named 'next' > eXosip.c: In function 'eXosip_set_redirection_address': > eXosip.c:1443: error: 'eXosip_call_t' has no member named 'c_redirection' > eXosip.c:1445: error: 'eXosip_call_t' has no member named 'c_redirection' > eXosip.c: In function 'eXosip_answer_call': > eXosip.c:1479: error: 'eXosip_call_t' has no member named 'c_ctx' > eXosip.c:1480: error: 'eXosip_call_t' has no member named 'c_sdp_port' > eXosip.c: In function 'eXosip_retrieve_negotiated_payload': > eXosip.c:1520: error: 'eXosip_call_t' has no member named 'c_ctx' > eXosip.c: In function 'eXosip_on_hold_call': > eXosip.c:1666: error: 'sdp_message_t' undeclared (first use in this > function) > eXosip.c:1666: error: 'sdp' undeclared (first use in this function) > eXosip.c:1745: error: 'old_sdp' undeclared (first use in this function) > eXosip.c:1745: error: 'eXosip_call_t' has no member named 'c_ctx' > eXosip.c:1747: error: 'eXosip_call_t' has no member named 'c_ctx' > eXosip.c: In function 'eXosip_off_hold_call': > eXosip.c:1770: error: 'sdp_message_t' undeclared (first use in this > function) > eXosip.c:1770: error: 'sdp' undeclared (first use in this function) > eXosip.c:1811: error: 'sdp_connection_t' undeclared (first use in this > function) > eXosip.c:1811: error: 'conn' undeclared (first use in this function) > eXosip.c:1812: error: 'sdp_media_t' undeclared (first use in this function) > eXosip.c:1812: error: 'med' undeclared (first use in this function) > eXosip.c:1820: error: expected expression before ')' token > eXosip.c:1831: error: expected expression before ')' token > eXosip.c:1876: error: 'old_sdp' undeclared (first use in this function) > eXosip.c:1876: error: 'eXosip_call_t' has no member named 'c_ctx' > eXosip.c:1878: error: 'eXosip_call_t' has no member named 'c_ctx' > eXosip.c: In function 'eXosip_find_authentication_info': > eXosip.c:2152: error: 'eXosip_t' has no member named 'authinfos' > eXosip.c: In function 'eXosip_clear_authentication_info': > eXosip.c:2177: error: 'eXosip_t' has no member named 'authinfos' > eXosip.c:2178: error: 'eXosip_t' has no member named 'authinfos' > eXosip.c:2180: error: 'eXosip_t' has no member named 'authinfos' > eXosip.c:2180: error: 'eXosip_t' has no member named 'authinfos' > eXosip.c:2180: error: 'eXosip_t' has no member named 'authinfos' > eXosip.c: In function 'eXosip_add_authentication_info': > eXosip.c:2214: error: 'eXosip_t' has no member named 'authinfos' > eXosip.c:2214: error: 'eXosip_t' has no member named 'authinfos' > eXosip.c:2214: error: 'eXosip_t' has no member named 'authinfos' > eXosip.c:2214: error: 'eXosip_t' has no member named 'authinfos' > eXosip.c: In function 'eXosip_add_authentication_information': > eXosip.c:2262: error: incompatible type for argument 1 of 'osip_list_add' > eXosip.c:2292: error: incompatible type for argument 1 of 'osip_list_add' > eXosip.c: In function 'eXosip_update_top_via': > eXosip.c:2313: error: incompatible type for argument 1 of 'osip_list_get' > eXosip.c:2316: error: incompatible type for argument 1 of > 'osip_list_remove' eXosip.c:2323: error: 'eXosip_t' has no member named > 'ip_family' > eXosip.c:2334: error: 'eXosip_t' has no member named 'nat_type' > eXosip.c:2337: error: 'eXosip_t' has no member named 'nat_type' > eXosip.c:2346: error: incompatible type for argument 1 of 'osip_list_add' > eXosip.c: In function 'eXosip_register': > eXosip.c:2421: error: incompatible type for argument 1 of 'osip_list_get' > eXosip.c:2424: error: incompatible type for argument 1 of > 'osip_list_remove' eXosip.c:2426: error: incompatible type for argument 1 > of 'osip_list_get' eXosip.c:2429: error: incompatible type for argument 1 > of 'osip_list_get' eXosip.c:2432: error: incompatible type for argument 1 > of 'osip_list_remove' eXosip.c:2434: error: incompatible type for argument > 1 of 'osip_list_get' eXosip.c: In function 'eXosip_guess_contact_uri': > eXosip.c:3141: error: 'eXosip_t' has no member named 'ip_family' > eXosip.c:3151: error: 'eXosip_t' has no member named 'j_firewall_ip' > eXosip.c:3157: error: 'eXosip_t' has no member named 'j_firewall_ip' > eXosip.c:3160: error: 'eXosip_t' has no member named 'j_firewall_ip' > eXosip.c: In function 'eXosip_set_answer_contact': > eXosip.c:3191: error: 'eXosip_t' has no member named 'answer_contact' > eXosip.c:3191: error: 'eXosip_t' has no member named 'answer_contact' > make[2]: *** [eXosip.lo] Error 1 > make[2]: Leaving directory > `/local/Applications/Linphone/linphone-1.5.1/exosip' > make[1]: *** [all-recursive] Error 1 > make[1]: Leaving directory `/local/Applications/Linphone/linphone-1.5.1' > make: *** [all] Error 2 _______________________________________________ Linphone-users mailing list [email protected] http://lists.nongnu.org/mailman/listinfo/linphone-users
