Join Today
+ Reply to Thread
Results 1 to 6 of 6
  1. #1
    Join Date
    Jan 2007
    Location
    Belo Horizonte, MG, Brazil
    Posts
    375

    Default Error on linking

    I'm trying to develop a simple app but a got a error message on linking process.
    Anyone can help me?
    Code:
    carlos@SEAHORSE [teste] $ arm-linux-g++ main.cpp -I../include/ezx -I../include/qt -L. -L../lib -L../lib/ezx/lib -lezxappbase -lqte-mt -ljpeg -lutil -lezxjpeg -lipp-jp -lipp-miscGen -lezxappsdk -o teste
    
    /home/carlos/download/A1200/tmp/dev/mkezx-0.9.16/tools/bin/../lib/gcc-lib/arm-linux-gnu/3.3.6/../../../../arm-linux-gnu/bin/ld: warning: libezxjpeg.so.1, needed by ../lib/ezx/lib/libqte-mt.so, not found (try using -rpath or -rpath-link)
    /tmp/cc7v8Znr.o(.text+0x98): In function `main':
    : undefined reference to `ZApplication::enableHardKeyEventFilter(bool)'
    /tmp/cc7v8Znr.o(.text+0xc0): In function `main':
    : undefined reference to `RES_ICON_Reader::getIcon(char const*)'
    /tmp/cc7v8Znr.o(.text+0x2e8): In function `main':
    : undefined reference to `RES_ICON_Reader::getIcon(char const*)'
    /tmp/cc7v8Znr.o(.gnu.linkonce.r._ZTI6QGList+0x8): undefined reference to `typeinfo for QCollection'collect2: ld returned 1 exit status

  2. #2
    Join Date
    Sep 2005
    Location
    Jakarta, Indonesia
    Posts
    1,091

    Default

    I think for first step better you try build simple application using qt only library without ezx stuff on A1200.

    Code:
    #include <qapplication>
    #include <qwidget>
    
    int main(int argc, char** argv)
    QApplication a(argc, argv);
    QWidget *w = 0;
    w = new QWidget(0);
    a.setMainWidget(w);
    w->show();
    int ret = a.exec();
    if (w) delete w;
    return ret;
    }
    eXMMS and Rockbox running on E680, E680i, E680g, A780, A1200 and ROKR E6

  3. #3
    Join Date
    Sep 2005
    Location
    Jakarta, Indonesia
    Posts
    1,091

    Default

    If above code successfuly compiled and running on A1200 you can add qpushbutton, qlabel, qpopupmenu, qlistbox, and qlistview step by step. Every step you have to compile and try. If all step success, eXMMS on A1200 not so far
    eXMMS and Rockbox running on E680, E680i, E680g, A780, A1200 and ROKR E6

  4. #4
    Join Date
    Jan 2007
    Location
    Belo Horizonte, MG, Brazil
    Posts
    375

    Default

    Thank you for help.
    Now I got no error on linking.
    But when I try to exec the app I got a segmentation fault error.

  5. #5
    Join Date
    Sep 2005
    Location
    Jakarta, Indonesia
    Posts
    1,091

    Default

    Using samr7's dev-ezx qt header with comment out QT_EZX_MUNGE in qconfig.h, my xmms GUI linked to A1200 qt library compiled with success but may be will raise seg. fault when running on A1200. Hard for me without A1200 device Keep trying, waiting for a good news!
    eXMMS and Rockbox running on E680, E680i, E680g, A780, A1200 and ROKR E6

  6. #6
    Join Date
    Jan 2007
    Location
    Belo Horizonte, MG, Brazil
    Posts
    375

    Default

    I have commented out QT_EZX_MUNGE in qconfig.h but still having seg fault error.


 
+ Reply to Thread

Similar Threads

  1. Q: Always get Flashing Error "Error jumping to RAM Downloader"
    By MANUP456 in forum A1200 General Chat
    Replies: 7
    Last Post: 05-13-2011, 10:31 AM
  2. Replies: 6
    Last Post: 12-07-2008, 05:37 AM
  3. Linking A1200 Qt apps... Problem
    By ilchenko in forum Development
    Replies: 0
    Last Post: 11-09-2007, 09:13 AM
  4. help on error.
    By ccbtenchi in forum E680i General Chat
    Replies: 1
    Last Post: 08-25-2006, 10:59 AM
  5. SD card insertion error : unable to MMC_APP_CMD error=19
    By Amador in forum E680i General Chat
    Replies: 9
    Last Post: 03-22-2006, 01:26 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
Single Sign On provided by vBSSO

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1