It's look like mysql-devel (mysql development package) isn't install on your box.

Regards,
D

VIP Carrier wrote:

Hello,

I'm trying to compile OpenSER 1.3.3 and getting the following error i have run a comand "make all include_modules="mysql""

--------------------------------------------------------------------------------------------------------

dbase.c:29:25: error: mysql/mysql.h: No such file or directory
dbase.c:30:26: error: mysql/errmsg.h: No such file or directory
dbase.c:31:33: error: mysql/mysql_version.h: No such file or directory
In file included from dbase.c:38:
my_con.h:38: error: expected specifier-qualifier-list before ‘MYSQL_RES’
dbase.c: In function ‘db_mysql_submit_query’:
dbase.c:65: error: ‘struct my_con’ has no member named ‘timestamp’
dbase.c:66: warning: implicit declaration of function ‘mysql_ping’
dbase.c:66: error: ‘struct my_con’ has no member named ‘con’
dbase.c:70: error: ‘struct my_con’ has no member named ‘timestamp’
dbase.c:88: warning: implicit declaration of function ‘mysql_query’
dbase.c:88: error: ‘struct my_con’ has no member named ‘con’
dbase.c:91: warning: implicit declaration of function ‘mysql_errno’
dbase.c:91: error: ‘struct my_con’ has no member named ‘con’
dbase.c:92: error: ‘CR_SERVER_GONE_ERROR’ undeclared (first use in this function)
dbase.c:92: error: (Each undeclared identifier is reported only once
dbase.c:92: error: for each function it appears in.)
dbase.c:92: error: ‘CR_SERVER_LOST’ undeclared (first use in this function)
dbase.c:96: warning: implicit declaration of function ‘mysql_error’
dbase.c:96: error: ‘struct my_con’ has no member named ‘con’
dbase.c:96: error: ‘struct my_con’ has no member named ‘con’
dbase.c:96: warning: format ‘%s’ expects type ‘char *’, but argument 4 has type ‘int’
dbase.c: In function ‘db_mysql_store_result’:
dbase.c:195: error: ‘struct my_con’ has no member named ‘res’
dbase.c:195: warning: implicit declaration of function ‘mysql_store_result’
dbase.c:195: error: ‘struct my_con’ has no member named ‘con’
dbase.c:196: error: ‘struct my_con’ has no member named ‘res’
dbase.c:197: warning: implicit declaration of function ‘mysql_field_count’
dbase.c:197: error: ‘struct my_con’ has no member named ‘con’
dbase.c:202: error: ‘struct my_con’ has no member named ‘con’
dbase.c:202: error: ‘struct my_con’ has no member named ‘con’
dbase.c:202: warning: format ‘%s’ expects type ‘char *’, but argument 4 has type ‘int’
dbase.c:216: warning: implicit declaration of function ‘mysql_free_result’
dbase.c:216: error: ‘struct my_con’ has no member named ‘res’
dbase.c:223: error: ‘struct my_con’ has no member named ‘res’
dbase.c: In function ‘db_mysql_free_result’:
dbase.c:253: error: ‘struct my_con’ has no member named ‘res’
dbase.c:254: error: ‘struct my_con’ has no member named ‘res’
dbase.c: In function ‘db_mysql_fetch_result’:
dbase.c:361: error: ‘struct my_con’ has no member named ‘res’
dbase.c:361: error: ‘struct my_con’ has no member named ‘con’
dbase.c:362: error: ‘struct my_con’ has no member named ‘res’
dbase.c:363: error: ‘struct my_con’ has no member named ‘con’
dbase.c:368: error: ‘struct my_con’ has no member named ‘con’
dbase.c:368: error: ‘struct my_con’ has no member named ‘con’
dbase.c:368: warning: format ‘%s’ expects type ‘char *’, but argument 4 has type ‘int’
dbase.c:379: warning: implicit declaration of function ‘mysql_num_rows’
dbase.c:379: error: ‘struct my_con’ has no member named ‘res’
dbase.c:414: error: ‘struct my_con’ has no member named ‘row’
dbase.c:414: warning: implicit declaration of function ‘mysql_fetch_row’
dbase.c:414: error: ‘struct my_con’ has no member named ‘res’
dbase.c:415: error: ‘struct my_con’ has no member named ‘row’
dbase.c:416: error: ‘struct my_con’ has no member named ‘con’
dbase.c:416: error: ‘struct my_con’ has no member named ‘con’
dbase.c:416: warning: format ‘%s’ expects type ‘char *’, but argument 4 has type ‘int’
dbase.c: In function ‘db_last_inserted_id’:
dbase.c:649: warning: implicit declaration of function ‘mysql_insert_id’
dbase.c:649: error: ‘struct my_con’ has no member named ‘con’
make[1]: *** [dbase.o] Error 1
make[1]: Leaving directory `/src/openser-1.3.3-notls/modules/mysql'
make: *** [modules] Error 2



_______________________________________________ Users mailing list Users@lists.kamailio.org http://lists.kamailio.org/cgi-bin/mailman/listinfo/users