(转)Unknown symbol __udivdi3 && Unknown symbol...
来源:百度文库 编辑:神马文学网 时间:2024/10/02 16:03:35
(转)来自:http://www.captain.at/howto-udivdi3-umoddi3.php
If you've encountered an error message like this
To solve this problem, you need to use the do_div macro available in asm/div64.h:
Since do_div is just an asm (assembler) macro, it doesn't break real time determinism, so it's also suitable for use in RTAI classic, RTAI fusion and ADEOS/ADEOS-IPIPE applications.
If you've encountered an error message like this
Unknown symbol __udivdi3you most likely want to make a 64 bit division, which is not supported by default in linux kernel space.
Unknown symbol __umoddi3
Unresolved symbol __udivdi3
Unresolved symbol __umoddi3
To solve this problem, you need to use the do_div macro available in asm/div64.h:
#includeIf you want to calculate x / y with do_div(x, y), the result of the division is in x, the remainder is returned from the do_div function.
unsigned long long x, y, result;
unsigned long mod;
mod = do_div(x, y);
result = x;
Since do_div is just an asm (assembler) macro, it doesn't break real time determinism, so it's also suitable for use in RTAI classic, RTAI fusion and ADEOS/ADEOS-IPIPE applications.
(转)Unknown symbol __udivdi3 && Unknown symbol...
unknown
Ruby之symbol研究
power designer--->protect symbol
On An Unknown Country
Unknown - Pictures Of You
中国 二胡经典名曲-Unknown
error LNK2001: unresolved external symbol
摩托罗拉将39亿美元收购Symbol (2006-9-21)
ATL链接错误"unresolved external symbol _main"
解决error LNK2001: unresolved external symbol
转贴:unresolved external symbol "public: virtua...
链接错误"unresolved external symbol _main"
error LNK2001: unresolved external symbol __imp
java.net.MalformedURLException: unknown protocol: dummy异常
java.net.MalformedURLException: unknown protocol: dummy异常
蓝屏,显示 stop:c000021a Unknown Hard Error ...
蓝屏并显示Stop: c000021a Unknown H...
编译时出现error LNK2001: unresolved external symbol __imp__htons@4
Is World Expo the symbol for China's Heyday ?
出售讯宝MC70扫描仪电池,Symbol 82-71364-01 BTRY-MC70EAB02
View topic - STK1000 and BSP 2.0.0 Unknown Architecture 0x11 :: AVR Freaks
电脑蓝屏unknown hard error分析与解决_Windows XP_操作系统_维...
[必看教学] USB出现unknown device怎么办? - 北方论坛