[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Compiling Gnokii smsd
From: |
mysyam |
Subject: |
Compiling Gnokii smsd |
Date: |
Sun, 18 Feb 2007 02:05:10 -0000 |
Hi all,
I have trouble when i was tried to compile Gnokii SMSD. Iam using Ubuntu
Server 6.10.
here is the result:
-----
address@hidden:~/gnokipack/gnokii-0.6.14/smsd# make
/bin/bash ../libtool --mode=compile gcc -g -O2 -Wall -Wno-pointer-sign
-fvisibility=hidden -I../include -DMODULES_DIR=\"/usr/local/lib/smsd\"
-pthread -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include
-INONE -o smsd.lo -c smsd.c
mkdir .libs
gcc -g -O2 -Wall -Wno-pointer-sign -fvisibility=hidden -I../include
-DMODULES_DIR=\"/usr/local/lib/smsd\" -pthread -I/usr/local/include/glib-2.0
-I/usr/local/lib/glib-2.0/include -INONE -c smsd.c -fPIC -DPIC -o
.libs/smsd.o
gcc -g -O2 -Wall -Wno-pointer-sign -fvisibility=hidden -I../include
-DMODULES_DIR=\"/usr/local/lib/smsd\" -pthread -I/usr/local/include/glib-2.0
-I/usr/local/lib/glib-2.0/include -INONE -c smsd.c -o smsd.o >/dev/null 2>&1
/bin/bash ../libtool --mode=compile gcc -g -O2 -Wall -Wno-pointer-sign
-fvisibility=hidden -I../include -DMODULES_DIR=\"/usr/local/lib/smsd\"
-pthread -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include
-INONE -o lowlevel.lo -c lowlevel.c
gcc -g -O2 -Wall -Wno-pointer-sign -fvisibility=hidden -I../include
-DMODULES_DIR=\"/usr/local/lib/smsd\" -pthread -I/usr/local/include/glib-2.0
-I/usr/local/lib/glib-2.0/include -INONE -c lowlevel.c -fPIC -DPIC -o
.libs/lowlevel.o
lowlevel.c: In function 'InitModelInf':
lowlevel.c:97: warning: assignment discards qualifiers from pointer target
type
gcc -g -O2 -Wall -Wno-pointer-sign -fvisibility=hidden -I../include
-DMODULES_DIR=\"/usr/local/lib/smsd\" -pthread -I/usr/local/include/glib-2.0
-I/usr/local/lib/glib-2.0/include -INONE -c lowlevel.c -o lowlevel.o
>/dev/null 2>&1
/bin/bash: mysql_config: command not found
/bin/bash ../libtool --mode=compile gcc -o mysql.lo -g -O2 -Wall
-Wno-pointer-sign -fvisibility=hidden -I../include
-DMODULES_DIR=\"/usr/local/lib/smsd\" -pthread -I/usr/local/include/glib-2.0
-I/usr/local/lib/glib-2.0/include -INONE \
-I../include -c mysql.c
gcc -g -O2 -Wall -Wno-pointer-sign -fvisibility=hidden -I../include
-DMODULES_DIR=\"/usr/local/lib/smsd\" -pthread -I/usr/local/include/glib-2.0
-I/usr/local/lib/glib-2.0/include -INONE -I../include -c mysql.c -fPIC
-DPIC -o .libs/mysql.o
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:54: warning: implicit declaration of function 'mysql_init'
mysql.c:54: error: 'mysqlIn' undeclared (first use in this function)
mysql.c:55: warning: implicit declaration of function 'mysql_real_connect'
mysql.c:63: warning: implicit declaration of function 'mysql_error'
mysql.c:63: warning: format '%s' expects type 'char *', but argument 2 has
type 'int'
mysql.c:63: warning: format '%s' expects type 'char *', but argument 2 has
type 'int'
mysql.c: In function 'DB_ConnectOutbox':
mysql.c:73: error: 'mysqlOut' undeclared (first use in this function)
mysql.c:82: warning: format '%s' expects type 'char *', but argument 2 has
type 'int'
mysql.c:82: warning: format '%s' expects type 'char *', but argument 2 has
type 'int'
mysql.c: In function 'DB_InsertSMS':
mysql.c:108: warning: implicit declaration of function
'mysql_real_escape_string'
mysql.c:108: error: 'mysqlIn' undeclared (first use in this function)
mysql.c:121: warning: implicit declaration of function 'mysql_real_query'
mysql.c:124: warning: format '%s' expects type 'char *', but argument 2 has
type 'int'
mysql.c:124: warning: format '%s' expects type 'char *', but argument 2 has
type 'int'
mysql.c: In function 'DB_Look':
mysql.c:138: error: 'MYSQL_RES' undeclared (first use in this function)
mysql.c:138: error: 'res1' undeclared (first use in this function)
mysql.c:139: error: 'MYSQL_ROW' undeclared (first use in this function)
mysql.c:139: error: expected ';' before 'row'
mysql.c:157: error: 'mysqlOut' undeclared (first use in this function)
mysql.c:160: warning: format '%s' expects type 'char *', but argument 2 has
type 'int'
mysql.c:160: warning: format '%s' expects type 'char *', but argument 2 has
type 'int'
mysql.c:165: warning: implicit declaration of function 'mysql_store_result'
mysql.c:168: warning: format '%s' expects type 'char *', but argument 2 has
type 'int'
mysql.c:168: warning: format '%s' expects type 'char *', but argument 2 has
type 'int'
mysql.c:173: error: 'row' undeclared (first use in this function)
mysql.c:173: warning: implicit declaration of function 'mysql_fetch_row'
mysql.c:219: warning: format '%s' expects type 'char *', but argument 2 has
type 'int'
mysql.c:219: warning: format '%s' expects type 'char *', but argument 2 has
type 'int'
mysql.c:223: warning: implicit declaration of function 'mysql_free_result'
make: *** [mysql.lo] Error 1
-------------------
Anyone can help me?
--
View this message in context:
http://www.nabble.com/Compiling-Gnokii-smsd-tf3246963.html#a9026227
Sent from the gnokii-users mailing list archive at Nabble.com.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Compiling Gnokii smsd,
mysyam <=