[Freeswitch-users] mod_gsmopen requires spandsp

Giovanni Maruzzelli gmaruzz at gmail.com
Mon May 14 12:44:20 MSD 2012


yes, it requires libspandsp, maybe the Makefile it's not yet tweaked
to build the library automatically.

So, please first build mod_spandsp, then mod_gsmopen.

We'll fixx the Makefile soon, sorry for the inconvenience.

-giovanni

On Mon, May 14, 2012 at 9:30 AM, Chris Mylonas <chris at opencsta.org> wrote:
> Hi FS List,
>
> FYI - as a shortcut to building my freeswitch, I skip spandsp - but it looks
> like this mod_gsmopen wants it in there.
>
>
> [root at space build]# cd /usr/src/freeswitch/src/mod/endpoints/mod_gsmopen/
> [root at space mod_gsmopen]# make clean
> [root at space mod_gsmopen]# make install
> Compiling gsmopen_protocol.cpp...
> Compiling
> /usr/src/freeswitch/src/mod/endpoints/mod_gsmopen/mod_gsmopen.cpp...
> mkdir .libs
> Compiling /usr/src/freeswitch/src/mod/endpoints/mod_gsmopen/mod_gsmopen.cpp
> ...
> Creating mod_gsmopen.so...
> /usr/bin/ld: cannot find -lspandsp
> collect2: ld returned 1 exit status
> g++ -I../../../../libs/spandsp/src -I../../../..//libs/tiff-3.8.2/libtiff
> -DGSMOPEN_C_VER=\"44fd0de\" -DMODGSMOPEN_C_VER=\"44fd0de\"
> -I/usr/src/freeswitch/libs/curl/include -I/usr/src/freeswitch/src/include
> -I/usr/src/freeswitch/src/include -I/usr/src/freeswitch/libs/libteletone/src
> -fPIC -fvisibility=hidden -DSWITCH_API_VISIBILITY=1 -DHAVE_VISIBILITY=1 -g
> -O2 -D_GNU_SOURCE -shared -o .libs/mod_gsmopen.so -shared -Wl,-x
> .libs/mod_gsmopen.o gsmopen_protocol.o  -lm
> /usr/src/freeswitch/.libs/libfreeswitch.so
> -L/usr/src/freeswitch/libs/apr-util/xml/expat/lib
> /usr/src/freeswitch/libs/apr-util/xml/expat/lib/.libs/libexpat.a
> /usr/src/freeswitch/libs/apr/.libs/libapr-1.a -luuid -lpthread
> -L/usr/src/freeswitch/libs/srtp -L/usr/kerberos/lib -lcrypt -lrt -lssl
> -lcrypto -ldl -lz -lncurses -ljpeg -L/usr/src/freeswitch/libs/spandsp/src
> -lspandsp -lctb-0.16 -lgsmme   -Wl,--rpath -Wl,/usr/local/freeswitch/lib
> -Wl,--rpath -Wl,/usr/local/freeswitch/mod
> make[1]: *** [mod_gsmopen.so] Error 1
> make: *** [install] Error 1
>
>
>
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
>
> 
> 
>
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://wiki.freeswitch.org
> http://www.cluecon.com
>
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
>



-- 
Sincerely,

Giovanni Maruzzelli
Cell : +39-347-2665618



Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users mailing list