mysql/mysql.h: No such file or directory

Kannel does not seem to find the mysql headers. Are you sure that you
have installed the devel packages?

On 9/1/07, Sarfaraz Jamal <[EMAIL PROTECTED]> wrote:
> I installed MYSQL 5 with the --without-server option:
>
> And the configure option ran successfully with kannel,
> but when I run make, i get this error:
>
> gw/dlr_mysql.c:74:25: mysql/mysql.h: No such file or directory
> gw/dlr_mysql.c:109: error: parse error before '*' token
> gw/dlr_mysql.c: In function `mysql_select':
> gw/dlr_mysql.c:112: error: `MYSQL_RES' undeclared (first use in this
> function)
> gw/dlr_mysql.c:112: error: (Each undeclared identifier is reported only once
> gw/dlr_mysql.c:112: error: for each function it appears in.)
> gw/dlr_mysql.c:112: error: `result' undeclared (first use in this function)
> gw/dlr_mysql.c: In function `dlr_mysql_get':
> gw/dlr_mysql.c:170: error: `MYSQL_RES' undeclared (first use in this
> function)
> gw/dlr_mysql.c:170: error: `result' undeclared (first use in this function)
> gw/dlr_mysql.c:171: error: `MYSQL_ROW' undeclared (first use in this
> function)
> gw/dlr_mysql.c:171: error: parse error before "row"
> gw/dlr_mysql.c:192: error: `row' undeclared (first use in this function)
> gw/dlr_mysql.c: In function `dlr_mysql_messages':
> gw/dlr_mysql.c:253: error: `MYSQL_RES' undeclared (first use in this
> function)
> gw/dlr_mysql.c:253: error: `result' undeclared (first use in this function)
> gw/dlr_mysql.c:254: error: `MYSQL_ROW' undeclared (first use in this
> function)
> gw/dlr_mysql.c:254: error: parse error before "row"
> gw/dlr_mysql.c:269: error: `row' undeclared (first use in this function)
> make: *** [gw/dlr_mysql.o] Error 1
>
> Any ideas?
>
> Sas


-- 
Alejandro Guerrieri
Magicom
http://www.magicom-bcn.net/
LinkedIn: http://www.linkedin.com/in/aguerrieri

Reply via email to