Skip to contentSkip to conversation

Can't resolve symbol '__cxa_atexit'

Buildroot Nathanael D. Noblet 1 participant 2 messages Aug 28, 2007

lore
Share & tools
lore
#0 lore raw

Hello,
I am trying to re-create an environment that I created in Oct 2005,
so that I can make some changes to a program I wrote way back then. I was using uClibc 0.9.28 at the time. I've used a current buildroot to get me what I thought was that environment. I think I have the same gcc/binutils versions 3.4.6 and binutils 2.16.1. When I compile my program against this new environment it seems to work, until I move it to the target device, where it runs for a bit then outputs

./a.out: Can't resolve symbol '__cxa_atexit'

So I'm assuming that something changed in the uClibc config I originally used and this one that I tried to get to match. Any ideas how to go about re-creating this environment or how to solve the above error?

Signature · 1 line
Nathanael D. Noblet
#1 lore raw
Quoted 9 lines · Nathanael D. Noblet

Hello,
I am trying to re-create an environment that I created in Oct 2005,
so that I can make some changes to a program I wrote way back then. I was using uClibc 0.9.28 at the time. I've used a current buildroot to get me what I thought was that environment. I think I have the same gcc/binutils versions 3.4.6 and binutils 2.16.1. When I compile my program against this new environment it seems to work, until I move it to the target device, where it runs for a bit then outputs

Quoted 6 lines

/a.out: Can't resolve symbol '__cxa_atexit'

So I'm assuming that something changed in the uClibc config I originally used and this one that I tried to get to match. Any ideas how to go about re-creating this environment or how to solve the above error?

Well as usually moments afterwards, checking the uClibc .config I found an option for the dynamic atexit functions. Disabled, rebuilt, and now I'm moving along... Thanks anyway ;)