[Asterisk-Users] app_conference compiling for asterisk

Dominik Simon kannel at dominik.de
Tue Nov 15 04:39:07 MST 2005


Hi all,

today I download the app_conference from iaxclient-dvs. I edit the  
Makefile to my paths:

INSTALL_PREFIX := /usr
INSTALL_MODULES_DIR := $(INSTALL_PREFIX)/lib/asterisk/modules
ASTERISK_INCLUDE_DIR := $(INSTALL_PREFIX)/src/asterisk-1.2.0-rc2/ 
include/asterisk

and then try "make", but I only get the following errors:

[root at obelix app_conference]# make
gcc -pipe -Wall -Wmissing-prototypes -Wmissing-declarations -g  -I/ 
usr/src/asterisk-1.2.0-rc2/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 /usr/include/unistd.h:26,
                  from /usr/include/asterisk/channel.h:89,
                  from /usr/include/asterisk/pbx.h:27,
                  from app_conference.h:23,
                  from app_conference.c:19:
/usr/src/asterisk-1.2.0-rc2/include/asterisk/features.h:44: Fehler:  
syntax error before »AST_LIST_ENTRY«
In file included from /usr/include/bits/types.h:31,
                  from /usr/include/unistd.h:186,
                  from /usr/include/asterisk/channel.h:89,
                  from /usr/include/asterisk/pbx.h:27,
                  from app_conference.h:23,
                  from app_conference.c:19:
/usr/lib/gcc/i386-redhat-linux/4.0.1/include/stddef.h:214: Fehler:  
syntax error before »typedef«
In file included from /usr/include/asterisk/channel.h:89,
                  from /usr/include/asterisk/pbx.h:27,
                  from app_conference.h:23,
                  from app_conference.c:19:
/usr/include/unistd.h:256: Fehler: syntax error before »__THROW«
/usr/include/unistd.h:287: Fehler: syntax error before »__THROW«
/usr/include/unistd.h:313: Fehler: syntax error before »__wur«
/usr/include/unistd.h:319: Fehler: syntax error before »__wur«
/usr/include/unistd.h:370: Fehler: syntax error before »__THROW«
/usr/include/unistd.h:379: Fehler: syntax error before »__THROW«
/usr/include/unistd.h:420: Fehler: syntax error before »__THROW«
/usr/include/unistd.h:435: Fehler: syntax error before »__THROW«
/usr/include/unistd.h:449: Fehler: syntax error before »__THROW«
/usr/include/unistd.h:468: Fehler: syntax error before »__THROW«
/usr/include/unistd.h:471: Fehler: syntax error before »__THROW«
/usr/include/unistd.h:483: Fehler: syntax error before »__THROW«
/usr/include/unistd.h:495: Fehler: syntax error before »__THROW«
/usr/include/unistd.h:500: Fehler: syntax error before »__THROW«
/usr/include/unistd.h:505: Fehler: syntax error before »__THROW«
/usr/include/unistd.h:510: Fehler: syntax error before »__THROW«
/usr/include/unistd.h:516: Fehler: syntax error before »__THROW«
In file included from /usr/include/asterisk/channel.h:89,
                  from /usr/include/asterisk/pbx.h:27,
                  from app_conference.h:23,
                  from app_conference.c:19:
/usr/include/unistd.h:536: Fehler: syntax error before »__THROW«
/usr/include/unistd.h:539: Fehler: syntax error before »__THROW«
/usr/include/unistd.h:542: Fehler: syntax error before »__THROW«
/usr/include/unistd.h:551: Fehler: syntax error before »__THROW«
/usr/include/unistd.h:554: Fehler: syntax error before »__THROW«
/usr/include/unistd.h:559: Fehler: syntax error before »__THROW«
/usr/include/unistd.h:569: Fehler: syntax error before »__THROW«
/usr/include/unistd.h:578: Fehler: syntax error before »__THROW«
/usr/include/unistd.h:612: Fehler: syntax error before »__THROW«
/usr/include/unistd.h:620: Fehler: syntax error before »__THROW«
/usr/include/unistd.h:623: Fehler: syntax error before »__THROW«

....

Can anybody help? I tried different options, but I dont find the  
mistake....

Best regards and many thanks
Dominik Simon



More information about the asterisk-users mailing list