[SR-Users] New to Kamailio - make problem

Peter Schrock peter.schrock at gmail.com
Sat Oct 1 04:34:30 CEST 2011


I am assuming you are talking about mysql. I downloaded a dmg from the mysql
site (which has been all that helpful as far as finding what I need). I am
using Server version: 6.0.11-alpha MySQL Community Server (GPL).
Peter

On Fri, Sep 30, 2011 at 4:58 PM, Nick Khamis <symack at gmail.com> wrote:

> 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 at 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 at lists.sip-router.org
> > http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
> >
> >
>
> _______________________________________________
> SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
> sr-users at lists.sip-router.org
> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20110930/49885503/attachment.htm>


More information about the sr-users mailing list