gnokii installing problem
Hi,
I was installing new version of gnokii-0.6.29 from source so that I can install gnocky-0.0.7.But gnocky requires pkgconf/gnokii.pc, and gnokii-devel package which is not installed.
I have fedora 10 with mysql and gnokii already but not postgres.While comcpiling gnokii I got this error.
code
----------------------
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:140: warning: implicit declaration of function ‘mysql_real_query’
mysql.c:148: warning: implicit declaration of function ‘mysql_store_result’
mysql.c:149: error: ‘row’ undeclared (first use in this function)
mysql.c:149: warning: implicit declaration of function ‘mysql_fetch_row’
mysql.c:187: error: ‘mysqlOut’ undeclared (first use in this function)
mysql.c:251: warning: implicit declaration of function ‘mysql_free_result’
mysql.c: In function ‘DB_Look’:
mysql.c:315: error: ‘MYSQL_RES’ undeclared (first use in this function)
mysql.c:315: error: ‘res1’ undeclared (first use in this function)
mysql.c:316: error: ‘MYSQL_ROW’ undeclared (first use in this function)
mysql.c:316: error: expected ‘;’ before ‘row’
mysql.c:334: error: ‘mysqlOut’ undeclared (first use in this function)
mysql.c:337: warning: format ‘%s’ expects type ‘char *’, but argument 2 has type ‘int’
mysql.c:345: warning: format ‘%s’ expects type ‘char *’, but argument 2 has type ‘int’
mysql.c:350: error: ‘row’ undeclared (first use in this function)
mysql.c:396: warning: format ‘%s’ expects type ‘char *’, but argument 2 has type ‘int’
gmake[1]: *** [mysql.lo] Error 1
gmake[1]: Leaving directory `/usr/local/gnokii-0.6.29/smsd'
gmake: *** [all-recursive] Error 1
[root@localhost gnokii-0.6.29]#
----------------------------------
tried with yum update gnokii but it was loading too many packages.On my slow internet connection this was an overnight practice. also some packages simply unavailable like libgnome-control-center.so.1
Do I need to setup mysql so as to read and write sms from it before installing gnokii?
Or installing old version of gnokcy will solve my problem? so that it should not ask for any latest package of pkg-conf/gnokii.pc.
Thanks.
Last edited by san_to_all; 09-11-2010 at 09:56 AM.
|