Joseph
2005-Mar-20 14:40 UTC
[Asterisk-Users] app_nv_backgrounddetect - how to make module
How to compile additional module to asterisk? I have app_nv_backgrounddetect.c file and followed instructions below, but "make" did not generate app_nv_backgrounddetect.so or app_nv_backgrounddetect.o (1) Drop the code in your /usr/src/asterisk/apps directory (2) Edit the Makefile in the apps directory. Add the following line: APPS+=app_nv_backgrounddetect.so (3) Go to /usr/src/asterisk and run "make", then run "make install" I've noticed that in .../apps directory every module has three files file_name.c file_name.o file_name.so How do I get the last two if I have the first one? -- #Joseph
Vladyslav
2005-Mar-21 03:02 UTC
[Asterisk-Users] app_nv_backgrounddetect - how to make module
On Sun, 2005-03-20 at 23:40, Joseph wrote:> How to compile additional module to asterisk? > > I have app_nv_backgrounddetect.c file and followed instructions below, > but "make" did not generate app_nv_backgrounddetect.so or > app_nv_backgrounddetect.o > > (1) Drop the code in your /usr/src/asterisk/apps directory > (2) Edit the Makefile in the apps directory. Add the following line: > APPS+=app_nv_backgrounddetect.so > (3) Go to /usr/src/asterisk and run "make", then run "make install" > > I've noticed that in .../apps directory every module has three files > file_name.c > file_name.o > file_name.so > > How do I get the last two if I have the first one?When U have done first two steps U need just get back to /usr/src/asterisk/ and execute: make that U will have those .so files Everything is pretty clear described on wiki http://voip-info.org/tiki-index.php?page=NVBackgroundDetect