RE: Cross-Compiling with Eclipse and glibc_2.29

Hello,

https://github.com/Teknic-ClearPath/TekTips-BeagleBone-Examples is where I started and there are some nice instructions for cross-compiling on a Ubuntu Distro (16.04.x) from “back in the day.”

Anyway, I started to cross-compile my versioning of source needed to use their SDK onboard the BeagleBone Black.

I got far but not far enough.

apt: /lib/arm-linux-gnueabihf/libm.so.6: version `GLIBC_2.29' not found (required by /usr/lib/arm-linux-gnueabihf/libstdc++.so.6)

That is my current error. I know I may need to cross-compile glibc_2.29 for my set up to work. Is there another way around this cross-compilation of the glibic library?

Seth

P.S. I have been researching ideas and I have come across the ftp index of http://ftp.debian.org/debian/pool/main/g/glibc/. I can do this cross-compilation now but I just wanted some insight as to how exactly this works. I have not come across this info. in any of my readings and I am not 100% sure how this exactly works.

Hi @silver2row, Your cross compiled version of glibc needs to be the same version or an earlier version:

Debian Buster ships with glibc 2.28
Debian Stretch ships with glibc 2.24

You seem to be building your application with glibc 2.29, this will not work in Debian Buster or Stretch.

Thus, If you are using Debian Buster on your BeagleBone, it would be best to install Debian Buster on your “development” PC to cross build your application.

Regards,

Hello,

Yes Sir, this is a better idea than to reconfigure and install my own ubuntu distro on the BBB.

Seth

P.S. Dang. Thank you.

Hello,

Well sir, when you are right, you are right. I used debian Buster and it worked w/out a hitch. Thank you for your quick reply and understanding.

Seth