gnokii-users
[Top][All Lists]
Advanced

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

gnokii for ARM


From: sunitha Adavakattu Puthenveedu
Subject: gnokii for ARM
Date: Thu, 24 Jun 2010 08:10:29 -0700

Hi

  Has anyone recently ported gnokii for ARM?

I have tried gnokii-0.6.27  and gnokii-0.6.29. The gnokii-0.6.29 needed a whole lot of
new packages (glibc, gtk etc) for ubuntu 9.1,so, I reverted to gnokii-0.6.27.

Here are the steps I used,
./configure --without-x --disable-xdebug --target=arm-linux --host=x86-linux
CC=arm-linux-gnu-gcc ARCH=arm AR=arm-linux-gnu-ar RANLIB=arm-linux-ranlib make

I just need the library(libgnokii.so).
Is there anything else I need to do because I get errors for the above make operation. Pl see the line
about "unsafe for cross-compilation"

arm-linux-gcc -DHAVE_CONFIG_H -I. -I../include    -I../include -I./ -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include     -DMODULES_DIR=\"/usr/local/lib/smsd\" -DLOCALEDIR=\"/usr/local/share/locale\" -pthread -g -O2 -Wall -Wno-pointer-sign -fvisibility=hidden -fno-strict-aliasing  -MT smsd.o -MD -MP -MF .deps/smsd.Tpo -c -o smsd.o smsd.c
cc1: warning: include location "/usr/include/glib-2.0" is unsafe for cross-compilation
mv -f .deps/smsd.Tpo .deps/smsd.Po
arm-linux-gcc -DHAVE_CONFIG_H -I. -I../include    -I../include -I./ -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include     -DMODULES_DIR=\"/usr/local/lib/smsd\" -DLOCALEDIR=\"/usr/local/share/locale\" -pthread -g -O2 -Wall -Wno-pointer-sign -fvisibility=hidden -fno-strict-aliasing  -MT lowlevel.o -MD -MP -MF .deps/lowlevel.Tpo -c -o lowlevel.o lowlevel.c
cc1: warning: include location "/usr/include/glib-2.0" is unsafe for cross-compilation
mv -f .deps/lowlevel.Tpo .deps/lowlevel.Po
/bin/sh ../libtool  --tag=CC   --mode=link arm-linux-gcc -I../include -I./ -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include     -DMODULES_DIR=\"/usr/local/lib/smsd\" -DLOCALEDIR=\"/usr/local/share/locale\" -pthread -g -O2 -Wall -Wno-pointer-sign -fvisibility=hidden -fno-strict-aliasing    -o smsd smsd.o lowlevel.o -Wl,--export-dynamic -lgmodule-2.0 -lglib-2.0   -pthread  ../common/libgnokii.la
libtool: link: arm-linux-gcc -I../include -I./ -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DMODULES_DIR=\"/usr/local/lib/smsd\" -DLOCALEDIR=\"/usr/local/share/locale\" -pthread -g -O2 -Wall -Wno-pointer-sign -fvisibility=hidden -fno-strict-aliasing -o smsd smsd.o lowlevel.o -Wl,--export-dynamic -pthread  -lgmodule-2.0 -lglib-2.0 ../common/.libs/libgnokii.a -pthread
/usr/local/arm/4.3.2/bin/../lib/gcc/arm-none-linux-gnueabi/4.3.2/../../../../arm-none-linux-gnueabi/bin/ld: cannot find -lgmodule-2.0
collect2: ld returned 1 exit status
make[1]: *** [smsd] Error 1

 

reply via email to

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