文章分类 -  Compile error

摘要:GCC provides a low-level runtime library, ‘libgcc.a’ or ‘libgcc_s.so.1’ on some platforms.说明libgcc.a编译有误,或不支持软浮点的功能;编译gcc的时候加上相关编译选项就ok。解决该错误的另一个方法是:链... 阅读全文
posted @ 2015-04-29 21:34 JustRelax 阅读(1047) 评论(0) 推荐(0)
摘要:今天在编译m4的时候出现了以下错误。./stdio.h:456:1: error: 'gets' undeclared here (not in a function)报错提示建议用:fgets。解决办法:在源码中找到:stdio.in.h 这个文件。找到这一行:gets is a security... 阅读全文
posted @ 2015-03-14 13:41 JustRelax 阅读(763) 评论(0) 推荐(0)