Cross compiling glib and GConf for openmoko

Deniz Koçak lenduha at
Thu Jul 3 13:53:25 CEST 2008

On Thu, Jul 3, 2008 at 6:09 AM, Julian Chu <julian_chu at> wrote:
> On Wed, Jul 02, 2008 at 08:24:14PM +0300, Deniz Koçak wrote:
>> Hi,
>> As a part of my project ( IM/VoIP based on telapathy framework ) while
>> I was trying to compile libempathy (0.23.x), I noticed that libempathy
>> depends on glib version 2.16, but the glib version in the toolchain is
>> 2.14.x? What can I do at this point, should I try to cross compile new
>> glib version ( what about runtime, we need this version during the
>> runtime? ) or it can be found as a binary somewhere in the
>> repositories (newer version of glib).
> Hi Deniz,
>   $ cat glib-2.0.pc |grep Version
>   Version: 2.16.1
>   $ cat |grep glib-2.0
>   PREFERRED_VERSION_glib-2.0 ?= "2.16.1"
>   PREFERRED_VERSION_glib-2.0-native ?= "2.16.1"
>   the glib version of toolchain is 2.16.1

Yes, you are right my toolchain version is older than the current one,
so I updated to the new toolchain. But I have a different problem now.
I could compile libtelepathy-glib with the toolchain that I had (
before the update ) but now I get the error below,

/bin/sh ../libtool --mode=link ccache arm-angstrom-linux-gnueabi-gcc
-march=armv4t -mtune=arm920t -std=gnu99 -DG_LOG_DOMAIN=\"tp-glib\"
-Wall -Wdeclaration-after-statement -Wshadow -Wstrict-prototypes
-Wmissing-prototypes -Wmissing-declarations
-I.. -I.. -isystem/usr/local/openmoko/arm/arm-angstrom-linux-gnueabi/include
-fexpensive-optimizations -fomit-frame-pointer -frename-registers -Os
-Wl,-O1 -Wl,-O1 -o -rpath
-version-info "12":"1":"12"
libtool: link: cannot find the library
or unhandled argument
make[3]: *** [] Hata 1
make[3]: `/home/deniz/gsoc/proje/telepathy-glib-0.7.11/telepathy-glib'
dizininden çıkılıyor
make[2]: *** [all] Hata 2
rm _gen/tp-spec-generic.xml _gen/tp-spec-connection.xml
_gen/tp-spec-connection-manager.xml _gen/tp-spec-channel.xml
_gen/tp-spec-dbus-daemon.xml _gen/tp-spec-media-session-handler.xml
make[2]: `/home/deniz/gsoc/proje/telepathy-glib-0.7.11/telepathy-glib'
dizininden çıkılıyor
make[1]: *** [all-recursive] Hata 1
make[1]: `/home/deniz/gsoc/p

More information about the openmoko-devel mailing list