Chinaunix

标题: 2.6.14编译XFS怎么会出一大堆警告啊 [打印本页]

作者: aquino    时间: 2005-11-28 11:07
标题: 2.6.14编译XFS怎么会出一大堆警告啊
2.6.10, 2.6.11还是好好的


  1. root@ugsplm /usr/src/linux# make
  2.   CHK     include/linux/version.h
  3.   SPLIT   include/linux/autoconf.h -> include/config/*
  4.   CHK     include/linux/compile.h
  5.   CHK     usr/initramfs_list
  6.   GZIP    kernel/config_data.gz
  7.   IKCFG   kernel/config_data.h
  8.   CC      kernel/configs.o
  9.   LD      kernel/built-in.o
  10.   CC      fs/xfs/linux-2.6/xfs_stats.o
  11.   CC      fs/xfs/linux-2.6/xfs_sysctl.o
  12.   CC      fs/xfs/linux-2.6/xfs_export.o
  13.   CC      fs/xfs/xfs_alloc.o
  14.   CC      fs/xfs/xfs_alloc_btree.o
  15. fs/xfs/xfs_alloc_btree.c: In function 'xfs_alloc_insrec':
  16. fs/xfs/xfs_alloc_btree.c:622: warning: 'nrec.ar_startblock' may be used uninitialized in this function
  17. fs/xfs/xfs_alloc_btree.c:622: warning: 'nrec.ar_blockcount' may be used uninitialized in this function
  18.   CC      fs/xfs/xfs_attr.o
  19.   CC      fs/xfs/xfs_attr_leaf.o
  20.   CC      fs/xfs/xfs_behavior.o
  21.   CC      fs/xfs/xfs_bit.o
  22.   CC      fs/xfs/xfs_bmap.o
  23. fs/xfs/xfs_bmap.c: In function 'xfs_bmap_alloc':
  24. fs/xfs/xfs_bmap.c:2335: warning: 'rtx' is used uninitialized in this function
  25.   CC      fs/xfs/xfs_bmap_btree.o
  26.   CC      fs/xfs/xfs_btree.o
  27.   CC      fs/xfs/xfs_buf_item.o
  28.   CC      fs/xfs/xfs_da_btree.o
  29.   CC      fs/xfs/xfs_dir.o
  30.   CC      fs/xfs/xfs_dir2.o
  31.   CC      fs/xfs/xfs_dir2_block.o
  32.   CC      fs/xfs/xfs_dir2_data.o
  33.   CC      fs/xfs/xfs_dir2_leaf.o
  34.   CC      fs/xfs/xfs_dir2_node.o
  35.   CC      fs/xfs/xfs_dir2_sf.o
  36. fs/xfs/xfs_dir2_sf.c: In function 'xfs_dir2_block_sfsize':
  37. fs/xfs/xfs_dir2_sf.c:110: warning: 'parent' may be used uninitialized in this function
  38.   CC      fs/xfs/xfs_dir_leaf.o
  39. fs/xfs/xfs_dir_leaf.c: In function 'xfs_dir_leaf_to_shortform':
  40. fs/xfs/xfs_dir_leaf.c:653: warning: 'parent' may be used uninitialized in this function
  41.   CC      fs/xfs/xfs_error.o
  42.   CC      fs/xfs/xfs_extfree_item.o
  43.   CC      fs/xfs/xfs_fsops.o
  44.   CC      fs/xfs/xfs_ialloc.o
  45.   CC      fs/xfs/xfs_ialloc_btree.o
  46. fs/xfs/xfs_ialloc_btree.c: In function 'xfs_inobt_insrec':
  47. fs/xfs/xfs_ialloc_btree.c:750: warning: 'nrec.ir_free' is used uninitialized in this function
  48. fs/xfs/xfs_ialloc_btree.c:750: warning: 'nrec.ir_freecount' is used uninitialized in this function
  49. fs/xfs/xfs_ialloc_btree.c:567: warning: 'nrec.ir_startino' may be used uninitialized in this function
  50.   CC      fs/xfs/xfs_iget.o
  51.   CC      fs/xfs/xfs_inode.o
  52.   CC      fs/xfs/xfs_inode_item.o
  53.   CC      fs/xfs/xfs_iocore.o
  54.   CC      fs/xfs/xfs_iomap.o
  55.   CC      fs/xfs/xfs_itable.o
  56.   CC      fs/xfs/xfs_dfrag.o
  57.   CC      fs/xfs/xfs_log.o
  58.   CC      fs/xfs/xfs_log_recover.o
  59.   CC      fs/xfs/xfs_macros.o
  60.   CC      fs/xfs/xfs_mount.o
  61.   CC      fs/xfs/xfs_rename.o
  62.   CC      fs/xfs/xfs_trans.o
  63.   CC      fs/xfs/xfs_trans_ail.o
  64.   CC      fs/xfs/xfs_trans_buf.o
  65.   CC      fs/xfs/xfs_trans_extfree.o
  66.   CC      fs/xfs/xfs_trans_inode.o
  67.   CC      fs/xfs/xfs_trans_item.o
  68.   CC      fs/xfs/xfs_utils.o
  69.   CC      fs/xfs/xfs_vfsops.o
  70.   CC      fs/xfs/xfs_vnodeops.o
  71.   CC      fs/xfs/xfs_rw.o
  72.   CC      fs/xfs/xfs_dmops.o
  73.   CC      fs/xfs/xfs_qmops.o
  74.   CC      fs/xfs/linux-2.6/xfs_aops.o
  75.   CC      fs/xfs/linux-2.6/xfs_buf.o
  76.   CC      fs/xfs/linux-2.6/xfs_file.o
  77.   CC      fs/xfs/linux-2.6/xfs_fs_subr.o
  78.   CC      fs/xfs/linux-2.6/xfs_globals.o
  79.   CC      fs/xfs/linux-2.6/xfs_ioctl.o
  80.   CC      fs/xfs/linux-2.6/xfs_iops.o
  81.   CC      fs/xfs/linux-2.6/xfs_lrw.o
  82.   CC      fs/xfs/linux-2.6/xfs_super.o
  83.   CC      fs/xfs/linux-2.6/xfs_vfs.o
  84.   CC      fs/xfs/linux-2.6/xfs_vnode.o
  85.   CC      fs/xfs/support/move.o
  86.   CC      fs/xfs/support/uuid.o
  87.   LD      fs/xfs/xfs.o
  88.   LD      fs/xfs/built-in.o
  89.   LD      fs/built-in.o
  90.   GEN     .version
  91.   CHK     include/linux/compile.h
  92.   UPD     include/linux/compile.h
  93.   CC      init/version.o
  94.   LD      init/built-in.o
  95.   LD      .tmp_vmlinux1
  96.   KSYM    .tmp_kallsyms1.S
  97.   AS      .tmp_kallsyms1.o
  98.   LD      .tmp_vmlinux2
  99.   KSYM    .tmp_kallsyms2.S
  100.   AS      .tmp_kallsyms2.o
  101.   LD      vmlinux
  102.   SYSMAP  System.map
  103.   SYSMAP  .tmp_System.map
  104.   AS      arch/i386/boot/setup.o
  105.   LD      arch/i386/boot/setup
  106.   OBJCOPY arch/i386/boot/compressed/vmlinux.bin
  107.   GZIP    arch/i386/boot/compressed/vmlinux.bin.gz
  108.   LD      arch/i386/boot/compressed/piggy.o
  109.   LD      arch/i386/boot/compressed/vmlinux
  110.   OBJCOPY arch/i386/boot/vmlinux.bin
  111.   BUILD   arch/i386/boot/bzImage
  112. Root device is (3, 2)
  113. Boot sector 512 bytes.
  114. Setup is 6887 bytes.
  115. System is 2752 kB
  116. Kernel: arch/i386/boot/bzImage is ready  (#34)
  117.   Building modules, stage 2.
  118.   MODPOST
  119. root@ugsplm /usr/src/linux#                    

复制代码

作者: wolfop    时间: 2005-11-28 14:16
警告嘛,又不是ERROR,有兴趣自己HACK SOURCE咯。
作者: VirusCamp    时间: 2005-12-13 23:42
警告很正常,编译什么软件没有警告?




欢迎光临 Chinaunix (http://bbs.chinaunix.net/) Powered by Discuz! X3.2