Any help and small clues can be helpful!
Thankful
You outline why -static is needed on pg 313 2nd ed, but it doesn’t seem like you specify this in Eclipse?? Not sure what I’m missing here. I tried adding the /usr/arm-linux-gnueabihf/ path to the compiler include and linker library search, but same errors.
]]>I tried the latest version of Debian for the BBB and it now works. Sorry for the silly comment.
]]>Let me start off by saying thank you for writing Exploring BeagleBone. It’s been very instructive, and has shed light on many of the concepts that I read about in the Embedded Linux Primer. That having been said, I’ve been running into some problems. Ultimately I would like to have a dedicated Linux desktop to do a lot of development work, and to that end I have a machine running Ubuntu 18.04.4 LTS (Bionic Beaver).
Here is the error message that I receive when I try and run makeLEDC:
bblessing@beaglebone:~$ sudo ./makeLEDC flash
./makeLEDC: /usr/lib/arm-linux-gnueabihf/libstdc++.so.6: version `GLIBCXX_3.4.21′ not found (required by ./makeLEDC)
bblessing@beaglebone:~$ ldd makeLEDC
./makeLEDC: /usr/lib/arm-linux-gnueabihf/libstdc++.so.6: version `GLIBCXX_3.4.21′ not found (required by ./makeLEDC)
libstdc++.so.6 => /usr/lib/arm-linux-gnueabihf/libstdc++.so.6 (0xb6efe000)
libm.so.6 => /lib/arm-linux-gnueabihf/libm.so.6 (0xb6e92000)
libgcc_s.so.1 => /lib/arm-linux-gnueabihf/libgcc_s.so.1 (0xb6e6e000)
libc.so.6 => /lib/arm-linux-gnueabihf/libc.so.6 (0xb6d89000)
/lib/ld-linux-armhf.so.3 (0xb6fcd000)
Since the book that I have is the first edition, I’ve been trying to run a version of Linux on the BBB (SD card) that is closer in age to the book. Here is the output from uname -a:
Linux beaglebone 3.8.13-bone70 #1 SMP Fri Jan 23 02:15:42 UTC 2015 armv7l GNU/Linux
To be honest, I’m pretty stumped on what to do about the libstdc++.so.6 issue. The link points to libstdc++.so.6.0.17 in the /usr/lib/arm-linux-gnueabihf directory on the BBB. I cloned the exploringBB repository as per the book’s instructions and simply put the makeLEDC program on the BBB via sftp. Is this because I’m using such an old version of Linux on the BBB?
]]>First off all great book
I followed the instructions of chapter 7 and I cannot run the Hello World at Eclipse IDE even after installing the QEMU tool.
I’m using Eclipse 2019-12 but following error occurs when i try to run the program:
/lib/ld-linux-armhf.so.3: No such file or directory
In this chapter in the section when installing the QEMU there are a instruction to solve this problem when running direct from the shell :
qemu-arm-static -L /usr/arm-linux-gnueabihf/ testcross
and it works.
But in my case i running the Hello world c++ application from Eclipse IDE and getting this error can you help me?
I found your book very handy for learning Beaglebone.
I have a Ubuntu 14.04 Host PC and BeagleBone Black Stretch
I followed your video and book until the post build SCP in Eclipse. Everything is working upto that point.
But when I try building the project it runs for 30%-60% and stays there without further action.
I used Eclipse Luna and Oxygen. Both same issue.
What I noticed was when I try to Remote Connect to the BeagleBone it always comes up with root and asking for password. I tried several passwords like “temppwd”, “root”, “” . Nothing working and I know that we can’t ssh with root. So I changed the user to debian and then it connects.
But the SCP is not working
Can you please guide me on this.
Thanks
Cham
]]>I’m at the same point on a Win 10 laptop with Virtualbox. My debian 10 doesn’t have any of the crossbuild-essential packages installed and using the apt install doesn’t locate the packages. I stumbled across the same wiki pages and its a bit daunting for a Linux newbie,
If you have found a solution please post 😉
Brian
]]>