gnokii-users
[Top][All Lists]
Advanced

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

Cross Compiling Gnokii for ARM


From: Forconi
Subject: Cross Compiling Gnokii for ARM
Date: Tue, 8 May 2012 12:14:22 +0000 (UTC)

Hi,
I'm trying to cross compile Gnokii for an ARM platform to use smsd deamon with 
a serial GSM/GPRS modem.

The configure command that I've used is the following:
GLIB_CFLAGS="-I$ROOTFS_PATH/usr/include/glib-2.0 
-I$ROOTFS_PATH/usr/lib/glib-2.0/include" \
GLIB_LIBS="-L$ROOTFS_PATH/usr/lib" \
./configure \
--host=arm-none-linux-gnueabi \
--prefix=/home/samuele/geam/gnokii/build \
--disable-postgres \
--disable-mysql \
--disable-sqlite \
--disable-libusb \
--disable-irda \
--disable-bluetooth \
--disable-libical \
--disable-phonet \
--disable-libpcsclite \
--disable-rlpdebug \
--disable-xdebug \
--disable-fulldebug \
--disable-nls \
--without-x

Before running this I exported the ROOTFS_PATH variable: 
export ROOTFS_PATH=/media/vol/geam/rootfs/armle-fs

This is the output of the configure script:
    Host system:        linux-gnueabi
    Gnokii version:     0.6.31
    Xgnokii version:    1.0
    SMSD version:       1.5.2
    X (GTK+) support:   no
    smsd support:       yes
    Postgres support:   no
    SQLite support:     no
    MySQL support:      no
    Debug:              yes
    XDebug:             no
    RLPDebug:           no
    NLS:                yes
    IrDA:               no
    ical read support:  no
    Bluetooth:          no
    libusb support:     no
    phonet support:     no
    libpcsclite support:no
    readline support:   no
    Security:           no
    Build Shared Lib:   yes
    Build Static Lib:   yes
    Windows:            no
    Prefix:             /home/samuele/geam/gnokii/build

