[Asterisk-Dev] New bison and flex errors

Matthew Boehm mboehm at cytelcom.com
Thu Jun 2 21:36:29 MST 2005


I've just upgraded to most recent CVS, most recent flex and bison. And now
I'm getting these warnings. Should I be concerned?

make[1]: Entering directory `/usr/src/asterisk'
bison -v -d --name-prefix=ast_yy ast_expr2.y -o ast_expr2.c
gcc -pipe  -Wall -Wstrict-prototypes -Wmissing-prototypes
-Wmissing-declarations -g  -Iinclude -I../include -D_REENTRANT -D_GNU_SOURCE
-O6 -O6 -march=i686  -DZAPTEL_OPTIMIZATIONS
-DASTERISK_VERSION=\"CVS-HEAD-06/02/05-23:31:57\"
-DASTERISK_VERSION_NUM=999999 -DINSTALL_PREFIX=\"\"
-DASTETCDIR=\"/etc/asterisk\" -DASTLIBDIR=\"/usr/lib/asterisk\"
-DASTVARLIBDIR=\"/var/lib/asterisk\" -DASTVARRUNDIR=\"/var/run\"
-DASTSPOOLDIR=\"/var/spool/asterisk\" -DASTLOGDIR=\"/var/log/asterisk\"
-DASTCONFPATH=\"/etc/asterisk/asterisk.conf\"
-DASTMODDIR=\"/usr/lib/asterisk/modules\"
-DASTAGIDIR=\"/var/lib/asterisk/agi-bin\"     -DBUSYDETECT_MARTIN
-fomit-frame-pointer    -c -o ast_expr2.o ast_expr2.c
ast_expr2.c: In function `ast_yyparse':
ast_expr2.c:1166: warning: implicit declaration of function `ast_yylex'
flex ast_expr2.fl
gcc -pipe  -Wall -Wstrict-prototypes -Wmissing-prototypes
-Wmissing-declarations -g  -Iinclude -I../include -D_REENTRANT -D_GNU_SOURCE
-O6 -O6 -march=i686  -DZAPTEL_OPTIMIZATIONS
-DASTERISK_VERSION=\"CVS-HEAD-06/02/05-23:31:57\"
-DASTERISK_VERSION_NUM=999999 -DINSTALL_PREFIX=\"\"
-DASTETCDIR=\"/etc/asterisk\" -DASTLIBDIR=\"/usr/lib/asterisk\"
-DASTVARLIBDIR=\"/var/lib/asterisk\" -DASTVARRUNDIR=\"/var/run\"
-DASTSPOOLDIR=\"/var/spool/asterisk\" -DASTLOGDIR=\"/var/log/asterisk\"
-DASTCONFPATH=\"/etc/asterisk/asterisk.conf\"
-DASTMODDIR=\"/usr/lib/asterisk/modules\"
-DASTAGIDIR=\"/var/lib/asterisk/agi-bin\"     -DBUSYDETECT_MARTIN
-fomit-frame-pointer    -c -o ast_expr2f.o ast_expr2f.c
ast_expr2f.c:1772: warning: no previous prototype for `ast_yyget_column'
ast_expr2f.c:1848: warning: no previous prototype for `ast_yyset_column'
ar r ast_expr.a ast_expr2.o ast_expr2f.o
ranlib ast_expr.a
rm ast_expr2.c

:/

-Matthew





More information about the asterisk-dev mailing list