[oe] Cannot build gpe-mini browser

Khem Raj raj.khem at gmail.com
Mon Dec 21 23:39:56 UTC 2009


On Mon, Dec 21, 2009 at 1:32 PM, Florian Mayer (Mayer Electronics)
<Florian.Mayer at mayer-electronics.de> wrote:
> Hello,
>
> if I try to bitbake gpe-mini-browser, I get the following output:
>
> | arm-angstrom-linux-gcc -march=armv4 -mtune=strongarm
> -DPACKAGE_NAME=\"gpe-mini-browser\" -DPACKAGE_TARNAME=\"gpe-mini-browser\"
> -DPACKAGE_VERSION=\"0.21\" -DPACKAGE_STRING=\"gpe-mini-browser\ 0.21\"
> -DPACKAGE_BUGREPORT=\"philippedeswert at scarlet.be\"
> -DPACKAGE=\"gpe-mini-browser\" -DVERSION=\"0.21\" -DSTDC_HEADERS=1
> -DGETTEXT_PACKAGE=\"gpe-mini-browser\" -DHAVE_SYS_TYPES_H=1
> -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1
> -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1
> -DHAVE_LOCALE_H=1 -DHAVE_LC_MESSAGES=1 -DHAVE_BIND_TEXTDOMAIN_CODESET=1
> -DHAVE_GETTEXT=1 -DHAVE_DCGETTEXT=1 -DENABLE_NLS=1 -I.
> -I/home/gonzo/ARM-devel/oe/build/tmp/staging/arm-oabi-angstrom-linux/usr/include/gtk-2.0
> -I/home/gonzo/ARM-devel/oe/build/tmp/staging/arm-oabi-angstrom-linux/usr/lib/gtk-2.0/include
> -I/home/gonzo/ARM-devel/oe/build/tmp/staging/arm-oabi-angstrom-linux/usr/include/atk-1.0
> -I/home/gonzo/ARM-devel/oe/build/tmp/staging/arm-oabi-angstrom-linux/usr/include/cairo
> -I/home/gonzo/ARM-devel/oe/build/tmp/staging/arm-oabi-angstrom-linux/usr/include/pango-1.0
> -I/home/gonzo/ARM-devel/oe/build/tmp/staging/arm-oabi-angstrom-linux/usr/include/glib-2.0
> -I/home/gonzo/ARM-devel/oe/build/tmp/staging/arm-oabi-angstrom-linux/usr/lib/glib-2.0/include
> -I/home/gonzo/ARM-devel/oe/build/tmp/staging/arm-oabi-angstrom-linux/usr/include/pixman-1
> -I/home/gonzo/ARM-devel/oe/build/tmp/staging/arm-oabi-angstrom-linux/usr/include/freetype2
> -I/home/gonzo/ARM-devel/oe/build/tmp/staging/arm-oabi-angstrom-linux/usr/include/libpng12
> -I/home/gonzo/ARM-devel/oe/build/tmp/staging/arm-oabi-angstrom-linux/usr/include/gtk-webcore/webi
> -I/home/gonzo/ARM-devel/oe/build/tmp/staging/arm-oabi-angstrom-linux/usr/include/gtk-webcore
> -I/home/gonzo/ARM-devel/oe/build/tmp/staging/arm-oabi-angstrom-linux/usr/include/gtk-webcore/
>   -DPREFIX=\"/usr\" -Wall
>  -isystem/home/gonzo/ARM-devel/oe/build/tmp/staging/arm-oabi-angstrom-linux/usr/include
>  -Os -Wall -g -pedantic -std=c99   -MT db-backend.o -MD -MP -MF
> .deps/db-backend.Tpo -c -o db-backend.o db-backend.c
> | db-backend.c:224: warning: C99 inline functions are not supported; using
> GNU89
> | db-backend.c:224: warning: to disable this warning use -fgnu89-inline or
> the gnu_inline function attribute
> | mv -f .deps/db-backend.Tpo .deps/db-backend.Po
> | arm-angstrom-linux-gcc -march=armv4 -mtune=strongarm  -Os -Wall -g
> -pedantic -std=c99
>  -L/home/gonzo/ARM-devel/oe/build/tmp/staging/arm-oabi-angstrom-linux/usr/lib
> -Wl,-rpath-link,/home/gonzo/ARM-devel/oe/build/tmp/staging/arm-oabi-angstrom-linux/usr/lib
> -Wl,-O1 -Wl,--hash-style=gnu -o gpe-mini-browser interface-calls.o
> loading-calls.o misc-calls.o settings.o  gpe-mini-browser.o db-backend.o
>  -lgpewidget -lgtk_webcore_nrcit -lgthread-2.0 -lgtk_webcore_nrcore -lcurl
> -lgtk_webcore_jscore -lXft -lgtk-x11-2.0 -lXrender -lX11 -lgdk-x11-2.0
> -latk-1.0 -lgio-2.0 -lpangoft2-1.0 -lgdk_pixbuf-2.0 -lpangocairo-1.0 -lcairo
> -lpango-1.0 -lfreetype -lfontconfig -lgobject-2.0 -lgmodule-2.0 -lglib-2.0
> -lsqlite
> |
> /home/gonzo/ARM-devel/oe/build/tmp/cross/arm-oabi/lib/gcc/arm-angstrom-linux/4.2.4/../../../../arm-angstrom-linux/bin/ld:
> gpe-mini-browser: hidden symbol `__ltdf2' in
> /home/gonzo/ARM-devel/oe/build/tmp/cross/arm-oabi/lib/gcc/arm-angstrom-linux/4.2.4/libgcc.a(_cmpdf2.o)
> is referenced by DSO

My guess is that libgcc is not linked in correctly to a shared library
that is being pulled in here.
 You can add -lgcc to the commandline and see if that helps but you
have to find out which library is it.
if you add --verbose to the linking command above then it will show
more details about options being
passed to ld which can give more idea. For shared objects gcc might be
pulling in libgcc_s.so to link with
and assuming that libgcc.a and libgcc_s has same symbols which may not
be the case.


> |
> /home/gonzo/ARM-devel/oe/build/tmp/cross/arm-oabi/lib/gcc/arm-angstrom-linux/4.2.4/../../../../arm-angstrom-linux/bin/ld:
> final link failed: Nonrepresentable section on output
> | collect2: ld returned 1 exit status
> | make[1]: *** [gpe-mini-browser] Error 1

This error I believe is due to first problem above.

Thx

-Khem




More information about the Openembedded-devel mailing list