gnokii-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Gnokii - smsd Installation Errors


From: Shoaib Khan
Subject: Gnokii - smsd Installation Errors
Date: Tue, 4 Nov 2008 14:31:23 +0500

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)

Making all in smsd
gmake[1]: Entering directory `/usr/local/bin/gnokii-0.6.26/smsd'
/bin/sh ../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I../include    -I../include -I./ -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include    -I/usr/include/mysql -g -pipe -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic -fasynchronous-unwind-tables -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -fno-strict-aliasing -fwrapv -DMODULES_DIR=\"/usr/local/lib/smsd\" -DLOCALEDIR=\"/usr/local/share/locale\" -pthread -g -O2 -Wall -Wno-pointer-sign -fvisibility=hidden -fno-strict-aliasing  -MT mysql.lo -MD -MP -MF .deps/mysql.Tpo -c -o mysql.lo mysql.c
 gcc -DHAVE_CONFIG_H -I. -I../include -I../include -I./ -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/mysql -g -pipe -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic -fasynchronous-unwind-tables -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -fno-strict-aliasing -fwrapv -DMODULES_DIR=\"/usr/local/lib/smsd\" -DLOCALEDIR=\"/usr/local/share/locale\" -pthread -g -O2 -Wall -Wno-pointer-sign -fvisibility=hidden -fno-strict-aliasing -MT mysql.lo -MD -MP -MF .deps/mysql.Tpo -c mysql.c  -fPIC -DPIC -o .libs/mysql.o
gmake[1]: Leaving directory `/usr/local/bin/gnokii-0.6.26/smsd'

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


Thanks,
Regards,
Shoaib


reply via email to

[Prev in Thread] Current Thread [Next in Thread]