[SR-Users] New to Kamailio - make problem

Peter Schrock peter.schrock at gmail.com
Sat Oct 1 01:44:19 CEST 2011


I can't seem to get kamailio to "*make*". I am following the directions on
the wiki on how to install. I have downloaded, compiled, and installed mysql
server and every time I run to "*make all*" with kamailio, I get this error
message.
At first, I was thinking that *km_db_mysql.c* couldn't find the file. The
header seems to be looking for *mysql.h* (at *#include <mysql/mysql.h>*). I
found the file from installing mysql server and I thought I'd help *
km_db_mysql.c* to find the file, but it still gives me this error.
I am using a power pc running OS X.5.1.

CC (gcc) [M db_mysql.so] km_db_mysql.o
km_db_mysql.c:49:19: error: mysql/mysql.h: No such file or directory
km_db_mysql.c: In function ‘kam_mysql_mod_init’:
km_db_mysql.c:92: warning: implicit declaration of function
‘mysql_get_client_info’
km_db_mysql.c:92: warning: format ‘%s’ expects type ‘char *’, but argument 7
has type ‘int’
km_db_mysql.c:92: warning: format ‘%s’ expects type ‘char *’, but argument 6
has type ‘int’
make[1]: *** [km_db_mysql.o] Error 1
make: *** [modules] Error 1


Peter Schrock
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20110930/cbdffbf6/attachment.htm>


More information about the sr-users mailing list