Then I run "make" and it goes on compiling since it stops here:
...
Making all in gnokii
make[1]: Entering directory `/media/vol/geam/gnokii/gnokii-0.6.31/gnokii'
arm-none-linux-gnueabi-gcc 
-DLOCALEDIR=\"/home/samuele/geam/gnokii/build/share/locale\" -DHAVE_CONFIG_H 
-I. -I../include    -I../include -g -O2 -Wall -Wno-pointer-sign 
-fvisibility=hidden -fno-strict-aliasing  -MT gnokii-gnokii.o -MD -MP -MF 
.deps/gnokii-gnokii.Tpo -c -o gnokii-gnokii.o `test -f 'gnokii.c' || echo 
'./'`gnokii.c
mv -f .deps/gnokii-gnokii.Tpo .deps/gnokii-gnokii.Po
arm-none-linux-gnueabi-gcc 
-DLOCALEDIR=\"/home/samuele/geam/gnokii/build/share/locale\" -DHAVE_CONFIG_H 
-I. -I../include    -I../include -g -O2 -Wall -Wno-pointer-sign 
-fvisibility=hidden -fno-strict-aliasing  -MT gnokii-gnokii-calendar.o -MD -MP 
-MF .deps/gnokii-gnokii-calendar.Tpo -c -o gnokii-gnokii-calendar.o `test -f 
'gnokii-calendar.c' || echo './'`gnokii-calendar.c
mv -f .deps/gnokii-gnokii-calendar.Tpo .deps/gnokii-gnokii-calendar.Po
arm-none-linux-gnueabi-gcc 
-DLOCALEDIR=\"/home/samuele/geam/gnokii/build/share/locale\" -DHAVE_CONFIG_H 
-I. -I../include    -I../include -g -O2 -Wall -Wno-pointer-sign 
-fvisibility=hidden -fno-strict-aliasing  -MT gnokii-gnokii-dial.o -MD -MP -MF 
.deps/gnokii-gnokii-dial.Tpo -c -o gnokii-gnokii-dial.o `test -f 
'gnokii-dial.c' || echo './'`gnokii-dial.c
mv -f .deps/gnokii-gnokii-dial.Tpo .deps/gnokii-gnokii-dial.Po
arm-none-linux-gnueabi-gcc 
-DLOCALEDIR=\"/home/samuele/geam/gnokii/build/share/locale\" -DHAVE_CONFIG_H 
-I. -I../include    -I../include -g -O2 -Wall -Wno-pointer-sign 
-fvisibility=hidden -fno-strict-aliasing  -MT gnokii-gnokii-file.o -MD -MP -MF 
.deps/gnokii-gnokii-file.Tpo -c -o gnokii-gnokii-file.o `test -f 
'gnokii-file.c' || echo './'`gnokii-file.c
mv -f .deps/gnokii-gnokii-file.Tpo .deps/gnokii-gnokii-file.Po
arm-none-linux-gnueabi-gcc 
-DLOCALEDIR=\"/home/samuele/geam/gnokii/build/share/locale\" -DHAVE_CONFIG_H 
-I. -I../include    -I../include -g -O2 -Wall -Wno-pointer-sign 
-fvisibility=hidden -fno-strict-aliasing  -MT gnokii-gnokii-logo.o -MD -MP -MF 
.deps/gnokii-gnokii-logo.Tpo -c -o gnokii-gnokii-logo.o `test -f 
'gnokii-logo.c' || echo './'`gnokii-logo.c
mv -f .deps/gnokii-gnokii-logo.Tpo .deps/gnokii-gnokii-logo.Po
arm-none-linux-gnueabi-gcc 
-DLOCALEDIR=\"/home/samuele/geam/gnokii/build/share/locale\" -DHAVE_CONFIG_H 
-I. -I../include    -I../include -g -O2 -Wall -Wno-pointer-sign 
-fvisibility=hidden -fno-strict-aliasing  -MT gnokii-gnokii-mms.o -MD -MP -MF 
.deps/gnokii-gnokii-mms.Tpo -c -o gnokii-gnokii-mms.o `test -f 'gnokii-mms.c' 
|| echo './'`gnokii-mms.c
mv -f .deps/gnokii-gnokii-mms.Tpo .deps/gnokii-gnokii-mms.Po
arm-none-linux-gnueabi-gcc 
-DLOCALEDIR=\"/home/samuele/geam/gnokii/build/share/locale\" -DHAVE_CONFIG_H 
-I. -I../include    -I../include -g -O2 -Wall -Wno-pointer-sign 
-fvisibility=hidden -fno-strict-aliasing  -MT gnokii-gnokii-monitor.o -MD -MP 
-MF .deps/gnokii-gnokii-monitor.Tpo -c -o gnokii-gnokii-monitor.o `test -f 
'gnokii-monitor.c' || echo './'`gnokii-monitor.c
mv -f .deps/gnokii-gnokii-monitor.Tpo .deps/gnokii-gnokii-monitor.Po
arm-none-linux-gnueabi-gcc 
-DLOCALEDIR=\"/home/samuele/geam/gnokii/build/share/locale\" -DHAVE_CONFIG_H 
-I. -I../include    -I../include -g -O2 -Wall -Wno-pointer-sign 
-fvisibility=hidden -fno-strict-aliasing  -MT gnokii-gnokii-other.o -MD -MP -MF 
.deps/gnokii-gnokii-other.Tpo -c -o gnokii-gnokii-other.o `test -f 
'gnokii-other.c' || echo './'`gnokii-other.c
mv -f .deps/gnokii-gnokii-other.Tpo .deps/gnokii-gnokii-other.Po
arm-none-linux-gnueabi-gcc 
-DLOCALEDIR=\"/home/samuele/geam/gnokii/build/share/locale\" -DHAVE_CONFIG_H 
-I. -I../include    -I../include -g -O2 -Wall -Wno-pointer-sign 
-fvisibility=hidden -fno-strict-aliasing  -MT gnokii-gnokii-phonebook.o -MD -MP 
-MF .deps/gnokii-gnokii-phonebook.Tpo -c -o gnokii-gnokii-phonebook.o `test -f 
'gnokii-phonebook.c' || echo './'`gnokii-phonebook.c
mv -f .deps/gnokii-gnokii-phonebook.Tpo .deps/gnokii-gnokii-phonebook.Po
arm-none-linux-gnueabi-gcc 
-DLOCALEDIR=\"/home/samuele/geam/gnokii/build/share/locale\" -DHAVE_CONFIG_H 
-I. -I../include    -I../include -g -O2 -Wall -Wno-pointer-sign 
-fvisibility=hidden -fno-strict-aliasing  -MT gnokii-gnokii-profile.o -MD -MP 
-MF .deps/gnokii-gnokii-profile.Tpo -c -o gnokii-gnokii-profile.o `test -f 
'gnokii-profile.c' || echo './'`gnokii-profile.c
mv -f .deps/gnokii-gnokii-profile.Tpo .deps/gnokii-gnokii-profile.Po
arm-none-linux-gnueabi-gcc 
-DLOCALEDIR=\"/home/samuele/geam/gnokii/build/share/locale\" -DHAVE_CONFIG_H 
-I. -I../include    -I../include -g -O2 -Wall -Wno-pointer-sign 
-fvisibility=hidden -fno-strict-aliasing  -MT gnokii-gnokii-ringtone.o -MD -MP 
-MF .deps/gnokii-gnokii-ringtone.Tpo -c -o gnokii-gnokii-ringtone.o `test -f 
'gnokii-ringtone.c' || echo './'`gnokii-ringtone.c
mv -f .deps/gnokii-gnokii-ringtone.Tpo .deps/gnokii-gnokii-ringtone.Po
arm-none-linux-gnueabi-gcc 
-DLOCALEDIR=\"/home/samuele/geam/gnokii/build/share/locale\" -DHAVE_CONFIG_H 
-I. -I../include    -I../include -g -O2 -Wall -Wno-pointer-sign 
-fvisibility=hidden -fno-strict-aliasing  -MT gnokii-gnokii-security.o -MD -MP 
-MF .deps/gnokii-gnokii-security.Tpo -c -o gnokii-gnokii-security.o `test -f 
'gnokii-security.c' || echo './'`gnokii-security.c
mv -f .deps/gnokii-gnokii-security.Tpo .deps/gnokii-gnokii-security.Po
arm-none-linux-gnueabi-gcc 
-DLOCALEDIR=\"/home/samuele/geam/gnokii/build/share/locale\" -DHAVE_CONFIG_H 
-I. -I../include    -I../include -g -O2 -Wall -Wno-pointer-sign 
-fvisibility=hidden -fno-strict-aliasing  -MT gnokii-gnokii-settings.o -MD -MP 
-MF .deps/gnokii-gnokii-settings.Tpo -c -o gnokii-gnokii-settings.o `test -f 
'gnokii-settings.c' || echo './'`gnokii-settings.c
mv -f .deps/gnokii-gnokii-settings.Tpo .deps/gnokii-gnokii-settings.Po
arm-none-linux-gnueabi-gcc 
-DLOCALEDIR=\"/home/samuele/geam/gnokii/build/share/locale\" -DHAVE_CONFIG_H 
-I. -I../include    -I../include -g -O2 -Wall -Wno-pointer-sign 
-fvisibility=hidden -fno-strict-aliasing  -MT gnokii-gnokii-sms.o -MD -MP -MF 
.deps/gnokii-gnokii-sms.Tpo -c -o gnokii-gnokii-sms.o `test -f 'gnokii-sms.c' 
|| echo './'`gnokii-sms.c
mv -f .deps/gnokii-gnokii-sms.Tpo .deps/gnokii-gnokii-sms.Po
arm-none-linux-gnueabi-gcc 
-DLOCALEDIR=\"/home/samuele/geam/gnokii/build/share/locale\" -DHAVE_CONFIG_H 
-I. -I../include    -I../include -g -O2 -Wall -Wno-pointer-sign 
-fvisibility=hidden -fno-strict-aliasing  -MT gnokii-gnokii-todo.o -MD -MP -MF 
.deps/gnokii-gnokii-todo.Tpo -c -o gnokii-gnokii-todo.o `test -f 
'gnokii-todo.c' || echo './'`gnokii-todo.c
mv -f .deps/gnokii-gnokii-todo.Tpo .deps/gnokii-gnokii-todo.Po
arm-none-linux-gnueabi-gcc 
-DLOCALEDIR=\"/home/samuele/geam/gnokii/build/share/locale\" -DHAVE_CONFIG_H 
-I. -I../include    -I../include -g -O2 -Wall -Wno-pointer-sign 
-fvisibility=hidden -fno-strict-aliasing  -MT gnokii-gnokii-utils.o -MD -MP -MF 
.deps/gnokii-gnokii-utils.Tpo -c -o gnokii-gnokii-utils.o `test -f 
'gnokii-utils.c' || echo './'`gnokii-utils.c
mv -f .deps/gnokii-gnokii-utils.Tpo .deps/gnokii-gnokii-utils.Po
arm-none-linux-gnueabi-gcc 
-DLOCALEDIR=\"/home/samuele/geam/gnokii/build/share/locale\" -DHAVE_CONFIG_H 
-I. -I../include    -I../include -g -O2 -Wall -Wno-pointer-sign 
-fvisibility=hidden -fno-strict-aliasing  -MT gnokii-gnokii-wap.o -MD -MP -MF 
.deps/gnokii-gnokii-wap.Tpo -c -o gnokii-gnokii-wap.o `test -f 'gnokii-wap.c' 
|| echo './'`gnokii-wap.c
mv -f .deps/gnokii-gnokii-wap.Tpo .deps/gnokii-gnokii-wap.Po
/bin/bash ../libtool  --tag=CC   --mode=link arm-none-linux-gnueabi-gcc 
-I../include -g -O2 -Wall -Wno-pointer-sign -fvisibility=hidden 
-fno-strict-aliasing    -o gnokii gnokii-gnokii.o gnokii-gnokii-calendar.o 
gnokii-gnokii-dial.o gnokii-gnokii-file.o gnokii-gnokii-logo.o 
gnokii-gnokii-mms.o gnokii-gnokii-monitor.o gnokii-gnokii-other.o 
gnokii-gnokii-phonebook.o gnokii-gnokii-profile.o gnokii-gnokii-ringtone.o 
gnokii-gnokii-security.o gnokii-gnokii-settings.o gnokii-gnokii-sms.o 
gnokii-gnokii-todo.o gnokii-gnokii-utils.o gnokii-gnokii-wap.o 
../common/libgnokii.la    ../getopt/libgetopt.a 
libtool: link: arm-none-linux-gnueabi-gcc -I../include -g -O2 -Wall 
-Wno-pointer-sign -fvisibility=hidden -fno-strict-aliasing -o .libs/gnokii 
gnokii-gnokii.o gnokii-gnokii-calendar.o gnokii-gnokii-dial.o 
gnokii-gnokii-file.o gnokii-gnokii-logo.o gnokii-gnokii-mms.o 
gnokii-gnokii-monitor.o gnokii-gnokii-other.o gnokii-gnokii-phonebook.o 
gnokii-gnokii-profile.o gnokii-gnokii-ringtone.o gnokii-gnokii-security.o 
gnokii-gnokii-settings.o gnokii-gnokii-sms.o gnokii-gnokii-todo.o 
gnokii-gnokii-utils.o gnokii-gnokii-wap.o  ../common/.libs/libgnokii.so 
../getopt/libgetopt.a -Wl,-rpath -Wl,/home/samuele/geam/gnokii/build/lib
../common/.libs/libgnokii.so: undefined reference to `g_utf8_strncpy'
../common/.libs/libgnokii.so: undefined reference to `g_utf8_validate'
../common/.libs/libgnokii.so: undefined reference to `g_utf8_skip'
../common/.libs/libgnokii.so: undefined reference to `g_utf8_offset_to_pointer'
../common/.libs/libgnokii.so: undefined reference to `g_locale_to_utf8'
../common/.libs/libgnokii.so: undefined reference to `g_utf8_get_char'
../common/.libs/libgnokii.so: undefined reference to `g_free'
../common/.libs/libgnokii.so: undefined reference to `g_utf8_strlen'
collect2: ld returned 1 exit status
make[1]: *** [gnokii] Error 1


These functions are part of the glib-2.0 library, I have already set the 
GLIB_LIBS variable so I think the linker should know where to find the glib-2.0 
libraries... I can't understand well what's going wrong here...

Thanks for any help.



-- 
Ing. Samuele Forconi
Responsabile Sviluppo SW
WaveComm S.r.l.
Sede legale: Via Donizetti 25, 53011 Castellina in Chianti (SI)
Sede operativa: Loc. Belvedere - Ingresso 2, 53034 Colle Val d'Elsa (SI)
Phone: (39) 0577 043101
Fax: (39) 0577 043101
Mobile: (39) 347 5899717
Skype: samueleforconi
E-mail: address@hidden
URL: www.wavecomm.it

_____________________________________________________________________________________________

Ai sensi del D. Lgs. n.196 del 30/06/2003, questo messaggio ed ogni suo 
allegato sono confidenziali e ad uso esclusivo del destinatario, il quale è 
l'unico autorizzato ad usarlo, copiarlo e, sotto la propria responsabilità, 
diffonderlo. Se il ricevente non è il destinatario diretto del presente 
messaggio, è pregato di contattare l'originario mittente e di cancellare questo 
messaggio ed ogni suo allegato dal sistema di posta. Se il ricevente non è il 
destinatario diretto del presente messaggio, sono vietati l'uso, la 
riproduzione, e la stampa di questo messaggio e di ogni suo allegato, nonché la 
diffusione del loro contenuto a qualsiasi altro soggetto.

For the D. Lgs. n.196 of 30/06/2003, this message and any attachment are 
confidential and privileged for the the recipient identified above, who only 
may use, copy and, under his/her responsibility, further disseminate it. If you 
are not the intended recipient, please contact the sender and delete this 
message and any attachment from your system. If you are not the intended 
recipient you must not use, copy or print this message or attachment or 
disclose the contents to any other person.



reply via email to

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