[Asterisk-Dev] Asterisk installation-- warnings

Santosh Prasad sprasad at hubris.net
Tue Jul 8 09:57:07 MST 2003


Hello,

I did a cvs checkout for Asterisk today and I find the following 
warnings on doing "make install":
 

include/mhead.h:213: warning: function declaration isn't a prototype
src/l3init.c:143: warning: function declaration isn't a prototype
src/l3init.c:203: warning: function declaration isn't a prototype
src/l3init.c:204: warning: function declaration isn't a prototype


"    -DBUSYDETECT     -fPIC -I../include -Iinclude -O6 -funroll-loops 
-finline-functions -Wall -Wno-missing-prototypes 
-Wno-missing-declarations -g -fPIC   -c -o src/mdct.o src/mdct.c
src/mdct.c:75: warning: function declaration isn't a prototype
src/mdct.c:79: warning: function declaration isn't a prototype
--------------------------
-----------------
-----------
------

In file included from src/cup.c:103:
include/mhead.h:213: warning: function declaration isn't a prototype
In file included from src/cup.c:498:
src/cupini.c:192: warning: function declaration isn't a prototype


In file included from src/dec8.c:104:
include/mhead.h:213: warning: function declaration isn't a prototype


" -DASTAGIDIR=\"/var/lib/asterisk/agi-bin\"    -DBUSYDETECT     -fPIC 
-I../include -Iinclude -O6 -funroll-
loops -finline-functions -Wall -Wno-missing-prototypes 
-Wno-missing-declarations -g -fPIC   -c -o src/isbt
.o src/isbt.c
src/isbt.c:103: warning: function declaration isn't a prototype
src/isbt.c:107: warning: function declaration isn't a prototype
src/isbt.c:128: warning: function declaration isn't a prototype
src/isbt.c:130: warning: function declaration isn't a prototype
src/isbt.c:170: warning: function declaration isn't a prototype
src/isbt.c: In function `genwincoef':
src/isbt.c:174: warning: function declaration isn't a prototype
src/isbt.c: At top level:
src/isbt.c:190: warning: function declaration isn't a prototype
-------------------
----------------
--------------
-----------

gcc -O6 -I. -Wall -Wno-comment -Wno-error -fPIC -march=i686   -c -o 
analys.o analys.c
analys.c: In function `analys_':
analys.c:227: warning: type defaults to `int' in declaration of 
`placea_'
analys.c:227: warning: type defaults to `int' in declaration of 
`dcbias_'
analys.c:229: warning: type defaults to `int' in declaration of 
`placev_'
analys.c:479: warning: suggest parentheses around + or - inside shift
analys.c:480: warning: suggest parentheses around + or - inside shift
analys.c:481: warning: suggest parentheses around + or - inside shift
analys.c:482: warning: suggest parentheses around + or - inside shift
analys.c:495: warning: suggest parentheses around + or - inside shift
ar rv liblpc10.a analys.o
a - analys.o


Is anyone  facing the same problem.



Best

Santosh



More information about the asterisk-dev mailing list