VoIP Mailing List Archives
Mailing list archives for the VoIP community |
|
View previous topic :: View next topic |
Author |
Message |
max.bridgewater at gma... Guest
|
Posted: Sun Aug 30, 2009 12:54 pm Post subject: [Freeswitch-users] Troubles build with mod_cepstral |
|
|
Hi,
I was trying to build freeswitch with cepstral enabled. Here is the procdure i am following:
http://wiki.freeswitch.org/wiki/Mod_cepstral#Can_I_use_a_16khz_.22desktop_voice.22.3F
Unfortunately, the build fails as show in the log message hereunder. In a previous thread, Brian says that the SDK is needed. Yet on the above wiki page, it is said that the SDK is not needed.
Any suggestion?
Max.
Compiling mod_cepstral.c ...
Creating mod_cepstral.so...
/usr/bin/ld: skipping incompatible /opt/swift/lib/libswift.so when searching for -lswift
/usr/bin/ld: cannot find -lswift
collect2: ld returned 1 exit status
gcc -w -I/home/installs/freeswitch/src/include -I/home/installs/freeswitch/libs/libteletone/src -fPIC -Werror -fvisibility=hidden -DSWITCH_API_VISIBILITY=1 -DHAVE_VISIBILITY=1 -g -ggdb -g -O2 -Wall -std=c99 -pedantic -D_GNU_SOURCE -I/include -I/opt/swift/include -shared -o .libs/mod_cepstral.so -shared -Wl,-x .libs/mod_cepstral.o -L/lib -L/opt/swift/lib -lswift -lm /home/installs/freeswitch/.libs/libfreeswitch.so -L/home/installs/freeswitch/libs/apr-util/xml/expat/lib /home/installs/freeswitch/libs/apr-util/xml/expat/lib/.libs/libexpat.a /home/installs/freeswitch/libs/apr/.libs/libapr-1.a -luuid -lrt -lcrypt -lpthread -L/home/installs/freeswitch/libs/srtp -L/usr/kerberos/lib64 -lssl -lcrypto -ldl -lz -lncurses -Wl,--rpath -Wl,/usr/local/freeswitch/lib -Wl,--rpath -Wl,/usr/local/freeswitch/mod
make[5]: *** [mod_cepstral.so] Error 1
make[4]: *** [all] Error 1
make[3]: *** [mod_cepstral-all] Error 1
make[2]: *** [all-recursive] Error 1
Making all in build
+-------- FreeSWITCH Build Complete -----------+
+ FreeSWITCH has been successfully built. +
+ Install by running: +
+ +
+ make install +
+----------------------------------------------+
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2 |
|
Back to top |
|
|
brian at freeswitch.org Guest
|
Posted: Sun Aug 30, 2009 1:02 pm Post subject: [Freeswitch-users] Troubles build with mod_cepstral |
|
|
You still have to have the voices installed... the SDK comes with each voice for Linux ... for windows you have to have the SDK...
/b
On Aug 30, 2009, at 12:47 PM, Max Bridgewater wrote:
|
|
Back to top |
|
|
max.bridgewater at gma... Guest
|
Posted: Sun Aug 30, 2009 1:17 pm Post subject: [Freeswitch-users] Troubles build with mod_cepstral |
|
|
OK, it's bad and good news. It's good news because it's reassuring that i don't need a separate SDK. Its bad news because i already installed a voice (Jean-Pierre) following the procedure describe on the wiki. I will now delete it and install the Allison voice to see if there is any difference. Will let ya know.
On Sun, Aug 30, 2009 at 1:58 PM, Brian West <brian@freeswitch.org (brian@freeswitch.org)> wrote:
|
|
Back to top |
|
|
max.bridgewater at gma... Guest
|
Posted: Sun Aug 30, 2009 1:39 pm Post subject: [Freeswitch-users] Troubles build with mod_cepstral |
|
|
Even more bad news. I downloaded the Allison voice and have the same error message. Any idea what this means?
mkdir .libs
Compiling mod_cepstral.c ...
Creating mod_cepstral.so...
/usr/bin/ld: skipping incompatible /opt/swift/lib/libswift.so when searching for -lswift
/usr/bin/ld: cannot find -lswift
collect2: ld returned 1 exit status
gcc -w -I/home/installs/freeswitch/src/include -I/home/installs/freeswitch/libs/libteletone/src -fPIC -Werror -fvisibility=hidden -DSWITCH_API_VISIBILITY=1 -DHAVE_VISIBILITY=1 -g -ggdb -g -O2 -Wall -std=c99 -pedantic -D_GNU_SOURCE -I/opt/swift/include -I/opt/swift/include -shared -o .libs/mod_cepstral.so -shared -Wl,-x .libs/mod_cepstral.o -L/opt/swift/lib -lswift -lm /home/installs/freeswitch/.libs/libfreeswitch.so -L/home/installs/freeswitch/libs/apr-util/xml/expat/lib /home/installs/freeswitch/libs/apr-util/xml/expat/lib/.libs/libexpat.a /home/installs/freeswitch/libs/apr/.libs/libapr-1.a -luuid -lrt -lcrypt -lpthread -L/home/installs/freeswitch/libs/srtp -L/usr/kerberos/lib64 -lssl -lcrypto -ldl -lz -lncurses -Wl,--rpath -Wl,/usr/local/freeswitch/lib -Wl,--rpath -Wl,/usr/local/freeswitch/mod
make[5]: *** [mod_cepstral.so] Error 1
make[4]: *** [all] Error 1
make[3]: *** [mod_cepstral-all] Error 1
make[2]: *** [all-recursive] Error 1
Making all in build
+-------- FreeSWITCH Build Complete -----------+
+ FreeSWITCH has been successfully built. +
+ Install by running: +
+ +
+ make install +
+----------------------------------------------+
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2 |
|
Back to top |
|
|
brian at freeswitch.org Guest
|
Posted: Sun Aug 30, 2009 1:40 pm Post subject: [Freeswitch-users] Troubles build with mod_cepstral |
|
|
You also failed to read this:
http://wiki.freeswitch.org/wiki/Mod_cepstral#libswift.so.4:_cannot_open_shared_object_file:_No_such_file_or_directory
You have to add the directory to your ld.so.conf so it can find -lswift.
/b
On Aug 30, 2009, at 1:09 PM, Max Bridgewater wrote:
|
|
Back to top |
|
|
brian at freeswitch.org Guest
|
|
Back to top |
|
|
max.bridgewater at gma... Guest
|
Posted: Sun Aug 30, 2009 2:04 pm Post subject: [Freeswitch-users] Troubles build with mod_cepstral |
|
|
Please bear with me. Here is the content of my /etc/ld.so.conf:
include ld.so.conf.d/*.conf
/opt/swift/lib
And when i do "ldconfig -p | grep swift" , i get the following:
libswift.so.5 (libc6) => /opt/swift/lib/libswift.so.5
libswift.so (libc6) => /opt/swift/lib/libswift.so
libceplex_us.so.5 (libc6) => /opt/swift/lib/libceplex_us.so.5
libceplex_us.so (libc6) => /opt/swift/lib/libceplex_us.so
libceplang_en.so.5 (libc6) => /opt/swift/lib/libceplang_en.so.5
libceplang_en.so (libc6) => /opt/swift/lib/libceplang_en.so
So, can it be that Freeswitch is looking for libswift.so.4 instead of libswift.so.5 (as the first line of the wiki page is actually saying)? If so, where do i get this 4.x version? I can't find it in on cepstral site.
Max. |
|
Back to top |
|
|
brian at freeswitch.org Guest
|
Posted: Sun Aug 30, 2009 2:16 pm Post subject: [Freeswitch-users] Troubles build with mod_cepstral |
|
|
make sure you run ldconfig after you add the line then try to compile
it again.
/b
On Aug 30, 2009, at 1:59 PM, Max Bridgewater wrote:
Quote: | Please bear with me. Here is the content of my /etc/ld.so.conf:
include ld.so.conf.d/*.conf
/opt/swift/lib
|
_______________________________________________
FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org |
|
Back to top |
|
|
pete at privateconnect... Guest
|
Posted: Sun Aug 30, 2009 2:40 pm Post subject: [Freeswitch-users] Troubles build with mod_cepstral |
|
|
I received a similar error trying to compile cepstral on a 64-bit OS. I don't think Cepstral supports 64-bit, as the SDK is 32-bit.
-pete
Quote: | -------- Original Message --------
Subject: Re: [Freeswitch-users] Troubles build with mod_cepstral
From: Max Bridgewater <max.bridgewater@gmail.com>
Date: Sun, August 30, 2009 11:33 am
To: freeswitch-users@lists.freeswitch.org
Even more bad news. I downloaded the Allison voice and have the same error message. Any idea what this means?
mkdir .libs
Compiling mod_cepstral.c ...
Creating mod_cepstral.so...
/usr/bin/ld: skipping incompatible /opt/swift/lib/libswift.so when searching for -lswift
/usr/bin/ld: cannot find -lswift
collect2: ld returned 1 exit status
gcc -w -I/home/installs/freeswitch/src/include -I/home/installs/freeswitch/libs/libteletone/src -fPIC -Werror -fvisibility=hidden -DSWITCH_API_VISIBILITY=1 -DHAVE_VISIBILITY=1 -g -ggdb -g -O2 -Wall -std=c99 -pedantic -D_GNU_SOURCE -I/opt/swift/include -I/opt/swift/include -shared -o .libs/mod_cepstral.so -shared -Wl,-x .libs/mod_cepstral.o -L/opt/swift/lib -lswift -lm /home/installs/freeswitch/.libs/libfreeswitch.so -L/home/installs/freeswitch/libs/apr-util/xml/expat/lib /home/installs/freeswitch/libs/apr-util/xml/expat/lib/.libs/libexpat.a /home/installs/freeswitch/libs/apr/.libs/libapr-1.a -luuid -lrt -lcrypt -lpthread -L/home/installs/freeswitch/libs/srtp -L/usr/kerberos/lib64 -lssl -lcrypto -ldl -lz -lncurses -Wl,--rpath -Wl,/usr/local/freeswitch/lib -Wl,--rpath -Wl,/usr/local/freeswitch/mod
make[5]: *** [mod_cepstral.so] Error 1
make[4]: *** [all] Error 1
make[3]: *** [mod_cepstral-all] Error 1
make[2]: *** [all-recursive] Error 1
Making all in build
+-------- FreeSWITCH Build Complete -----------+
+ FreeSWITCH has been successfully built. +
+ Install by running: +
+ +
+ make install +
+----------------------------------------------+
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
_______________________________________________
FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
|
|
|
Back to top |
|
|
mrene_lists at avgs.ca Guest
|
Posted: Sun Aug 30, 2009 2:43 pm Post subject: [Freeswitch-users] Troubles build with mod_cepstral |
|
|
... skipping incompatible /opt/swift/lib/libswift.so when searching for -lswift thats a sign you're trying to link a 64 bits binary with a 32 bits one.
Mathieu Rene
Avant-Garde Solutions Inc
Office: + 1 (514) 664-1044 x100
Cell: +1 (514) 664-1044 x200
mrene@avgs.ca (mrene@avgs.ca)
On 30-Aug-09, at 3:33 PM, Pete Mueller wrote:
Quote: | skipping incompatible /opt/swift/lib/libswift.so when searching for -lswift |
|
|
Back to top |
|
|
brian at freeswitch.org Guest
|
|
Back to top |
|
|
max.bridgewater at gma... Guest
|
Posted: Sun Aug 30, 2009 4:53 pm Post subject: [Freeswitch-users] Troubles build with mod_cepstral |
|
|
Nop, the 64bit cepstral doesn't work either:
Creating mod_cepstral.so...
/usr/bin/ld: skipping incompatible /opt/swift/lib/libswift.so when searching for -lswift
/usr/bin/ld: cannot find -lswift
collect2: ld returned 1 exit status
gcc -w -I/home/installs/freeswitch/src/include -I/home/installs/freeswitch/libs/libteletone/src -fPIC -Werror -fvisibility=hidden -DSWITCH_API_VISIBILITY=1 -DHAVE_VISIBILITY=1 -g -ggdb -g -O2 -Wall -std=c99 -pedantic -D_GNU_SOURCE -I/opt/swift/include -I/opt/swift/include -shared -o .libs/mod_cepstral.so -shared -Wl,-x .libs/mod_cepstral.o -L/opt/swift/lib -lswift -lm /home/installs/freeswitch/.libs/libfreeswitch.so -L/home/installs/freeswitch/libs/apr-util/xml/expat/lib /home/installs/freeswitch/libs/apr-util/xml/expat/lib/.libs/libexpat.a /home/installs/freeswitch/libs/apr/.libs/libapr-1.a -luuid -lrt -lcrypt -lpthread -L/home/installs/freeswitch/libs/srtp -L/usr/kerberos/lib64 -lssl -lcrypto -ldl -lz -lncurses -Wl,--rpath -Wl,/usr/local/freeswitch/lib -Wl,--rpath -Wl,/usr/local/freeswitch/mod
make[5]: *** [mod_cepstral.so] Error 1
make[4]: *** [all] Error 1
make[3]: *** [mod_cepstral-all] Error 1
make[2]: *** [all-recursive] Error 1
Making all in build
+-------- FreeSWITCH Build Complete -----------+
+ FreeSWITCH has been successfully built. +
+ Install by running: +
+ +
+ make install +
+----------------------------------------------+
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2 |
|
Back to top |
|
|
brian at freeswitch.org Guest
|
Posted: Sun Aug 30, 2009 4:57 pm Post subject: [Freeswitch-users] Troubles build with mod_cepstral |
|
|
Make sure you rm -rf /opt/swift then reinstall
/b
On Aug 30, 2009, at 4:49 PM, Max Bridgewater wrote:
Quote: | Nop, the 64bit cepstral doesn't work either:
Creating mod_cepstral.so...
/usr/bin/ld: skipping incompatible /opt/swift/lib/libswift.so when
searching for -lswift
/usr/bin/ld: cannot find -lswift
collect2: ld returned 1 exit status
|
_______________________________________________
FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org |
|
Back to top |
|
|
max.bridgewater at gma... Guest
|
Posted: Mon Aug 31, 2009 11:41 am Post subject: [Freeswitch-users] Troubles build with mod_cepstral |
|
|
I thought i did that before trying. But i tried again and everything works.
Thanks for you unyielding patience.
Max.
On Sun, Aug 30, 2009 at 5:53 PM, Brian West <brian@freeswitch.org (brian@freeswitch.org)> wrote:
|
|
Back to top |
|
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|