Hi Abhishek, Any chance that you are using different version of header files? e.g: include path defined in environment variable pointing to (very) old version of PJSIP? The pjnath might have been modified a lot due to standard/draft updates. BR, nanang On Fri, Oct 8, 2010 at 8:22 AM, Abhishek Bhattacharya <abhat002 at cis.fiu.edu> wrote: > Hello, > > I am trying to build pjproject in my Ubuntu machine but facing some problems! > I have done ./configure, make dep and then make gives error. > I am providing the error statements which are generated from ice_session.c > as follows: > > ../src/pjnath/ice_session.c:236: error: incompatible type for argument 2 > of ?pj_stun_session_set_credential? > ../src/pjnath/ice_session.c:236: error: too few arguments to function > ?pj_stun_session_set_credential? > ../src/pjnath/ice_session.c:547: error: conflicting types for > ?pj_ice_sess_add_cand? > ../src/pjnath/ice_session.c:993: error: ?pj_ice_sess? has no member named > ?completion_timer? > ../src/pjnath/ice_session.c:994: error: ?pj_ice_sess? has no member named > ?completion_timer? > ../src/pjnath/ice_session.c:995: error: ?pj_ice_sess? has no member named > ?completion_timer? > ../src/pjnath/ice_session.c:998: error: ?pj_ice_sess? has no member named > ?completion_timer? > ../src/pjnath/ice_session.c:1399: error: ?pj_stun_tx_data? has no member > named ?user_data? > ../src/pjnath/ice_session.c:1433: error: too few arguments to function > ?pj_stun_session_send_msg? > ./src/pjnath/ice_session.c:1646: error: too few arguments to function > ?ice->cb.on_tx_pkt? > ./src/pjnath/ice_session.c:1658: error: ?pj_stun_tx_data? has no member > named ?user_data? > ./src/pjnath/ice_session.c:1921: error: too few arguments to function > ?pj_stun_session_send_msg? > ../src/pjnath/ice_session.c:1990: error: too few arguments to function > ?pj_stun_session_send_msg? > ../src/pjnath/ice_session.c:2006: error: too few arguments to function > ?pj_stun_session_send_msg? > ./src/pjnath/ice_session.c:2032: error: too few arguments to function > ?pj_stun_session_send_msg? > ../src/pjnath/ice_session.c:2325: error: too few arguments to function > ?ice->cb.on_tx_pkt? > ../src/pjnath/ice_session.c:2333: error: conflicting types for > ?pj_ice_sess_on_rx_pkt? > ./src/pjnath/ice_session.c:2359: error: too few arguments to function > ?pj_stun_session_on_rx_pkt? > ../src/pjnath/ice_session.c:2368: error: too few arguments to function > ?ice->cb.on_rx_data? > > Apart from this there are also many warnings that are generated from the > same file which I have not provided here. > It will be very helpful if anyone can help me for solving this issue! > Where from these error are generated and how to compile successfully! > > Your help is highly appreciated! > Thanks, > Abhishek > > > _______________________________________________ > Visit our blog: http://blog.pjsip.org > > pjsip mailing list > pjsip at lists.pjsip.org > http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org >