<div dir="ltr"><div>Sure i have added to app <depend>fftw3</depend><br>without that it not compile at all<br></div>issue now: it compile, but not load module.<br><div><div><div class="gmail_extra"><div class="gmail_quote">
2013/11/26 alexander merkulov <span dir="ltr"><<a href="mailto:arheops@gmail.com" target="_blank">arheops@gmail.com</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<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" target="_blank">fftw.org</a> with<br>
./configure --enable-shared<br><br><br><br>Added to <a href="http://configure.ac" target="_blank">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" target="_blank">menuselect-deps.in</a>:<br>------------------------------------------<br>FFTW3=@PBX_FFTW3@<br>
------------------------------------------<br>
<br><br>Added to <a href="http://makeopts.in" target="_blank">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>
</blockquote></div><br></div></div></div></div>