openmason / webrtc2sip

Automatically exported from code.google.com/p/webrtc2sip
0 stars 0 forks source link

webrtc2sip fails to build: undefined references #168

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.build doubango with recommended build option
2. modify doubango make by removing option -DHAVE_CONFIG_H in 
/var/webrtc/doubango/tinyRTP and /var/webrtc/doubango/tinyDAV (otherwise there 
is a problem with libsrtp and build does not work)
3.

What is the expected output? What do you see instead?
Expected: build to work properly
What I see:
mv -f .deps/webrtc2sip-Xcap.Tpo .deps/webrtc2sip-Xcap.Po
g++  -g -O2   -o webrtc2sip webrtc2sip-mp_c2c.o webrtc2sip-mp_engine.o 
webrtc2sip-mp_mail.o webrtc2sip-mp_mediaproxy.o webrtc2sip-mp_mutex.o 
webrtc2sip-mp_net_transport.o webrtc2sip-mp_object.o webrtc2sip-mp_peer.o 
webrtc2sip-mp_proxyplugin.o webrtc2sip-mp_proxyplugin_consumer_audio.o 
webrtc2sip-mp_proxyplugin_consumer_video.o webrtc2sip-mp_proxyplugin_mgr.o 
webrtc2sip-mp_proxyplugin_producer_audio.o 
webrtc2sip-mp_proxyplugin_producer_video.o webrtc2sip-mp_session.o 
webrtc2sip-mp_session_av.o webrtc2sip-mp_wrap.o webrtc2sip-mp_db_sqlite.o 
webrtc2sip-sqlite3.o webrtc2sip-mp_db.o webrtc2sip-mp_db_model.o 
webrtc2sip-jsoncpp.o webrtc2sip-ActionConfig.o webrtc2sip-AudioResampler.o 
webrtc2sip-DDebug.o webrtc2sip-MediaContent.o webrtc2sip-MediaSessionMgr.o 
webrtc2sip-Msrp.o webrtc2sip-ProxyConsumer.o webrtc2sip-ProxyPluginMgr.o 
webrtc2sip-ProxyProducer.o webrtc2sip-SafeObject.o webrtc2sip-SipCallback.o 
webrtc2sip-SipEvent.o webrtc2sip-SipMessage.o webrtc2sip-SipSession.o 
webrtc2sip-SipStack.o webrtc2sip-SipUri.o webrtc2sip-SMSEncoder.o 
webrtc2sip-Xcap.o -L/usr/lib -L/usr/lib -L/usr/local/lib -ltinySAK -ltinyNET 
-ltinyHTTP -ltinySIP -ltinyDAV -ltinySDP -ltinyBFCP -ltinySIGCOMP -ltinyMEDIA 
-ltinyXCAP -ltinySMS -ltinyMSRP -ltinyRTP -ltinyIPSec -lxml2 -lpthread
/usr/local/lib/libtinyDAV.so: undefined reference to 
`tdav_speex_denoise_plugin_def_t'
/usr/local/lib/libtinyDAV.so: undefined reference to 
`tdav_codec_opus_plugin_def_t'
/usr/local/lib/libtinyDAV.so: undefined reference to 
`tdav_speex_resampler_plugin_def_t'
/usr/local/lib/libtinyDAV.so: undefined reference to 
`tdav_consumer_oss_plugin_def_t'
/usr/local/lib/libtinyDAV.so: undefined reference to 
`tdav_codec_vp8_plugin_def_t'
/usr/local/lib/libtinyDAV.so: undefined reference to 
`tdav_speex_jitterbuffer_plugin_def_t'
/usr/local/lib/libtinyDAV.so: undefined reference to 
`tdav_converter_video_ffmpeg_plugin_def_t'
/usr/local/lib/libtinyDAV.so: undefined reference to 
`tdav_codec_theora_plugin_def_t'
/usr/local/lib/libtinyDAV.so: undefined reference to 
`tdav_codec_h263_plugin_def_t'
/usr/local/lib/libtinyDAV.so: undefined reference to 
`tdav_codec_speex_nb_plugin_def_t'
/usr/local/lib/libtinyDAV.so: undefined reference to 
`tdav_codec_h263p_plugin_def_t'
/usr/local/lib/libtinyDAV.so: undefined reference to 
`tdav_codec_h261_plugin_def_t'
/usr/local/lib/libtinyDAV.so: undefined reference to 
`tdav_codec_speex_uwb_plugin_def_t'
/usr/local/lib/libtinyDAV.so: undefined reference to 
`tdav_codec_ffmpeg_theora_is_supported'
/usr/local/lib/libtinyDAV.so: undefined reference to 
`tdav_codec_h264_base_plugin_def_t'
/usr/local/lib/libtinyDAV.so: undefined reference to 
`tdav_codec_h263pp_plugin_def_t'
/usr/local/lib/libtinyDAV.so: undefined reference to 
`tdav_codec_speex_wb_plugin_def_t'
/usr/local/lib/libtinyDAV.so: undefined reference to 
`tdav_codec_h264_main_plugin_def_t'
/usr/local/lib/libtinyDAV.so: undefined reference to 
`tdav_producer_video_v4l2_plugin_def_t'
/usr/local/lib/libtinyDAV.so: undefined reference to 
`tdav_codec_ffmpeg_mp4ves_is_supported'
/usr/local/lib/libtinyDAV.so: undefined reference to 
`tdav_codec_ffmpeg_h264_is_supported'
/usr/local/lib/libtinyNET.so: undefined reference to `tsk_list_clone'
/usr/local/lib/libtinyDAV.so: undefined reference to 
`tdav_producer_screencast_v4l2_plugin_def_t'
/usr/local/lib/libtinyDAV.so: undefined reference to 
`tdav_producer_oss_plugin_def_t'
/usr/local/lib/libtinyDAV.so: undefined reference to 
`tdav_codec_mp4ves_plugin_def_t'

What version of the product are you using? On what operating system?
checkout http://doubango.googlecode.com/svn/branches/2.0/doubango doubango
svn co http://webrtc2sip.googlecode.com/svn/trunk/ webrtc2sip
CentOS release 6.6 x86_64

Please provide server logs with DEBUG level equal to INFO

Please provide browser logs

Original issue reported on code.google.com by ced...@telcoinabox.com on 25 Nov 2014 at 12:07

GoogleCodeExporter commented 9 years ago
I rebuild libsrtp adding changes from this commit:
https://github.com/cisco/libsrtp/commit/0db0033d9f4c1b8aefc96aabb167b89b084edd48

Then rebuild doubango with -DHAVE_CONFIG_H.

I have now only one undefined reference to:
mv -f .deps/webrtc2sip-Xcap.Tpo .deps/webrtc2sip-Xcap.Po
g++  -g -O2   -o webrtc2sip webrtc2sip-mp_c2c.o webrtc2sip-mp_engine.o 
webrtc2sip-mp_mail.o webrtc2sip-mp_mediaproxy.o webrtc2sip-mp_mutex.o 
webrtc2sip-mp_net_transport.o webrtc2sip-mp_object.o webrtc2sip-mp_peer.o 
webrtc2sip-mp_proxyplugin.o webrtc2sip-mp_proxyplugin_consumer_audio.o 
webrtc2sip-mp_proxyplugin_consumer_video.o webrtc2sip-mp_proxyplugin_mgr.o 
webrtc2sip-mp_proxyplugin_producer_audio.o 
webrtc2sip-mp_proxyplugin_producer_video.o webrtc2sip-mp_session.o 
webrtc2sip-mp_session_av.o webrtc2sip-mp_wrap.o webrtc2sip-mp_db_sqlite.o 
webrtc2sip-sqlite3.o webrtc2sip-mp_db.o webrtc2sip-mp_db_model.o 
webrtc2sip-jsoncpp.o webrtc2sip-ActionConfig.o webrtc2sip-AudioResampler.o 
webrtc2sip-DDebug.o webrtc2sip-MediaContent.o webrtc2sip-MediaSessionMgr.o 
webrtc2sip-Msrp.o webrtc2sip-ProxyConsumer.o webrtc2sip-ProxyPluginMgr.o 
webrtc2sip-ProxyProducer.o webrtc2sip-SafeObject.o webrtc2sip-SipCallback.o 
webrtc2sip-SipEvent.o webrtc2sip-SipMessage.o webrtc2sip-SipSession.o 
webrtc2sip-SipStack.o webrtc2sip-SipUri.o webrtc2sip-SMSEncoder.o 
webrtc2sip-Xcap.o -L/usr/lib -L/usr/lib -L/usr/local/lib -ltinySAK -ltinyNET 
-ltinyHTTP -ltinySIP -ltinyDAV -ltinySDP -ltinyBFCP -ltinySIGCOMP -ltinyMEDIA 
-ltinyXCAP -ltinySMS -ltinyMSRP -ltinyRTP -ltinyIPSec -lxml2 -lpthread
/usr/local/lib/libtinyNET.so: undefined reference to `tsk_list_clone'

Original comment by ced...@telcoinabox.com on 25 Nov 2014 at 12:36

GoogleCodeExporter commented 9 years ago
You don't need to change anything.
You should update Doubango to the latest version, run "autogen.sh" then 
"./configure"

Original comment by boss...@yahoo.fr on 25 Nov 2014 at 12:40

GoogleCodeExporter commented 9 years ago
Thanks !!!

Original comment by ced...@telcoinabox.com on 25 Nov 2014 at 12:49