Hello,
Have anyone succeded to compile and use app_conference?
I try to compile but end up with this:
gcc -pipe -Wall -Wmissing-prototypes -Wmissing-declarations -g -I/usr/local/include/asterisk/ -D_REENTRANT -D_GNU_SOURCE -O3 -ffast-math -funroll-all-loops -fprefetch-loop-arrays -fsingle-precision-constant -march=pentium3 -msse -mfpmath=sse,387 -DCRYPTO -DAPP_CONFERENCE_DEBUG -Ilibspeex -DSILDET=2 -c -o app_conference.o app_conference.c
In file included from app_conference.c:19:
app_conference.h:25:26: asterisk/pbx.h: No such file or directory
app_conference.h:26:29: asterisk/module.h: No such file or directory
app_conference.h:27:29: asterisk/logger.h: No such file or directory
app_conference.h:28:27: asterisk/lock.h: No such file or directory
app_conference.h:29:28: asterisk/frame.h: No such file or directory
app_conference.h:30:30: asterisk/manager.h: No such file or directory
app_conference.h:31:26: asterisk/dsp.h: No such file or directory
app_conference.h:32:32: asterisk/translate.h: No such file or directory
app_conference.h:33:30: asterisk/channel.h: No such file or directory
app_conference.h:34:27: asterisk/file.h: No such file or directory
app_conference.h:35:26: asterisk/cli.h: No such file or directory
app_conference.h:36:28: asterisk/utils.h: No such file or directory
In file included from /usr/include/string.h:49,
from app_conference.h:41,
from app_conference.c:19:
/usr/local/include/asterisk/strings.h:29:33: asterisk/inline_api.h: No such file or directory
/usr/local/include/asterisk/strings.h:30:31: asterisk/compiler.h: No such file or directory
/usr/local/include/asterisk/strings.h:31:29: asterisk/compat.h: No such file or directory
In file included from /usr/include/string.h:49,
from app_conference.h:41,
from app_conference.c:19:
/usr/local/include/asterisk/strings.h:33: error: syntax error before “int”
/usr/local/include/asterisk/strings.h:46: error: syntax error before ‘{’ token
/usr/local/include/asterisk/strings.h:23:1: unterminated #ifndef
In file included from app_conference.h:41,
from app_conference.c:19:
/usr/include/string.h:48:1: unterminated #if
/usr/include/string.h:37:1: unterminated #ifndef
In file included from app_conference.c:19:
app_conference.h:19:1: unterminated #ifndef
gmake: *** [app_conference.o] Error 1
Any help would be appreciated
Kind regards
Johan Wilfer
Previously when I was modifying the Makefile I pointed the includedir to /usr/local/include/asterisk (and that didn’t work)
Now with your help I pointed the includedir to /usr/src/asterisk/include after I downloaded the current source and unpacked it as /usr/src/asterisk.
Hopefully this thread will help others too.
Thanks again.
Acctualy I have never tried to compile app_conferance in linux so I don’t know how the procedure.
But on FreeBSD I had to do this:
Download the asterisk source to /usr/src/asterisk
Download the app_conferance to /usr/src/app_conferance
Modify the source / header files according to the wiki.
Modify the Makefile and change the includedir, there are also other dirs-options that could be changed, but I did only use this one because:
Run gmake in app_conferance
And last I did not trust the gmake install, so I copied the app_conference.so file manualy to /usr/local/lib/asterisk/modules/
This dir is probably FreeBSD specific, for linux users: copy it to the right modules directory.
Works great.
Now I will try to replace meetme with it.