Hi all:

When I using “make all ” to compile Kamailio (OpenSER) , I got the error msg as follows :

db_mysql.c:49:25: error: mysql/mysql.h: No such file or directory

db_mysql.c: In function 'mysql_mod_init':

db_mysql.c:99: warning: implicit declaration of function 'mysql_get_client_info'

db_mysql.c:99: warning: format '%s' expects type 'char *', but argument 4 has type 'int'

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

make[1]: Leaving directory `/usr/local/src/kamailio-1.5.0/sip-server/modules/db_mysql'

make: *** [modules] Error 2

 

What's Happening!!

 

 

Cheers,

vivi