You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I made a mistake as I copy the espeak.c file in asterisk/apps directory. If I compile from src directory I see in ldd that all libraries are now well linked. The problem is that asterisk refuse to load the module, I get Module 'app_espeak.so' was not compiled with the same compile-time options as this version of Asterisk.
Any chance to get a positive result ?
modify app_espeak.c by adding before #include "asterisk.h"
#define AST_MODULE_SELF_SYM __internal_app_espeak_self
comment #define AST_MODULE "eSpeak"
In apps/Makefile add at the end
app_espeak.o: app_espeak.c
CFLAGS+=-fPIC
app_espeak.so: app_espeak.o
LIBS+= -lespeak-ng -lsamplerate
From now it compile without problem with all libraries, tested against asterisk 18.14.0.
But now we also face the second opened bug, it works one time, next tests there is no audio and channel never hang up even with channel request hangup. Only way to destroy it is an asterisk restart
With asterisk-18.10 I get following error when loading the app_espeak.so module from zaf-Asterisk-eSpeak-7431b8d
[2022-02-15 14:11:22] ERROR[1698364]: loader.c:283 module_load_error: Error loading module 'app_espeak': /usr/lib/asterisk/modules/app_espeak.so: undefined symbol: src_short_to_float_array
Daniel
The text was updated successfully, but these errors were encountered: