编译/e2fs出错!!!!!! 内联自‘check_mntent_file’于 ismounted.c:150:

内核编译和嵌入式产品的设计与开发
回复
davalop
帖子: 7
注册时间: 2009-03-09 9:15
送出感谢: 0
接收感谢: 0

编译/e2fs出错!!!!!! 内联自‘check_mntent_file’于 ismounted.c:150:

#1

帖子 davalop » 2009-03-09 9:18

make[2]:正在离开目录 `/home/qtopia-arm-home/arm/e2fs/lib/e2p'
making all in lib/ext2fs
make[2]: 正在进入目录 `/home/qtopia-arm-home/arm/e2fs/lib/ext2fs'
SUBST ext2_err.et
COMPILE_ET ext2_err.et
CC bb_compat.c
CC cmp_bitmaps.c
CC fileio.c
CC inode_io.c
CC namei.c
CC write_bb_file.c
CC rs_bitmap.c
CC dupfs.c
CC test_io.c
CC imager.c
CC ext2_err.c
CC alloc.c
CC alloc_sb.c
CC alloc_stats.c
CC alloc_tables.c
CC badblocks.c
CC bb_inode.c
CC bitmaps.c
CC bitops.c
CC block.c
CC bmap.c
CC check_desc.c
CC closefs.c
CC dblist.c
CC dblist_dir.c
CC dirblock.c
CC dirhash.c
CC dir_iterate.c
CC expanddir.c
CC ext_attr.c
CC finddev.c
CC flushb.c
CC freefs.c
CC gen_bitmap.c
CC get_pathname.c
CC getsize.c
CC getsectsize.c
CC icount.c
CC ind_block.c
CC initialize.c
CC inline.c
CC inode.c
CC io_manager.c
CC ismounted.c
ismounted.c: 在函数‘is_swap_device’中:
ismounted.c:254: 警告: 忽略声明有 warn_unused_result 属性的‘fgets’的返回值
在函数‘open’中,
内联自‘check_mntent_file’于 ismounted.c:150:
/usr/include/bits/fcntl2.h:51: 错误: 调用‘__open_missing_mode’,声明有错误属性:open with O_CREAT in second argument needs 3 arguments
make[2]: *** [ismounted.o] 错误 1
make[2]:正在离开目录 `/home/qtopia-arm-home/arm/e2fs/lib/ext2fs'
make[1]: *** [all-libs-recursive] 错误 1
make[1]:正在离开目录 `/home/qtopia-arm-home/arm/e2fs'
make: *** [all] 错误 2
gcc version 3.4.4
回复

回到 “内核及嵌入式开发”