Hi,
I am porting some source code to powerpc platform.While compiling the kernel module i am getting following warnings. While inserting the kernel module it throws the warning as error.
WARNING: "__sync_fetch_and_add_8" undefined
WARNING: "__sync_sub_and_fetch_8" undefined
Can Anyone tell me how to resolve this issue ???
Thank you..
The kernel source, at least for the version from SDK 1.8, does not contain the symbols you mentioned at all. Check your header files for
their definition. If you are porting a third-party software, consult at it's vendor or maintainer.
Have a great day,
Platon
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
ok thanks..