gnokii-users
[Top][All Lists]
Advanced

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

SMSD fails to compile


From: Kyohere Luke
Subject: SMSD fails to compile
Date: Sat, 24 Jun 2006 17:17:07 +0300

Hello, I'm trying to install gnokii 0.6.12 on a SuSE linux box. Gnokii installs ok, but when it comes to building smsd, I get the following errors

make: pkg-config: Command not found
/bin/sh ../libtool --mode=compile gcc -g -O2  -I../include  -DMODULES_DIR=\"/usr/local/lib/smsd\" -pthread   -o smsd.lo -c smsd.c
 gcc -g -O2 -I../include -DMODULES_DIR=\"/usr/local/lib/smsd\" -pthread -c smsd.c  -fPIC -DPIC -o .libs/smsd.o
smsd.c:50:18: glib.h: No such file or directory
In file included from smsd.c :55:
smsd.h:33:18: glib.h: No such file or directory
In file included from smsd.c:55:
smsd.h:41: error: parse error before "gchar"
smsd.h:41: warning: no semicolon at end of struct or union
smsd.h :42: warning: data definition has no type or storage class
smsd.h:43: error: parse error before '*' token
smsd.h:43: warning: data definition has no type or storage class
smsd.h:44: error: parse error before '*' token
smsd.h:44: warning: data definition has no type or storage class
smsd.h:45: error: parse error before '*' token
smsd.h:45: warning: data definition has no type or storage class
smsd.h:46: error: parse error before "refreshInt"

and a few more such errors before it finally ends with

smsd.c: At top level:
smsd.c:419: error: parse error before "d"
smsd.c: In function `ReadSMS':
smsd.c:421: error: `d' undeclared (first use in this function)
smsd.c:422: error: `e' undeclared (first use in this function)
smsd.c:423: error: parse error before "error"
smsd.c:439: error: `error' undeclared (first use in this function)
smsd.c:439: error: `DB_InsertSMS' undeclared (first use in this function)
smsd.c:439: error: request for member `phone' in something not a structure or union
smsd.c:442: error: request for member `logFile' in something not a structure or union
smsd.c:450: error: parse error before ')' token
smsd.c: In function `GetSMS':
smsd.c:470: error: request for member `sms' in something not a structure or union
smsd.c:470: error: request for member `sms' in something not a structure or union
smsd.c:471: error: request for member `sms' in something not a structure or union
smsd.c:471: error: `gpointer' undeclared (first use in this function)
smsd.c: At top level:
smsd.c:477: error: parse error before "sig"
smsd.c: In function `MainExit':
smsd.c:479: error: `e' undeclared (first use in this function)
smsd.c:479: error: parse error before ')' token
smsd.c:486: error: `FALSE' undeclared (first use in this function)
smsd.c: In function `Run':
smsd.c:514: error: `DB_ConnectInbox' undeclared (first use in this function)
smsd.c:516: error: request for member `phone' in something not a structure or union
smsd.c:517: error: `TRUE' undeclared (first use in this function)
smsd.c: In function `LogFile':
smsd.c:206: error: `va_start' used in function with fixed args
make: *** [smsd.lo] Error 1

Seems to be due to some missing definitions. Is there a step I'm not doing? I followed the instructions in the README. i.e first configure/install gnokii and then cd to smsd and make.

thanks.

--
-- Luke Kyohere
reply via email to

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