Re: Having linking problems with atomic_inc(), atomic_dec_and_test() in user app, help!
From: Michael Schmitz <hidden> Date: 2002-01-04 14:18:16
Also, what does "relocation truncated to fit: R_PPC_REL24 atomic_inc(atomic_t
*)" mean?
About as much as 'unresolved external reference'. atomic_inc isn't defined
in the scope of your code. Look at the kernel headers; it might be inside
#ifdef __KRENEL__ (actually it is).
Why do you think you need to use atomic_inc directly instead of some
pthreads wrapper?
Michael
** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/