Displaying 4 results from an estimated 4 matches for "lceplex_us".
2005 Oct 01
3
Adding Cepstral to Asterisk
...t of the Makefile I was to
add it in so I added it in here:
Towards the top of the file where it talks obsolete programs are commented
out.
And then after the section that compiles voicemail add:
app_cepstral.so: app_cepstral.c
$(CC) -D_GNU_SOURCE -shared -Xlinker -x -o $@ $< -lz -lm -lswift
-lceplex_us -lceplang_en -lz -ldl -L/opt/swift/lib -I/opt/swift/include
Make sure the $(CC) line starts with a tab, not spaces.
I didn't see a lot about voicemail:
app_sql_odbc.so: app_sql_odbc.o
$(CC) $(SOLINK) -o $@ $< -lodbc
app_cepstral.so: app_cepstral.c
$(CC) -D_GNU_SOURCE -sh...
2006 Jan 21
1
Compiling app_cepstral.c into Asterisk - failing
...assume that I put in here without the "#" or maybe "#" isn't a comment?
Then....
and then after the section that compiles voicemail add
app_cepstral.so: app_cepstral.c
$(CC) -D_GNU_SOURCE -shared -Xlinker -x -o $@ $< -lz -lm -lceplex_uk
-lceplex_fr -lswift -lceplex_us -lceplang_en -lceplang_fr -lz -ldl
-L/opt/swift/lib -I/opt/swift/include
Make sure the $(CC) line starts with a tab, not spaces. Note the example
lines above only link against the uk, us and French libraries, if you use
others then you'll need to link against those too/instead. This version a...
2010 Mar 15
0
How to find Asterisk compile time options for building app_swift module
...ild an app_swift module which uses the Cepstral software.
I am compiling it with the following command line
gcc -I/opt/swift/include -g -Wall -D_REENTRANT -D_GNU_SOURCE -fPIC -c
-o app_swift.o app_swift.c
gcc -shared -Xlinker -x -o app_swift.so -L/opt/swift/lib -lswift -lm
-lswift -lceplang_en -lceplex_us app_swift.o
When I try to load it into Asterisk it gives the following error.
[Feb 5 12:12:45] WARNING[32425] loader.c: Module 'app_swift.so' was not
compiled with the same compile-time options as this version of Asterisk.
[Feb 5 12:12:45] WARNING[32425] loader.c: Module 'app_swift...
2012 Aug 01
1
app_swift 3 and asterisk 1.8.13.0 fails with undefined symbol: swift_port_close
...05:01:01] WARNING[28635]: loader.c:848 load_resource: Module
'app_swift.so' could not be loaded.
telephonics1*CLI>
I suspect an issue when linking app_swift.so. Here is how the module is
linked:
gcc -shared -Xlinker -x -o app_swift.so -L/opt/swift/lib -L/usr/lib -lswift
-lceplang_en -lceplex_us app_swift.o
However, ldd shows the module doesn't list libswift.so as a dependency:
# ldd app_swift.so
linux-vdso.so.1 => (0x00007fff2bbff000)
libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f7cb005e000)
/lib64/ld-linux-x86-64.so.2 (0x00007f7cb0631000)
It appears the libswift.so...