From: xavier d. <xa...@sy...> - 2004-11-14 19:30:07
|
Hello, I have some problems compiling app_conference (both asterisk and it fresh updated from the CVS) on my debian sarge. I've modified the Makefile to change the ASTERISK_INCLUDE_DIR and to comment out "CFLAGS += -mcpu=7450 -faltivec -mabi=altivec -mdynamic-no-pic". When I make, both from the app_conference folder or from asterisk (I've modified apps/Makefile to include the app_conference makefile and added app_conference.so), I got the same result: # make gcc -pipe -std=c99 -Wall -Wmissing-prototypes -Wmissing-declarations -g -I/usr/src/asterisk/include/asterisk/ -D_REENTRANT -D_GNU_SOURCE -O3 -ffast-math -funroll-all-loops -fprefetch-loop-arrays -fsingle-precision-constant -DCRYPTO -DAPP_CONFERENCE_DEBUG -Ilibspeex -DSILDET=2 -c -o app_conference.o app_conference.c cc1: warning: -fprefetch-loop-arrays not supported for this target (try -march switches) In file included from /usr/include/bits/types.h:31, from /usr/include/sys/types.h:31, from /usr/include/asterisk/frame.h:23, from /usr/include/asterisk/channel.h:17, from /usr/include/asterisk/pbx.h:17, from app_conference.h:23, from app_conference.c:19: /usr/lib/gcc-lib/i486-linux/3.3.4/include/stddef.h:213: error: syntax error before "typedef" In file included from /usr/include/sys/types.h:133, from /usr/include/asterisk/frame.h:23, from /usr/include/asterisk/channel.h:17, from /usr/include/asterisk/pbx.h:17, from app_conference.h:23, from app_conference.c:19: /usr/include/time.h:76: error: syntax error before "typedef" Any idea ? Second question: On the makefile, what does mean : # 0 = OFF 1 = astdsp 2 = speex SILDET := 2 ? FYI, I'm not very happy with the meetme app, where I got a very crappy sound with two iaxcomm and a zap FXO channel (however, it seems to work better with a SIP phone...). Xavier |