yuanjianjiang / webrtc2sip

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

Webrtc2sip on Ubuntu 14.04 not working #174

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
I have got the following error while installing webrtc2sip. I have followed 
http://linux.autostatic.com/installing-webrtc2sip-on-ubuntu-1204.

I am getting the following message while installing. Please help me on this.

make -j `getconf _NPROCESSORS_ONLN`
make  all-am
make[1]: Entering directory `/usr/local/src/webrtc2sip'
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   
-L/usr/local/lib -ltinyNET   -L/usr/local/lib -ltinyHTTP   -L/usr/local/lib 
-ltinySIP   -L/usr/local/lib -ltinyDAV   -L/usr/local/lib -ltinySDP   
-L/usr/local/lib -ltinyBFCP   -L/usr/local/lib -ltinySIGCOMP   -L/usr/local/lib 
-ltinyMEDIA   -L/usr/local/lib -ltinyXCAP   -L/usr/local/lib -ltinySMS   
-L/usr/local/lib -ltinyMSRP   -L/usr/local/lib -ltinyRTP   -L/usr/local/lib 
-ltinyIPSec   -lxml2 -lpthread -lusb-1.0 -l pthread
/usr/bin/ld: webrtc2sip-sqlite3.o: undefined reference to symbol 
'dlclose@@GLIBC_2.2.5'
//lib/x86_64-linux-gnu/libdl.so.2: error adding symbols: DSO missing from 
command line
collect2: error: ld returned 1 exit status
make[1]: *** [webrtc2sip] Error 1
make[1]: Leaving directory `/usr/local/src/webrtc2sip'
make: *** [all] Error 2

Original issue reported on code.google.com by info.vip...@gmail.com on 16 Jan 2015 at 7:47

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
Hi,
I've attached -ldl at the end of webrtc2sip_LDADD definition in the Makefile 
and now everything is all right.

Original comment by mszaj...@gmail.com on 23 Mar 2015 at 10:30

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
Can you plz guide a bit on how to enter '-1d1' in Makefile?

Here is the error i'm getting 

In file included from mp_net_transport.h:24:0,
                 from mp_c2c.h:23,
                 from mp_c2c.cc:19:
mp_common.h:25:20: fatal error: Common.h: No such file or directory
 #include "Common.h"
                    ^
compilation terminated.
make[1]: *** [webrtc2sip-mp_c2c.o] Error 1
make[1]: Leaving directory `/root/webrtc2sip'
make: *** [all] Error 2

Original comment by qurantea...@gmail.com on 21 Apr 2015 at 3:54

GoogleCodeExporter commented 9 years ago

In file included from mp_net_transport.h:24:0,
                 from mp_c2c.h:23,
                 from mp_c2c.cc:19:
mp_common.h:25:20: fatal error: Common.h: No such file or directory
 #include "Common.h"
                    ^
compilation terminated.
make[1]: *** [webrtc2sip-mp_c2c.o] Error 1
make[1]: Leaving directory `/root/webrtc2sip'
make: *** [all] Error 2

I meet this error too

Original comment by free...@gmail.com on 9 Jun 2015 at 9:17

GoogleCodeExporter commented 9 years ago
In file included from mp_net_transport.h:24:0,
                 from mp_c2c.h:23,
                 from mp_c2c.cc:19:
mp_common.h:25:20: fatal error: Common.h: No such file or directory
 #include "Common.h"
                    ^
compilation terminated.
make[1]: *** [webrtc2sip-mp_c2c.o] Error 1
make[1]: Leaving directory `/root/webrtc2sip'
make: *** [all] Error 2

Finally,I get the reason.

when i use Tortoise SVN checkout the sources.it always miss tinyWRAP directory.

Original comment by free...@gmail.com on 10 Jun 2015 at 8:25