You neet the mysql header library. What distro are you using?
Nick.
On Fri, Sep 30, 2011 at 7:44 PM, Peter Schrock <peter.schrock(a)gmail.com> wrote:
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
_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users(a)lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users