I am trying to compile libmysql.la in smsd but i am not sure of how to configure the Makefile.
when I run make libmysql.so I get the following output
mysql.h this file we could not in source file.
i installed gnokii 0.6.9
mysql.c:35:19: error: mysql.h: No such file or directory mysql.c:40: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'mysqlIn'
mysql.c:41: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'mysqlOut' mysql.c: In function 'DB_Bye': mysql.c:45: error: 'mysqlIn' undeclared (first use in this function)
mysql.c:45: error: (Each undeclared identifier is reported only once mysql.c:45: error: for each function it appears in.) mysql.c:46: error: 'mysqlOut' undeclared (first use in this function) mysql.c: In function 'DB_ConnectInbox':
mysql.c:52: error: 'mysqlIn' undeclared (first use in this function) mysql.c: In function 'DB_ConnectOutbox': mysql.c:71: error: 'mysqlOut' undeclared (first use in this function) mysql.c: In function 'DB_InsertSMS':
mysql.c:107: error: 'mysqlIn' undeclared (first use in this function) mysql.c: In function 'DB_Look': mysql.c:137: error: 'MYSQL_RES' undeclared (first use in this function) mysql.c:137: error: 'res1' undeclared (first use in this function)
mysql.c:138: error: 'MYSQL_ROW' undeclared (first use in this function) mysql.c:138: error: expected ';' before 'row' mysql.c:156: error: 'mysqlOut' undeclared (first use in this function)
mysql.c:172: error: 'row' undeclared (first use in this function) make: *** [mysql.lo] Error 1