<div dir="ltr"><div><div><div>hi<br></div>i am gooing to use libfftw3 library in asterisk application.<br></div><br></div>compilation is ok, but when i am loading module i get error like this:<br><br>dev*CLI> module load app_amdb.so<br>
Unable to load module app_amdb.so<br>Command 'module load app_amdb.so' failed.<br>[Nov 26 07:44:51] WARNING[17342]: loader.c:481 load_dynamic_module: Error loading module 'app_amdb.so': /usr/lib/asterisk/modules/app_amdb.so: undefined symbol: fftw_plan_dft_1d<br>
[Nov 26 07:44:51] WARNING[17342]: loader.c:894 load_resource: Module 'app_amdb.so' could not be loaded.<br>dev*CLI> <br><br><div><br>what i have done so far:<br><br>installed <a href="http://fftw.org">fftw.org</a> with<br>
./configure --enable-shared<br><br><br><br>Added to <a href="http://configure.ac">configure.ac</a>:<br>-------------------------------------------<br>AST_EXT_LIB_SETUP([FFTW3], [FFTW3], [fftw3])<br><br>AST_EXT_LIB_CHECK([FFTW3], [libfftw3], [], [fftw3.h], [-lm -lfftw3])<br>
-------------------------------------------<br><br><br>Added to build_tools/<a href="http://menuselect-deps.in">menuselect-deps.in</a>:<br>------------------------------------------<br>FFTW3=@PBX_FFTW3@<br>------------------------------------------<br>
<br><br>Added to <a href="http://makeopts.in">makeopts.in</a>:<br>------------------------------------------<br>FFTW3_INCLUDE=@FFTW3_INCLUDE@<br>FFTW3_LIB=@FFTW3_LIB@<br>------------------------------------------<br><br><br>
compile via<br><br>./bootstrap.sh<br>./configure --with-fftw3<br>make<br><br></div><div><br></div></div>