View Single Post
Old 01-23-2009, 05:54 PM   #17
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
The manual worked for me, as a novice Linux user, I installed Ubuntu 8.04 and nicely followed the instructions in the manual.
I started Anjuta and loaded the hello-world application (from the iRex website), and could compile and download it. I even figured out that the hello_world was copied in the /usr/bin directory on the emulator.

All seemed well until I tried to start the debugger from Anjuta. I only got a Terminal window with a prompt were I expected gdb to be running. It seems that the gdb in the poky-arm directory is build with libexpat.so.0, and Ubuntu has libexpat.so.1 installed.
With some googling I found the following patch.
Create a link (in /usr/lib) : sudo ln -s libexpat.so.1 libexpat.so.0
Although I am not sure if this has consequences for other programs...

So far so good, but then I noticed the following remark when running hello_world in the debugger:
Quote:
Error while mapping shared library sections:
/usr/lib/gtk-2.0/2.10.0/engines/libsato-engine.so: No such file or directory.
I checked the directory/library on the emu and it is available.

I tried running without the debugger and I expect to get some menu's (when looking in the code I see menus being created, but then... I am also a GTK newbe) but do not see them. I can see the three lines 'hello world', 'current view type ...' and 'started with'.

What did I mis?
Mackx is offline   Reply With Quote