[Re-devel] baresip library

usha aradhya usha.aradhya7101 at gmail.com
Fri Nov 25 14:51:20 CET 2016


Hi All,

I'm trying to use libbaresip library by having another shared library of
test folder (inside baresip/test ). But finding these errors while loading
libraries

dl: mod: /usr/local/lib/baresip/modules/stdio.so
(/usr/local/lib/baresip/modules/stdio.so: undefined symbol: ui_unregister)
module stdio.so: No such file or directory
dl: mod: /usr/local/lib/baresip/modules/g711.so
(/usr/local/lib/baresip/modules/g711.so: undefined symbol: g711_u2l)
module g711.so: No such file or directory
dl: mod: /usr/local/lib/baresip/modules/vumeter.so
(/usr/local/lib/baresip/modules/vumeter.so: undefined symbol:
aufilt_register)
module vumeter.so: No such file or directory
dl: mod: /usr/local/lib/baresip/modules/selfview.so
(/usr/local/lib/baresip/modules/selfview.so: undefined symbol:
conf_get_vidsz)
module selfview.so: No such file or directory
dl: mod: /usr/local/lib/baresip/modules/stun.so
(/usr/local/lib/baresip/modules/stun.so: undefined symbol: mnat_register)
module stun.so: No such file or directory
dl: mod: /usr/local/lib/baresip/modules/turn.so
(/usr/local/lib/baresip/modules/turn.so: undefined symbol: mnat_register)
module turn.so: No such file or directory
dl: mod: /usr/local/lib/baresip/modules/ice.so
(/usr/local/lib/baresip/modules/ice.so: undefined symbol: warning)
module ice.so: No such file or directory
dl: mod: /usr/local/lib/baresip/modules/uuid.so
(/usr/local/lib/baresip/modules/uuid.so: undefined symbol: warning)
module uuid.so: No such file or directory
dl: mod: /usr/local/lib/baresip/modules/account.so
(/usr/local/lib/baresip/modules/account.so: undefined symbol: warning)
module account.so: No such file or directory
dl: mod: /usr/local/lib/baresip/modules/auloop.so
(/usr/local/lib/baresip/modules/auloop.so: undefined symbol: warning)
module auloop.so: No such file or directory
dl: mod: /usr/local/lib/baresip/modules/contact.so
(/usr/local/lib/baresip/modules/contact.so: undefined symbol: warning)
module contact.so: No such file or directory
dl: mod: /usr/local/lib/baresip/modules/debug_cmd.so
(/usr/local/lib/baresip/modules/debug_cmd.so: undefined symbol:
ua_print_sip_status)
module debug_cmd.so: No such file or directory
dl: mod: /usr/local/lib/baresip/modules/menu.so
(/usr/local/lib/baresip/modules/menu.so: undefined symbol: call_debug)
module menu.so: No such file or directory
dl: mod: /usr/local/lib/baresip/modules/vidloop.so
(/usr/local/lib/baresip/modules/vidloop.so: undefined symbol: vidfilt_list)
module vidloop.so: No such file or directory

can someone please help on this. I have done make and make install on re
and rem and baresip folder...... i could see all these .so been place in
/usr/local/lib/baresip/modules but still unable to find and undefined symbol

cd build-x86_64/test/

gcc -fPIC -rdynamic -shared -o libtestwrapper.so -I/../../include/ main.o
test_call.o test_ua.o test_cmd.o test.o test_net.o test_contact.o
test_mos.o test_wrappernew.o sip/test_sipsrv.o sip/test_aor.o
sip/test_auth.o sip/test_domain.o sip/test_location.o sip/test_user.o
mock/test_dnssrv.o mock/test_mock_ausrc.o -ldl -lresolv -L../../ -lbaresip
-lre -L/usr/local/lib -lrem -L/usr/lib

I have created a shared library by using only those files which is required
for me.

if i do ldd of libtestwrapper.so i see these are linked

linux-vdso.so.1 =>  (0x00007ffca7df0000)
libbaresip.so => /usr/local/lib/libbaresip.so (0x00007f9dad42c000)
libre.so => /usr/local/lib/libre.so (0x00007f9dad1ae000)
libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f9dacde8000)
libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0
(0x00007f9dacbca000)
librem.so => /usr/local/lib/librem.so (0x00007f9dac9bc000)
libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007f9dac7b7000)
libresolv.so.2 => /lib/x86_64-linux-gnu/libresolv.so.2 (0x00007f9dac59c000)
/lib64/ld-linux-x86-64.so.2 (0x000055baecd3a000)
libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007f9dac296000)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.creytiv.com/pipermail/re-devel/attachments/20161125/957e8b87/attachment.html>
-------------- next part --------------
_______________________________________________
Re-devel mailing list
Re-devel at lists.creytiv.com
http://lists.creytiv.com/mailman/listinfo/re-devel


More information about the Re-devel mailing list