From: Steve K. <st...@st...> - 2004-11-15 01:54:51
|
On Nov 14, 2004, at 3:30 PM, xavier dutoit wrote: > # 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" I have a debian unstable box, and a sarge box (but it might be a few weeks behind), and I don't have those files.. What's on the lines in question: /usr/lib/gcc-lib/i486-linux/3.3.4/include/stddef.h:213 and usr/include/time.h:76 Maybe try removing -std=c99? > > > Any idea ? > > Second question: On the makefile, what does mean : > # 0 = OFF 1 = astdsp 2 = speex > SILDET := 2 > It specifies which kind of VAD (silence detection) you might want to use. It is generally only effective to use this if you want to get indications of active speakers from the manager interface. -SteveK |