Hi Alex, Alex Potapenko wrote,
Hi,
uClibc-ng 1.0.13 doesn't seem to have atexit function:
Hmm. Are you compiling natively on a ARM uclibc-ng system? gcc -v gcc -v hello.c -o hello
[root@unknown root]$ gcc hello.c -o hello /tmp/ccO5Ibuw.o: In function `main': hello.c:(.text+0x9c): undefined reference to `atexit' hello.c:(.text+0xa4): undefined reference to `atexit' collect2: error: ld returned 1 exit status
Is there something I'm missing, or this is a bug?
When I cross-compile your test program for ARM and then run it on qemu-system-arm, everything is fine.
So what do you do exactly?
best regards Waldemar