Hi All, hope everybody is doing great and are in good health. I have RHEL 5 server, a month before i have downloaded and configured gnokii 0.6.26 to my server, installation went fine and it was configured successfully without any error, yesterday i had re-installed my RHEL 5 server and tries to install gnokii 0.6.26 again but this time it is giving me error related to mysql (although my previous installation for gnokii-smsd with mysql went absolutely fine), i cannot understand that why it is giving me errors
(Note: it is absolutely ok untill i run ./configure) but when i issues make command it gives me following errors)
mysql.c:36:19: error: mysql.h: No such file or directory mysql.c:42: error: expected `=', `,', `;', `asm' or `__attribute__' before `mysqlIn' mysql.c:43: error: expected `=', `,', `;', `asm' or `__attribute__' before `mysqlOut' mysql.c: In function `DB_Bye': mysql.c:47: warning: implicit declaration of function `mysql_close' mysql.c:47: error: `mysqlIn' undeclared (first use in this function) mysql.c:47: error: (Each undeclared identifier is reported only once mysql.c:47: error: for each function it appears in.) mysql.c:48: error: `mysqlOut' undeclared (first use in this function) mysql.c: In function `DB_ConnectInbox': mysql.c:58: warning: implicit declaration of function `mysql_init' mysql.c:58: error: `mysqlIn' undeclared (first use in this function) mysql.c:62: warning: implicit declaration of function `mysql_real_connect' mysql.c:70: warning: implicit declaration of function `mysql_error' mysql.c:70: warning: format `%s' expects type `char *', but argument 2 has type `int' mysql.c: In function `DB_ConnectOutbox': mysql.c:84: error: `mysqlOut' undeclared (first use in this function) mysql.c:96: warning: format `%s' expects type `char *', but argument 2 has type `int' mysql.c: In function `DB_InsertSMS': mysql.c:108: error: `MYSQL_RES' undeclared (first use in this function) mysql.c:108: error: `res' undeclared (first use in this function) mysql.c:109: error: `MYSQL_ROW' undeclared (first use in this function) mysql.c:109: error: expected `;' before `row' mysql.c:123: warning: implicit declaration of function `mysql_real_escape_string' mysql.c:123: error: `mysqlIn' undeclared (first use in this function) mysql.c:139: warning: implicit declaration of function `mysql_real_query' mysql.c:147: warning: implicit declaration of function `mysql_store_result' mysql.c:148: error: `row' undeclared (first use in this function) mysql.c:148: warning: implicit declaration of function `mysql_fetch_row' mysql.c:186: error: `mysqlOut' undeclared (first use in this function) mysql.c:250: warning: implicit declaration of function `mysql_free_result' mysql.c: In function `DB_Look': mysql.c:312: error: `MYSQL_RES' undeclared (first use in this function) mysql.c:312: error: `res1' undeclared (first use in this function) mysql.c:313: error: `MYSQL_ROW' undeclared (first use in this function) mysql.c:313: error: expected `;' before `row' mysql.c:331: error: `mysqlOut' undeclared (first use in this function) mysql.c:334: warning: format `%s' expects type `char *', but argument 2 has type `int' mysql.c:342: warning: format `%s' expects type `char *', but argument 2 has type `int' mysql.c:347: error: `row' undeclared (first use in this function) mysql.c:393: warning: format `%s' expects type `char *', but argument 2 has type `int' gmake[1]: *** [mysql.lo] Error 1 gmake: *** [all-recursive] Error 1