[oe] SDK problems

Khem Raj raj.khem at gmail.com
Fri Oct 23 00:35:31 UTC 2009


On Thu, Oct 22, 2009 at 1:22 PM, Gary Thomas <gary at mlbassoc.com> wrote:
> I tried to build the QTE SDK using
>  git://git.openembedded.org/openembedded
>  9e54aa00b3de07933fabf5f6193a4f40af3b54f9
>
> When I try the example
>  (http://docs.openembedded.org/usermanual/html/ch05s08.html),
> I get:
>
> $ make
> arm-angstrom-linux-gnueabi-g++ -c -pipe   -Wall -W -D_REENTRANT
> -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED
> -I/usr/local/angstrom/arm/arm-angstrom-linux-gnueabi/usr/share/qtopia/mkspecs/linux-g++
> -I.
> -I/usr/local/angstrom/arm/arm-angstrom-linux-gnueabi//usr/include/qtopia/QtCore
> -I/usr/local/angstrom/arm/arm-angstrom-linux-gnueabi//usr/include/qtopia/QtGui
> -I/usr/local/angstrom/arm/arm-angstrom-linux-gnueabi//usr/include/qtopia -I.
> -o main.o main.cpp
> arm-angstrom-linux-gnueabi-g++  -Wl,-rpath-link,/usr/lib -o qte-example
> main.o    -L/usr/local/angstrom/arm/arm-angstrom-linux-gnueabi//usr/lib
> -lQtGuiE -lpng -lfreetype -lQtNetworkE -pthread -pthread -pthread -pthread
> -pthread -pthread -lQtCoreE -lz -lm -pthread -lgthread-2.0 -lrt -lglib-2.0
> -ldl -lpthread
> /usr/local/angstrom/arm/arm-angstrom-linux-gnueabi/usr/lib/crt1.o: In
> function `_start':
> init.c:(.text+0x2c): undefined reference to `__libc_csu_fini'
> init.c:(.text+0x34): undefined reference to `__libc_csu_init'
> collect2: ld returned 1 exit status
> make: *** [qte-example] Error 1
>
> Any ideas what I need to do to fix this?

One reason could be that its not getting right libc to link with. You
could check <staging>/usr/lib/libc.so
and it should be a text file which points to right libc to link with.
On glibc it was different than in eglibc
eglibc one should work. I do not know about glibc as I do not have
working version of glibc here.

>
> Thanks
>
> --
> ------------------------------------------------------------
> Gary Thomas                 |  Consulting for the
> MLB Associates              |    Embedded world
> ------------------------------------------------------------
>
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel at lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
>




More information about the Openembedded-devel mailing list