You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
db_mysql.so fails to build using MariaDB 10.2 libs. Using kamailio 5.0.4 and MariaDB 10.2 on CentOS7 run make all and the build process crashes on db_mysql.so with the following errors:
[root@proxy:/usr/local/src/kamailio-5.0.4$]make all
make -C src/ all
make[1]: Entering directory `/usr/local/src/kamailio-5.0.4/src'
CC (gcc) [M db_mysql.so] km_my_con.o
In file included from km_my_con.c:31:0:
/usr/include/mysql/mysql_version.h:3:2: warning: #warning This file should not be included by clients, include only <mysql.h> [-Wcpp]
#warning This file should not be included by clients, include only <mysql.h>
^
km_my_con.c: In function ‘db_mysql_new_connection’:
km_my_con.c:132:11: error: ‘MYSQL’ has no member named ‘reconnect’
ptr->con->reconnect = 1;
^
km_my_con.c:134:11: error: ‘MYSQL’ has no member named ‘reconnect’
ptr->con->reconnect = 0;
^
make[2]: *** [km_my_con.o] Error 1
make[1]: *** [modules] Error 1
make[1]: Leaving directory `/usr/local/src/kamailio-5.0.4/src'
make: *** [all] Error 2
Using offical mariadb 10.2 stable repo from mariadb.org:
Description
db_mysql.so fails to build using MariaDB 10.2 libs. Using kamailio 5.0.4 and MariaDB 10.2 on CentOS7 run
make all
and the build process crashes ondb_mysql.so
with the following errors:Using offical mariadb 10.2 stable repo from mariadb.org:
Additional Information
kamailio -v
The text was updated successfully, but these errors were encountered: