[BeagleBone] Cross compilation Error => Unknown EABI object attribute & libcairo.so: undefined reference to `__longjmp_chk@GLIBC_2.11`


Again I’m really sorry, but this problem last too long. Because of it, I can’t play with the beaglebone. Which make me sad :frowning:

I copied the folder /usr/lib from my beaglebone and I place it in my ubuntu machine to the folder /usr/local/angstrom/arm/arm-angstrom-linux-gnueabi/usr/

I think that I’ve done everything correctly, but no … it doesn’t work … .

What is wrong with my compilation ? configuration ? I just need some tips, advise, a path to follow. Thx you !

And Yes, I will document later to to he community how to do a cross compilation with Gtk, it’s important to share our knowledge.

try setting up a real cross compilation environment and I am sure you will have better results.


Thx for the answer, it sure that it helps me a lot…

I followed of course this tutorial :


and this one:


The result was a success, my simple hello world cross compilation project works.

But when I wanted to add GTk in my project, I couldn’t find the library gtk3 in the library, but I discovered that in the new release of the angstrom for beaglebone, the library was there. So I copied the folder /usr/lib & /usr/include here : /usr/local/angstrom/arm/arm-angstrom-linux-gnueabi/

But if you know a better way to do it, I’m really open, I want to learn.

Thx you,