Cross compiling glib and GConf for openmoko

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


On Thu, Jul 3, 2008 at 6:09 AM, Julian Chu <julian_chu at openmoko.com> 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 preferred-om-2008-versions.inc |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/usr/local/openmoko/arm/arm-angstrom-linux-gnueabi/usr/include/dbus-1.0
-I/usr/local/openmoko/arm/arm-angstrom-linux-gnueabi/usr/lib/dbus-1.0/include
-I/usr/local/openmoko/arm/arm-angstrom-linux-gnueabi/usr/include/glib-2.0
-I/usr/local/openmoko/arm/arm-angstrom-linux-gnueabi/usr/lib/glib-2.0/include
-I/usr/local/openmoko/arm/arm-angstrom-linux-gnueabi/usr/include/glib-2.0
-I/usr/local/openmoko/arm/arm-angstrom-linux-gnueabi/usr/lib/glib-2.0/include
-I.. -I.. -isystem/usr/local/openmoko/arm/arm-angstrom-linux-gnueabi/include
-fexpensive-optimizations -fomit-frame-pointer -frename-registers -Os
-L/usr/local/openmoko/arm/arm-angstrom-linux-gnueabi/lib
-Wl,-rpath-link,/usr/local/openmoko/arm/arm-angstrom-linux-gnueabi/lib
-Wl,-O1 -Wl,-O1 -o libtelepathy-glib.la -rpath
/usr/local/openmoko/arm/arm-angstrom-linux-gnueabi/usr//lib
-version-info "12":"1":"12"
-Wl,--version-script=_gen/version-script.txt
libtelepathy-glib-internal.la
libtool: link: cannot find the library
`/space/fic/openmoko-daily/neo1973/work/armv4t-angstrom-linux-gnueabi/glib-2.0-2.16.1-r4/glib-2.16.1/glib/libglib-2.0.la'
or unhandled argument
`/space/fic/openmoko-daily/neo1973/work/armv4t-angstrom-linux-gnueabi/glib-2.0-2.16.1-r4/glib-2.16.1/glib/libglib-2.0.la'
make[3]: *** [libtelepathy-glib.la] 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
_gen/tp-spec-media-stream-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