Comments on: Chapter 7: Cross Compilation, Eclipse, and Building Linux http://exploringbeaglebone.com Companion Site for the Book by Derek Molloy Sat, 23 Jan 2021 15:38:42 +0000 hourly 1 https://wordpress.org/?v=5.9.2 By: ricky http://exploringbeaglebone.com/chapter7/#comment-2326 Sat, 23 Jan 2021 15:38:42 +0000 http://exploringbeaglebone.com/?page_id=721#comment-2326 Hi Derek, Thanks for a great tutorial, I have learned a lot. I have one problem that i can’t figure out. When i make a new connection in Remote systems, I am able to select ‘Linux’, setup my host name, then select, ssh.files, processes.shell.linux, and ssh.shells, but then the ‘Next’ button is inactive and i can only select ‘Finish’, which means i cannot add the terminal. I am running Debian stretch, and installed the Remote Systems from ‘Latest Eclipse Release’. I am able to connect to the BBB with the shell, but I don’t have the terminal, and the terminal would be much better. Any idea what went wrong? thanks!

]]>
By: Charles J Dickerson http://exploringbeaglebone.com/chapter7/#comment-2324 Fri, 15 Jan 2021 01:09:37 +0000 http://exploringbeaglebone.com/?page_id=721#comment-2324 Hi Derek: I went ahead and installed Debian buster on my desktop (previously Ubuntu), and was able to get everything running through chapter 7, I left the BBB at wheezy and it worked fine. Your book and video have been extremely helpful, thanks!

]]>
By: Chuck Dickerson http://exploringbeaglebone.com/chapter7/#comment-2320 Tue, 29 Dec 2020 14:30:31 +0000 http://exploringbeaglebone.com/?page_id=721#comment-2320 Hi Derek, I bought your book a few years ago and now I have time to dive into it. I installed Eclipse on my Ubuntu desktop but due to some crosstool issues I am having I am thinking about switching it to Debian. Is https://www.debian.org/releases/buster//installmanual a good place to start? It’s not Jessie but I’m hoping buster will work as well. I’m not well versed in linux so it would be easier for me to install the latest. Would I also want to update the BBB to buster?
Thanks!

]]>
By: abolfazl http://exploringbeaglebone.com/chapter7/#comment-2318 Fri, 25 Dec 2020 10:33:30 +0000 http://exploringbeaglebone.com/?page_id=721#comment-2318 Hi Derek, I have a big project and I am using Clion IDE for development, the problem is with the remote connection Beaglebone Black can not create and build large files!

Any help and small clues can be helpful!
Thankful

]]>
By: Richard Sewell http://exploringbeaglebone.com/chapter7/#comment-2302 Tue, 08 Sep 2020 03:53:37 +0000 http://exploringbeaglebone.com/?page_id=721#comment-2302 When running the first hello world example in Eclipse I couldn’t get it to run at first, was getting “/lib/ld-linux-armhf.so.3:No such file or directory error”. I had to add a -static to the Properties>C/C++ build>settings>Cross++ linker>Misc>linker flags and then I could run the example on my Linux AMD64 inside the Eclipse console.

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.

]]>
By: Bill Blessing http://exploringbeaglebone.com/chapter7/#comment-2291 Thu, 09 Apr 2020 19:09:21 +0000 http://exploringbeaglebone.com/?page_id=721#comment-2291 In reply to Bill Blessing.

I tried the latest version of Debian for the BBB and it now works. Sorry for the silly comment.

]]>
By: Bill Blessing http://exploringbeaglebone.com/chapter7/#comment-2289 Tue, 07 Apr 2020 19:54:00 +0000 http://exploringbeaglebone.com/?page_id=721#comment-2289 Derek,

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?

]]>
By: Gabriel http://exploringbeaglebone.com/chapter7/#comment-2286 Fri, 31 Jan 2020 16:27:57 +0000 http://exploringbeaglebone.com/?page_id=721#comment-2286 Hi Derek,

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?

]]>
By: Chamila http://exploringbeaglebone.com/chapter7/#comment-2280 Wed, 13 Nov 2019 11:59:31 +0000 http://exploringbeaglebone.com/?page_id=721#comment-2280 Hi Derek,

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

]]>
By: Brian http://exploringbeaglebone.com/chapter7/#comment-2270 Sat, 14 Sep 2019 03:41:43 +0000 http://exploringbeaglebone.com/?page_id=721#comment-2270 In reply to Alec Clews.

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

]]>