Motorola Development Community

Member Login

Quick Search



Development Hacking, development, scripts etc


Reply
  #1  
Old 01-23-2006
mightymop's Avatar
MotoFans MODR
 
Join Date: Sep 2005
Location: Germany, Berlin
Posts: 109
Thanks: 3
Thanked 2 Times in 2 Posts
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
Reply With Quote
  #2  
Old 01-23-2006
Moto Fans SENR
 
Join Date: Sep 2005
Location: Jakarta, Indonesia
Posts: 1,091
Thanks: 0
Thanked 136 Times in 67 Posts
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.
Reply With Quote
  #3  
Old 01-24-2006
mightymop's Avatar
MotoFans MODR
 
Join Date: Sep 2005
Location: Germany, Berlin
Posts: 109
Thanks: 3
Thanked 2 Times in 2 Posts
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
Reply With Quote
  #4  
Old 01-24-2006
Moto Fans SENR
 
Join Date: Sep 2005
Location: Jakarta, Indonesia
Posts: 1,091
Thanks: 0
Thanked 136 Times in 67 Posts
Default Re: help on getting ezx working..

Try my addon package to dev-ezx-0.2.0. Good luck!
Attached Files
File Type: gz dev-ezx-0.2.0-qmake.tar.gz (4.5 KB, 117 views)
Reply With Quote
  #5  
Old 01-24-2006
mightymop's Avatar
MotoFans MODR
 
Join Date: Sep 2005
Location: Germany, Berlin
Posts: 109
Thanks: 3
Thanked 2 Times in 2 Posts
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
Reply With Quote
  #6  
Old 01-24-2006
Moto Fans SENR
 
Join Date: Sep 2005
Location: Jakarta, Indonesia
Posts: 1,091
Thanks: 0
Thanked 136 Times in 67 Posts
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
Reply With Quote
  #7  
Old 01-24-2006
Guest
 
Posts: n/a
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?
Reply With Quote
  #8  
Old 01-25-2006
Moto Fans SENR
 
Join Date: Feb 2005
Posts: 694
Thanks: 0
Thanked 1 Time in 1 Post
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).
Reply With Quote
  #9  
Old 01-25-2006
mightymop's Avatar
MotoFans MODR
 
Join Date: Sep 2005
Location: Germany, Berlin
Posts: 109
Thanks: 3
Thanked 2 Times in 2 Posts
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
Reply With Quote
  #10  
Old 01-25-2006
mightymop's Avatar
MotoFans MODR
 
Join Date: Sep 2005
Location: Germany, Berlin
Posts: 109
Thanks: 3
Thanked 2 Times in 2 Posts
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 With Quote
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
qtopia-ezx coizamora Qt Extended 461 05-19-2010 09:36 AM
EZX Crosstool and SDK for Motorola EZX phones eakrin Development 108 11-10-2009 10:13 AM
Native Games my SDL 3D games started working with EZX - testers needed! NeoStrider A1200/E6 Gameloads 45 07-22-2009 04:06 AM
A EZX Copy m1k0 -The Lounge- 2 12-27-2008 09:07 PM
Open EZX and original EZX software asmatic A780 General Chat 7 06-07-2006 11:37 PM

 
Advertisement

Partner Links





Web Analytics