biggates的心得

  博客园 :: 首页 :: 博问 :: 闪存 :: 新随笔 :: 联系 :: 订阅 订阅 :: 管理 ::

今天遭遇到的奇怪问题,总是提示math.h中的函数找不到。经过排查最终确定了这个原因……修改了makefile之后编译通过了。

Notice that the -lm option which requests the math library must be placed at the end of the command line.

也不知道是哪个版本加进来的新规定……?

posted on 2011-10-14 05:48  biggates  阅读(466)  评论(0编辑  收藏  举报