AW: [Asterisk-Users] Asterisk 1.2.0 AddOn's compile error with
MySQL5.0.15
bbench at mail.bg
bbench at mail.bg
Fri Nov 25 23:25:25 MST 2005
On Thursday 24 November 2005 00:01, Rainer Maier wrote:
> Hi Matt,
>
> I did not move the whole asterisk directory I just put a link to it. (ln -s
> /usr/src/asterisk-1.2.0 /usr/src/asterisk)
> Then I tried to compile but the error stayed.
> I also tried with MySQL 4.1.15 and had the same error.
>
<snip>
> res_config_mysql.c
> res_config_mysql.c: In function 'realtime_mysql':
> res_config_mysql.c:117: warning: incompatible implicit declaration of
> built-in function 'snprintf'
> res_config_mysql.c: In function 'realtime_multi_mysql':
> res_config_mysql.c:224: warning: incompatible implicit declaration of
> built-in function 'snprintf'
> res_config_mysql.c: In function 'update_mysql':
> res_config_mysql.c:313: warning: incompatible implicit declaration of
> built-in function 'snprintf'
> res_config_mysql.c: In function 'config_mysql':
> res_config_mysql.c:376: warning: incompatible implicit declaration of
> built-in function 'snprintf'
> res_config_mysql.c: In function 'realtime_mysql_status':
> res_config_mysql.c:648: warning: incompatible implicit declaration of
> built-in function 'snprintf'
> res_config_mysql.c:650: warning: incompatible implicit declaration of
> built-in function 'snprintf'
> res_config_mysql.c:652: warning: incompatible implicit declaration of
> built-in function 'snprintf'
> res_config_mysql.c:656: warning: incompatible implicit declaration of
> built-in function 'snprintf'
> cc -shared -Xlinker -x -o res_config_mysql.so res_config_mysql.o
> -lmysqlclient -lz -L/usr/local/mysql/lib -L/usr/local/mysql/lib/mysql
> rm app_saycountpl.o
> sv5000:/usr/src/asterisk-addons-1.2.0#
All these are warnings. Actually if you do make install it will work.
Why those warnings, however, don't know.
Let us know what happened.
benchev
More information about the asterisk-users
mailing list