[asterisk-users] Compiling DBQuery

Douglas Garstang DGarstang at interainc.com
Thu May 17 11:12:20 MST 2007


Has anyone tried to compile the current version of MySQLPool from http://www.yosd.at <http://www.yosd.at/>  against Asterisk 1.4.4?

 

It seems to not compile...

 

[root at itsentinel res_mysqlpool]# make

gcc -pipe  -pipe  -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -g  -Iinclude -I../include -I/usr/local/mysql/include/mysql -D_REENTRANT -D_GNU_SOURCE  -O6    -DUSE_CVS        -fPIC -c -o res_mysqlpool.o res_mysqlpool.c

In file included from res_mysqlpool.c:35:

res_mysqlpool.h:54: warning: function declaration isnât a prototype

res_mysqlpool.c:87: warning: data definition has no type or storage class

res_mysqlpool.c:87: warning: type defaults to âintâ in declaration of âSTANDARD_LOCAL_USERâ

res_mysqlpool.c:89: warning: data definition has no type or storage class

res_mysqlpool.c:89: warning: type defaults to âintâ in declaration of âLOCAL_USER_DECLâ

res_mysqlpool.c:199: warning: function declaration isnât a prototype

res_mysqlpool.c: In function âget_host_listâ:

res_mysqlpool.c:648: warning: assignment discards qualifiers from pointer target type

res_mysqlpool.c:649: warning: assignment discards qualifiers from pointer target type

res_mysqlpool.c:656: warning: assignment discards qualifiers from pointer target type

res_mysqlpool.c:675: warning: assignment discards qualifiers from pointer target type

res_mysqlpool.c:680: warning: assignment discards qualifiers from pointer target type

res_mysqlpool.c:686: warning: assignment discards qualifiers from pointer target type

res_mysqlpool.c:695: warning: assignment discards qualifiers from pointer target type

res_mysqlpool.c:703: warning: assignment discards qualifiers from pointer target type

res_mysqlpool.c: At top level:

res_mysqlpool.c:946: warning: no previous prototype for âunload_moduleâ

res_mysqlpool.c: In function âunload_moduleâ:

res_mysqlpool.c:957: error: âSTANDARD_HANGUP_LOCALUSERSâ undeclared (first use in this function)

res_mysqlpool.c:957: error: (Each undeclared identifier is reported only once

res_mysqlpool.c:957: error: for each function it appears in.)

res_mysqlpool.c: At top level:

res_mysqlpool.c:964: warning: no previous prototype for âload_moduleâ

res_mysqlpool.c:985: warning: no previous prototype for âreloadâ

res_mysqlpool.c:992: warning: no previous prototype for âdescriptionâ

res_mysqlpool.c:997: warning: no previous prototype for âusecountâ

res_mysqlpool.c: In function âusecountâ:

res_mysqlpool.c:999: warning: implicit declaration of function âSTANDARD_USECOUNTâ

res_mysqlpool.c: At top level:

res_mysqlpool.c:1004: warning: function declaration isnât a prototype

make: *** [res_mysqlpool.o] Error 1

 

Doug.

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20070517/0db00527/attachment-0001.htm


More information about the asterisk-users mailing list