/media/data/Projects/arm/uart/main.c:39: undefined reference to `__aeabi_uidiv'
Answers
The ARM family of CPUs does not have a native integer division
instruction. So, division needs to be implemented by a library function.
GCC knows this, and creates a reference to (in your case) __aeabi_uidiv
(for unsigned int
division).
You will need to link with an appropriate runtime support library that contains this function.
上一篇:为android提供的部分第三方C/C++静态库—libsqlite—libuuid—libevent_static
下一篇:编译cBPM-android—CodeBlocks(全局、局部)参数设置—CentOS 7— android-ndk
相关热门文章
给主人留下些什么吧!~~
评论热议