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