From: xavier d. <xa...@sy...> - 2004-11-15 08:21:04
|
Thanks for your help. > Maybe try removing -std=c99? No difference. I'm stupid, I forgot to mention than I don't have only one error but a lots. I only shown the first ones. Any idea ? Ast the stddef:212-213 #if !(defined (__GNUG__) && defined (size_t)) typedef __SIZE_TYPE__ size_t; /usr/include/time.h:76: error: syntax error before "typedef" __BEGIN_NAMESPACE_STD /* Returned by `time'. */ /usr/include/time.h:92: error: syntax error before "typedef" # include <bits/types.h> / make gcc -pipe -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" /usr/include/time.h:92: error: syntax error before "typedef" In file included 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/sys/types.h:158:20: missing binary operator before token "(" [...] |