Moto Hell - The Motorola Modding Community
November 22, 2024, 07:53:38 pm *
Welcome, Guest. Please login or register.

Login with username, password and session length
News: The forum is no longer active and registration is disabled; however you can still fetch everything as guest.
 
   Home   Help Facebook Search Calendar Login Register  
Pages: 1 [2]   Go Down
  Print  
Author Topic: [E2] Crosscompiling in Linux  (Read 12315 times)
arctu
Guest
« Reply #15 on: June 10, 2008, 01:22:51 am »

hmm... who's SDK did u use? blackhawk or lasly?
Logged
BlinK_
Guest
« Reply #16 on: June 10, 2008, 02:03:16 am »

I was using lasly's SDK.

Now I tried blackhawk's, and everything is fine. Finally no seg faults. Thank you for help.

I realise that the only difference between these SDK, are libraries and maybe some headers. So this is somewhat strange. But finally it works...
Logged
arctu
Guest
« Reply #17 on: June 10, 2008, 04:00:10 am »

Ahh.. good for you. I thought so.

Well, I'm using a custom modified lasly's SDK. It should work fine. In lasly's SDK, you should have copied your own *.so files from the phone and then after progen and tmake, modify the Makefile manually to point to the correct libs. Did you do that?
Logged
BlinK_
Guest
« Reply #18 on: June 10, 2008, 04:25:18 am »

That was exactly what I did not do. It simply wasn't in lasly readme, and I didn't understand that by myself.

I copied libs from phone using blackhawk's SDK and thats why it works fine.

Are these librariess all the same in different MP? If no, then compiled program may work at some mobiles, but not at all of them...

Thank you again for help. I am playing right now with menus. Lasly's examples are very useful. However, I must stop playing as I have exam tomorrow, and I need to prepare for it. (:
« Last Edit: June 10, 2008, 04:33:48 am by BlinK_ » Logged
arctu
Guest
« Reply #19 on: June 10, 2008, 05:49:01 am »

Compiled programs works fine on all fw except for the prototype fw which uses quite a different libs.

Haha.. alright... hope you will contribute a lot to the e2 community with native programs. (:
Logged
3-D
Guest
« Reply #20 on: June 12, 2008, 01:04:08 am »

Has tried to write appendices by means of sdk by Lasly
Problems:
1 it is necessary to start not make and make-f [file]
2 after all operations file XXX.o which turns out is not started

Please help me
Logged
fich
Guest
« Reply #21 on: June 13, 2008, 06:35:24 am »

I compiled some simple cpp, jus helloworld, with lasly SDK
but when I tried run this app on shell, it show error
./coba: error while loading shared libraries: libqte-mt.so.2: cannot open shared
 object file: No such file or directory

I used BlackStorm non kalei
i found file libqte-mt.so.2 on /usr/lib/ezx/lib/
what I'm supposed to do?
newbie here >.<
Logged
arctu
Guest
« Reply #22 on: June 13, 2008, 06:57:18 am »

@3-D:
hmm.. I don't understand you.. can you explain more?

@fich:
u are probably experiencing linking error. check your makefile.. how did you link the libraries?
Logged
fich
Guest
« Reply #23 on: June 13, 2008, 06:53:13 pm »

I've copied /usr/lib adn child folder from phone into /usr
in my Makefile

LIBS   =   $(SUBLIBS) -L$(QTDIR)/lib -lm -lqte-mt -lipp-codecJP -lezxappbase -lipp-miscGen -lezxpm -lipp-jp -L/usr/lib/ezx/lib

or

LIBS   =   $(SUBLIBS) -L$(QTDIR)/lib -lm -lqte-mt -lipp-codecJP -lezxappbase -lipp-miscGen -lezxpm -lipp-jp -L/usr/lib/ezx/lib -lm -lqte-mt -lipp-codecJP -lezxappbase -lipp-miscGen -lezxpm -lipp-jp

it still give me error like above
Logged
arctu
Guest
« Reply #24 on: June 14, 2008, 04:35:01 am »

just this shoud do it..

LIBS   =   $(SUBLIBS) -L$(QTDIR)/lib -lm -lqte-mt -lipp-codecJP -lezxappbase -lipp-miscGen -lezxpm -lipp-jp
or.. try the on lasly wrote in his readme
Logged
NestorM
Guest
« Reply #25 on: June 14, 2008, 12:53:40 pm »

I need help, anybody can share with me the crosstool? My internet connection is so slow and a can't download it. when I type ./ build.sh ---- It stop in 8%. Can somebody compress in tar.gz your crosstool? and share with me?
help...!
« Last Edit: June 14, 2008, 12:58:27 pm by NestorM » Logged
Pages: 1 [2]   Go Up
  Print  
 
Jump to:  

Design By Forum Hosting
Powered by SMF 1.1.21 | SMF © 2015, Simple Machines