Error when attempting to remote debug a Beaglebone
-
The cross-compiler you used is at 6.2.1, that might be the issue here.
-
I guess I don't really understand what the problem is. The libraries on the host an d the BBB are identical (at least from the standpoint of which versions they contain). Where is the request for this missing version 3.4.21 coming from?
I will look for a newer version of the toolchain for the BBB on linaro.
-
So I attempted to retrieve the latest version of the GNU ARM toolchain using this command:
sudo apt-get install build-essential
But it said I already have the latest version of build-essential.
Where else can I get this package? Or do I need to just download onto my desktop and use ftp or something to transfer the files to the BBB?
Thanks...
-
Just to be on the safe side, I'd recommend rebuilding Qt with the Linaro 4.9 cross-compiler. You can find it here along with the matching sysroot.
That way you should be using the same set of libraries. Furthermore, rather than use the Linaro sysroot, you could use your BBB root filesystem as sysroot, so you'd ensure that you'll be linking with the same libraries your application should run with.
-
Thanks, Mr. Gaist. Am I correct in assuming the file I want is:
And, regarding using the BBB file system as sysroot, this would mean I'd need a copy of that filesystem on my desktop (where I'm building Qt), right?
-
Looks good yes.
As for the sysroot, you can either copy it or you could also mount it using e.g. sshfs.
That means having your BBB powered up and running a ssh server which is likely already the case. The pros is that if you are missing a dev package you can just log into your BBB, add it and it will be directly available for cross-compilation. The cons is that you need to have your device powered up and running but all in all it will likely be the case anyway so it's up to you.
-
Thanks...I'm running make right now. It will be interesting to see whether I have to run make install this time, as I did last time despite the instructions saying I didn't have to.
So, if I simply make a copy of the / directory on the BBB, and put it somewhere on my desktop system, I could use that as my sysroot for the build (asking for future reference)?
-
Hi, SGaist -
I was wondering whether I'd ever see the day when we got there, but...we got there. I just successfully launched the debugger and ran an example from Molloy's chapter 5 (manipulating the on-board LEDs).
I'd like to thank you profusely for your help in getting this done. Come to the states sometime, and I'll buy you a beer or three...
-
Great !
Happy hacking then :)
Don't forget to mark the thread as solved using the "Topic Tools" button ;)