Results 1 to 2 of 2

Thread: qt-embedded cross compilation error help

  1. #1
    Join Date
    Sep 2008
    Posts
    84
    Thanks
    28
    Thanked 1 Time in 1 Post
    Qt products
    Qt4 Qt/Embedded
    Platforms
    Unix/X11 Windows

    Question qt-embedded cross compilation error help

    hii

    i need help in qt-embededd-linux-opensource-4.4.0.
    i want cross compile qt application and run it on PXA320 ARM XScale Processor.

    My ./configure option as follows:
    ./configure -embedded arm -little-endian

    Note :I have successfully run ./configure and make command.

    while using gmake-install following error occurs:

    arm-linux-gnueabi-g++ -fno-exceptions -Wl,-rpath,/usr/local/Trolltech/QtEmbedded-4.4.1-arm/lib -Wl,-rpath,/usr/local/Trolltech/QtEmbedded-4.4.1/lib -o screenshot .obj/release-static-emb-arm/main.o .obj/release-static-emb-arm/screenshot.o .obj/release-static-emb-arm/moc_screenshot.o -L//home/ajinkya/qtemb/qt/lib -lQtGui -L//home/ajinkya/qtemb/qt/lib -lQtNetwork -lQtCore -lm -lrt -ldl -lpthread
    /home/ajinkya/qtemb/qt/lib/libQtCore.so: undefined reference to `_dl_hwcap'
    /home/ajinkya/qtemb/qt/lib/libQtCore.so: undefined reference to `__dlsym'
    /home/ajinkya/qtemb/qt/lib/libQtCore.so: undefined reference to `__dlopen'
    /home/ajinkya/qtemb/qt/lib/libQtCore.so: undefined reference to `__dlclose'
    /home/ajinkya/qtemb/qt/lib/libQtCore.so: undefined reference to `__dlerror'

    collect2: ld returned 1 exit status


    Please helpp

  2. #2
    Join Date
    Oct 2008
    Posts
    3
    Thanked 1 Time in 1 Post
    Qt products
    Qt/Embedded
    Platforms
    Unix/X11 Windows

    Default Re: qt-embedded cross compilation error help

    It looks like you try to link arm code with host libraries.

    i.e. in you command:
    1. /usr/local/Trolltech/QtEmbedded-4.4.1-arm/lib - path to the arm libraries
    2. /usr/local/Trolltech/QtEmbedded-4.4.1/lib - path to the host

    try to compile and link without 1 line.

    Maybe it will help.

  3. The following user says thank you to zensei for this useful post:

    aj2903 (3rd November 2008)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.