Thread: DR1000 Building Hello World 4.0
View Single Post
Old 03-21-2011, 03:07 AM   #23
Mackx
Guru
Mackx is a splendid one to beholdMackx is a splendid one to beholdMackx is a splendid one to beholdMackx is a splendid one to beholdMackx is a splendid one to beholdMackx is a splendid one to beholdMackx is a splendid one to beholdMackx is a splendid one to beholdMackx is a splendid one to beholdMackx is a splendid one to beholdMackx is a splendid one to behold
 
Posts: 999
Karma: 19985
Join Date: Dec 2008
Location: Netherlands
Device: iRex DR1000S
Quote:
Originally Posted by rvs View Post
Thanks, I already stumbled on your blog earlier today. Will come in handy in the future I think.

As for now, the compiling failed, but I don't know where exactly. Some parts didn't compile (for instance display) and some parts did but with error-messages (mostly with intltoolize). Since the missing parts might not be critical, I still copied what I had to qemu, but now I get a white image. I'll try to read up a bit on autoconf and the like, and wll probably use your suggestion of copying from the DR before trying to compile again.
I'll let you know when I've succeeded (or if I have specific questions), but it could be a while as I need to regain some energy before i plunge myself into it again

BTW I'm using the VMWare image from Adam and I did already compile the hello_world example before and ran it on the old firmware (version 1) on the qemu and it seemed to work.
It is important to execute the following commands when you build any firmware component for the first time:
Code:
export MACHINE_NAME=dr1000s
autoreconf --install
intltoolize
./configure --host=arm-poky-linux-gnueabi --sysconfdir=/etc --prefix=/usr
The parameters of configure are also important, else components like ctb and menu can not find the resources (icons etc) they are using.
When pressing Ctrl-Alt-3 in qemu, you will get the logging printed by the firmware components. Ctrl-Alt-1 will bring you back to the UI again. Maybe some error messages indicate what is wrong?
Can you share some of the error messages you get when building, maybe they are simple to solve by any of us that already has a building environment?
Mackx is offline   Reply With Quote