Getting WARNING: "__sync_fetch_and_add_8" undefined WARNING: "__sync_sub_and_fetch_8" undefined

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

Getting WARNING: "__sync_fetch_and_add_8" undefined WARNING: "__sync_sub_and_fetch_8" undefined

1,050 次查看
vigneshr
Contributor III

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..

标签 (1)
0 项奖励
回复
2 回复数

890 次查看
bpe
NXP Employee
NXP Employee

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!
-----------------------------------------------------------------------------------------------------------------------

0 项奖励
回复

890 次查看
vigneshr
Contributor III

ok thanks..

0 项奖励
回复