[opensuse] Leap compile error: atexit
I am trying to link a C application against a local library that references atexit(). The library is freshly compiled on the same computer. I get this error: /usr/lib64/gcc/x86_64-suse-linux/4.8/../../../../x86_64-suse-linux/bin/ld: libdemo: hidden symbol `atexit' in /usr/lib64/libc_nonshare d.a(atexit.oS) is referenced by DSO I Googled this, but the discussions were both very old and mainly about c++ and the problems with some c++ compiler switches. This is on Leap. But it is also the first time I am compiling this software for a 64.bit platform. So I don't really know which is the key to the problem. Anyone seen this kind of thing? -- Roger Oberholtzer -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
21.10.2015 23:35, Roger Oberholtzer пишет:
I am trying to link a C application against a local library that references atexit(). The library is freshly compiled on the same computer. I get this error:
/usr/lib64/gcc/x86_64-suse-linux/4.8/../../../../x86_64-suse-linux/bin/ld: libdemo: hidden symbol `atexit' in /usr/lib64/libc_nonshare d.a(atexit.oS) is referenced by DSO
I Googled this, but the discussions were both very old and mainly about c++ and the problems with some c++ compiler switches.
Please show exact command used to link library.
This is on Leap. But it is also the first time I am compiling this software for a 64.bit platform. So I don't really know which is the key to the problem.
Anyone seen this kind of thing?
-- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
participants (2)
-
Andrei Borzenkov
-
Roger Oberholtzer