[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
compile problems
From: |
Roberto Verzola |
Subject: |
compile problems |
Date: |
Wed, 30 Mar 2011 14:37:30 +0800 |
User-agent: |
Thunderbird 2.0.0.24 (X11/20100317) |
I downloaded gnokii 0.6.29 to my Kubuntu 8.04, and compiled (./configure
then make).
Configure ran just fine, but I got the following make error:
mv -f .deps/libgnokii_la-gsm-bitmaps.Tpo .deps/libgnokii_la-gsm-bitmaps.Plo
/bin/bash ../libtool --tag=CC --mode=compile gcc
-DLOCALEDIR=\"/usr/local/share/locale\" -DCOMPILING_LIBGNOKII -I.
-I../include -DLIBDIR="\"/usr/local/lib\"" -I../include -g -O2 -Wall
-Wno-pointer-sign -fvisibility=hidden -fno-strict-aliasing -MT
libgnokii_la-gsm-sms.lo -MD -MP -MF .deps/libgnokii_la-gsm-sms.Tpo -c -o
libgnokii_la-gsm-sms.lo `test -f 'gsm-sms.c' || echo './'`gsm-sms.c
libtool: compile: gcc -DLOCALEDIR=\"/usr/local/share/locale\"
-DCOMPILING_LIBGNOKII -I. -I../include -DLIBDIR=\"/usr/local/lib\"
-I../include -g -O2 -Wall -Wno-pointer-sign -fvisibility=hidden
-fno-strict-aliasing -MT libgnokii_la-gsm-sms.lo -MD -MP -MF
.deps/libgnokii_la-gsm-sms.Tpo -c gsm-sms.c -fPIC -DPIC -o
.libs/libgnokii_la-gsm-sms.o
gsm-sms.c:37:18: error: glib.h: No such file or directory
gsm-sms.c: In function ‘gn_sms_send’:
gsm-sms.c:1613: error: ‘gchar’ undeclared (first use in this function)
gsm-sms.c:1613: error: (Each undeclared identifier is reported only once
gsm-sms.c:1613: error: for each function it appears in.)
gsm-sms.c:1613: error: ‘str’ undeclared (first use in this function)
gsm-sms.c:1614: error: ‘gsize’ undeclared (first use in this function)
gsm-sms.c:1614: error: expected ‘;’ before ‘inlen’
gsm-sms.c:1616: warning: implicit declaration of function ‘g_locale_to_utf8’
gsm-sms.c:1616: error: ‘inlen’ undeclared (first use in this function)
gsm-sms.c:1616: error: ‘outlen’ undeclared (first use in this function)
gsm-sms.c:1617: warning: implicit declaration of function ‘g_utf8_strlen’
gsm-sms.c:1618: warning: implicit declaration of function ‘g_free’
gsm-sms.c: In function ‘sms_send_long’:
gsm-sms.c:1764: warning: comparison is always true due to limited range
of data type
make[2]: *** [libgnokii_la-gsm-sms.lo] Error 1
make[2]: Leaving directory `/home/obetv/gnokii/gnokii-0.6.29/common'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/obetv/gnokii/gnokii-0.6.29/common'
make: *** [all-recursive] Error 1
I tried downloading libgnokii with apt-get and got this error message:
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Couldn't find package libgnokii
I would appreciate any suggestions.
My current gnokii version is 0.6.22. I'm trying to make it work with
Nokia 2330.
Some commands like --getnetworkinfo and --getphonebook work, but
--getsms doesn't.
Here's the error message:
address@hidden:~/gnokii/gnokii-0.6.29$ gnokii --getsms IN 1
GNOKII Version 0.6.22
LOG: rlpdebug mask is 0x1
GetSMS IN 1 failed! (The current frame isn't handled by the incoming
function.)
Any suggestions?
Thanks in advance,
Roberto
- compile problems,
Roberto Verzola <=