Join Today
+ Reply to Thread
Page 1 of 2 12 LastLast
Results 1 to 10 of 15
  1. #1
    Join Date
    Sep 2005
    Location
    Germany, Berlin
    Posts
    109

    Default help on getting ezx working..

    hello guys
    i have a working cross compiler and now want to set it up for compiling ezx applications for my a780
    then i installed the ezx_sdk from forum...
    now everytime i wanted to compile a hello word included in the sdk i got compile errors from the QT libs (something is not declared and others)
    i copied the header files in all include directories that have sth. to do with the cross toolchain and sdk to eliminate patherrors.. but no luck

    i have opensuse 10 running and also tried ELDK but this doesn't work
    so i use the ezx-crosstool-0.5

    could someone give some instructions how to set up my environment?

    ps: i also have searched the forum

    i did use the standard installation directories (/opt) for the cross-compiler and ezx-sdk...

    cu mightymop

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

    Default Re: help on getting ezx working..

    Maybe I can help you with my ezx text editor source code. I will attach it in development forum, be patient. I have build native ezx text editor base on ezx-crosstool-0.5 and dev-ezx-0.2.0 + zmultilineedit header from ezx_sdk.

  3. #3
    Join Date
    Sep 2005
    Location
    Germany, Berlin
    Posts
    109

    Default Re: help on getting ezx working..

    i am using dev-ezx-0.2.0 too and always get the following errors when i try to compile the helloworld program

    mopserver:/opt/dev-ezx-0.2.0/helloworld # make
    arm-linux-g++ helloworld.o -o helloworld -L../lib -L../lib/ezx/lib -lezxappbase-xscale-r -lqte-mt-xscale-r -lezxjpeg-xscale-r -lezxnotification-xscale-r
    /opt/crosstool/gcc-arm-iwmmxt/gcc-3.3.6-glibc-2.3.2/arm-linux/lib/gcc-lib/arm-linux/3.3.6/../../../../arm-linux/bin/ld: cannot find -lqte-mt-xscale-r
    collect2: ld returned 1 exit status
    make: *** [helloworld] Error 1

    of course I copied the libraries from phone to /opt/dev-ezx-0.2.0/lib and /opt/dev-ezx-0.2.0/lib/ezx/lib

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

    Default Re: help on getting ezx working..

    Try my addon package to dev-ezx-0.2.0. Good luck!
    Attached Files Attached Files

  5. #5
    Join Date
    Sep 2005
    Location
    Germany, Berlin
    Posts
    109

    Default Re: help on getting ezx working..

    i copied your addon to /opt/dev-ezx-0.2.0/ and extracted it like decribed
    then i switched to /opt/dev-ezx-0.2.0/helloworld-qmake and have edit
    the setenv.sh, did a qmake helloworld.pro, make ...
    and now i get this:

    mopserver:/opt/dev-ezx-0.2.0/helloworld-qmake # qmake helloworld.pro
    mopserver:/opt/dev-ezx-0.2.0/helloworld-qmake # make
    /opt/dev-ezx-0.2.0/helloworld-qmake/../qt/bin/moc -I../qt/mkspecs/qws/linux-ipaq-g++ -I. -I/opt/dev-ezx-0.2.0/helloworld-qmake/../qt/include -I/opt/dev-ezx-0.2.0/helloworld-qmake/../ezx/include -I. -I. helloworld.cpp -o helloworld.moc
    Qt meta object compiler
    moc: Invalid argument
    Usage: moc [options] <header-file>
    -o file Write output to file rather than stdout
    -i Do not generate an #include statement
    -f[file] Force #include, optional file name
    -p path Path prefix for included file
    -k Do not stop on errors
    -nw Do not display warnings
    make: *** [helloworld.moc] Error 1
    mopserver:/opt/dev-ezx-0.2.0/helloworld-qmake #


    i think a little step by step documenation after installing the crosstool would be very useful

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

    Default Re: help on getting ezx working..

    I have follow leprechaun's and samr7's crosstool build instructions on Fedora Core 3 (qt-3.3.2) and then read carefully dev-ezx build instructions. samr7's crosstool resolve calculation problem (i.e. opie calculator, I call opie 'strange' calculator before recompile it with samr7's crosstool), now I used samr7's solution.

    I am not an advance to prepare a Makefile, I need qmake of course. Read my output message to build samr7's helloword, is there something different? Please check your qmake version.

    [ketut@localhost helloworld-qmake]$ rm Makefile

    [ketut@localhost helloworld-qmake]$ source setenv.sh

    [ketut@localhost helloworld-qmake]$ qmake -v
    Qmake version: 1.07a (Qt 3.3.2)
    Qmake is free software from Trolltech AS.

    [ketut@localhost helloworld-qmake]$ qmake helloworld.pro

    [ketut@localhost helloworld-qmake]$ make
    /opt/dev-ezx-0.2.0/helloworld-qmake/../qt/bin/moc helloworld.cpp -o helloworld.moc
    /opt/toolchain/arm-linux/gcc-3.3.2-glibc-2.3.2/bin/arm-linux-g++ -DQT_QWS_IPAQ -c -pipe -DQWS -fno-exceptions -fno-rtti -Wall -W -O2 -DQT_NO_DEBUG -I/opt/dev-ezx-0.2.0/qt/mkspecs/qws/linux-ipaq-g++ -I. -I/opt/dev-ezx-0.2.0/helloworld-qmake/../ezx/include -I/opt/dev-ezx-0.2.0/helloworld-qmake/../qt/include -o helloworld.o helloworld.cpp
    arm-linux-g++ -Wl,-rpath-link,/opt/toolchain/arm-linux/gcc-3.3.2-glibc-2.3.2/arm-linux/lib -Wl,-rpath-link,/opt/dev-ezx-0.2.0/helloworld-qmake/../qt/lib -o helloworld helloworld.o -L/opt/dev-ezx-0.2.0/helloworld-qmake/../qt/lib -L/opt/dev-ezx-0.2.0/helloworld-qmake/../ezx/lib -lezxappbase-xscale-r -lqte-mt-xscale-r -lezxjpeg-xscale-r -lezxnotification-xscale-r -lqte-mt

  7. #7
    Guest

    Default Re: help on getting ezx working..

    hello again

    here is the output from "qmake -v":

    QMake version: 2.00a
    Using Qt version 4.0.1 in /usr/lib

    i tried this now:
    >> /opt/dev-ezx-0.2.0/helloworld-qmake/../qt/bin/moc helloworld.cpp -o helloworld.moc
    << that one is ok

    >>
    /opt/crosstool/gcc-arm-iwmmxt/gcc-3.3.6-glibc-2.3.2/arm-linux/bin/arm-linux-g++ -DQT_QWS_IPAQ -c -pipe -DQWS -fno-exceptions -fno-rtti -Wall -W -O2 -DQT_NO_DEBUG -I/opt/dev-ezx-0.2.0/qt/mkspecs/qws/linux-ipaq-g++ -I. -I/opt/dev-ezx-0.2.0/helloworld-qmake/../ezx/include -I/opt/dev-ezx-0.2.0/helloworld-qmake/../qt/include -o helloworld.o helloworld.cpp
    << ok too

    but this
    >>
    arm-linux-g++ -Wl,-rpath-link,/opt/crosstool/gcc-arm-iwmmxt/gcc-3.3.6-glibc-2.3.2/arm-linux/lib -Wl,-rpath-link,/opt/dev-ezx-0.2.0/helloworld-qmake/../qt/lib -o helloworld helloworld.o -L/opt/dev-ezx-0.2.0/helloworld-qmake/../qt/lib -L/opt/dev-ezx-0.2.0/helloworld-qmake/../ezx/lib -lezxappbase-xscale-r -lqte-mt-xscale-r -lezxjpeg-xscale-r -lezxnotification-xscale-r -lqte-mt
    << gave me the following error:

    /opt/crosstool/gcc-arm-iwmmxt/gcc-3.3.6-glibc-2.3.2/arm-linux/lib/gcc-lib/arm-linux/3.3.6/../../../../arm-linux/bin/ld: cannot find -lezxappbase-xscale-r
    collect2: ld returned 1 exit status

    << seems the linker could not find the libs, true?

  8. #8

    Default Re: help on getting ezx working..

    that sounds like the problem. have you checked to make sure that the reported "missing" library is actually in "-L/opt/dev-ezx-0.2.0/helloworld-qmake/../ezx/lib"? (i noticed in a previous post that you said you did copy these over, but for some reason its still not seeing this lib).

  9. #9
    Join Date
    Sep 2005
    Location
    Germany, Berlin
    Posts
    109

    Default Re: help on getting ezx working..

    yes i now have copied them again to this folder
    and furthermore some copies named ezxappbase-xscale-r, ezxappbase-xscale-r.so.1.0.0, libezxappbase-xscale-r,... but still the same error...
    i try to compile with root permission so he should be able to read all directories...

    hm.. !?!?

    UPDATE:
    i've found the error i had renamed all Libs to lib*.so without the version number at the and this results in another error, but the linker could now find the libs
    new ERROR:

    arm-linux-g++ -Wl,-rpath-link,/opt/crosstool/gcc-arm-iwmmxt/gcc-3.3.6-glibc-2.3.2/arm-linux/arm-linux/lib -o helloworld helloworld.o -L/opt/dev-ezx-0.2.0/helloworld-qmake/../qt/lib -L/opt/dev-ezx-0.2.0/lib -lezxappbase-xscale-r -lezxjpeg-xscale-r -lezxnotification-xscale-r -lpthread -lqte-mt-xscale-r
    /opt/dev-ezx-0.2.0/lib/libqte-mt-xscale-r.so: file not recognized: File truncated
    collect2: ld returned 1 exit status
    make: *** [helloworld] Error 1

  10. #10
    Join Date
    Sep 2005
    Location
    Germany, Berlin
    Posts
    109

    Default Re: help on getting ezx working..

    yeah i get it

    the last error comes up 'cause i file was corrupted...

    now it works, i can compile ezx

    thank u all

    PS: any good ideas for some usefull applications? hehe


 
+ Reply to Thread
Page 1 of 2 12 LastLast

Similar Threads

  1. qtopia-ezx
    By coizamora in forum Qt Extended
    Replies: 468
    Last Post: 09-14-2011, 09:59 AM
  2. EZX Crosstool and SDK for Motorola EZX phones
    By eakrin in forum Development
    Replies: 108
    Last Post: 11-10-2009, 11:13 AM
  3. Native Games my SDL 3D games started working with EZX - testers needed!
    By NeoStrider in forum A1200/E6 Gameloads
    Replies: 45
    Last Post: 07-22-2009, 04:06 AM
  4. A EZX Copy
    By m1k0 in forum -The Lounge-
    Replies: 2
    Last Post: 12-27-2008, 10:07 PM
  5. Open EZX and original EZX software
    By asmatic in forum A780 General Chat
    Replies: 7
    Last Post: 06-07-2006, 11:37 PM

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 Optimization by vBSEO 3.6.0 RC 1