移植mke2fs时出错:make[1]: *** [ismounted.o] 错误 1

思考的芦苇a 2009-12-22 09:30:04
../../../lib/ext2fs/ismounted.c: In function ‘is_swap_device’:
../../../lib/ext2fs/ismounted.c:254: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result
In file included from /usr/include/fcntl.h:217,
from ../../../lib/ext2fs/ismounted.c:19:
In function ‘open’,
inlined from ‘check_mntent_file’ at ../../../lib/ext2fs/ismounted.c:150:
/usr/include/bits/fcntl2.h:51: error: call to ‘__open_missing_mode’ declared with attribute error: open with O_CREAT in second argument needs 3 arguments
make[1]: *** [ismounted.o] 错误 1
make[1]:正在离开目录 `/work/tools/e2fsprogs-1.40.2/build_x86/lib/ext2fs'
make: *** [install-libs-recursive] 错误 1
...全文
308 1 打赏 收藏 转发到动态 举报
写回复
用AI写文章
1 条回复
切换为时间正序
请发表友善的回复…
发表回复
yhf365 2009-12-22
  • 打赏
  • 举报
回复
可能是编译器的原因,
建议用原开发人员用的编译器编译

16,211

社区成员

发帖
与我相关
我的任务
社区描述
Qt 是一个跨平台应用程序框架。通过使用 Qt,您可以一次性开发应用程序和用户界面,然后将其部署到多个桌面和嵌入式操作系统,而无需重复编写源代码。
社区管理员
  • Qt
  • 亭台六七座
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