最新消息:20210816 当前crifan.com域名已被污染,为防止失联,请关注(页面右下角的)公众号

【记录】Cygwin下交叉编译Linux内核在配置后去make编译

Cygwin crifan 3891浏览 0评论

【背景】

折腾:

【记录】Cygwin下用arm-xscale-linux-gnueabi交叉编译Linux内核

期间,在配置内核:

【记录】Cygwin下交叉编译Linux内核时用make xxx_defconfig去调用默认配置

【记录】Cygwin下交叉编译Linux内核时用make menuconfig去确认和修改配置

后,接着去交叉编译。

【折腾过程】

1.为了保险起见,还是加上ARCH和CROSS_COMPILE去编译:

make ARCH=arm CROSS_COMPILE=arm-xscale-linux-gnueabi- zImage

结果是,开始可以编译:

CLi@PC-CLI-1 ~/develop/kernel/linux-2.6.19.1
$ make ARCH=arm CROSS_COMPILE=arm-xscale-linux-gnueabi- zImage
  HOSTCC  scripts/basic/fixdep
scripts/basic/fixdep.c: In function ‘parse_config_file’:
scripts/basic/fixdep.c:242:4: warning: array subscript has type ‘char’ [-Wchar-subscripts]
scripts/basic/fixdep.c: In function ‘parse_dep_file’:
scripts/basic/fixdep.c:319:4: warning: array subscript has type ‘char’ [-Wchar-subscripts]
scripts/basic/fixdep.c: In function ‘traps’:
scripts/basic/fixdep.c:371:2: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
scripts/basic/fixdep.c:373:4: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
  HOSTCC  scripts/basic/docproc
scripts/basic/docproc.c: In function ‘find_export_symbols’:
scripts/basic/docproc.c:188:5: warning: array subscript has type ‘char’ [-Wchar-subscripts]
scripts/basic/docproc.c:191:5: warning: array subscript has type ‘char’ [-Wchar-subscripts]
scripts/basic/docproc.c:197:5: warning: array subscript has type ‘char’ [-Wchar-subscripts]
scripts/basic/docproc.c:200:5: warning: array subscript has type ‘char’ [-Wchar-subscripts]
scripts/basic/docproc.c: In function ‘singfunc’:
scripts/basic/docproc.c:267:17: warning: array subscript has type ‘char’ [-Wchar-subscripts]
scripts/basic/docproc.c: In function ‘parse_file’:
scripts/basic/docproc.c:300:6: warning: array subscript has type ‘char’ [-Wchar-subscripts]
scripts/basic/docproc.c:305:6: warning: array subscript has type ‘char’ [-Wchar-subscripts]
scripts/basic/docproc.c:310:6: warning: array subscript has type ‘char’ [-Wchar-subscripts]
scripts/basic/docproc.c:316:6: warning: array subscript has type ‘char’ [-Wchar-subscripts]
scripts/basic/docproc.c:319:6: warning: array subscript has type ‘char’ [-Wchar-subscripts]
  HOSTLD  scripts/kconfig/conf
scripts/kconfig/conf -s arch/arm/Kconfig
  CHK     include/linux/version.h
  UPD     include/linux/version.h
  SYMLINK include/asm-arm/arch -> include/asm-arm/arch-pxa
  Generating include/asm-arm/mach-types.h
  CHK     include/linux/utsrelease.h
  UPD     include/linux/utsrelease.h
  SYMLINK include/asm -> include/asm-arm
  HOSTCC  scripts/basic/fixdep
scripts/basic/fixdep.c: In function ‘parse_config_file’:
scripts/basic/fixdep.c:242:4: warning: array subscript has type ‘char’ [-Wchar-subscripts]
scripts/basic/fixdep.c: In function ‘parse_dep_file’:
scripts/basic/fixdep.c:319:4: warning: array subscript has type ‘char’ [-Wchar-subscripts]
scripts/basic/fixdep.c: In function ‘traps’:
scripts/basic/fixdep.c:371:2: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
scripts/basic/fixdep.c:373:4: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
  HOSTCC  scripts/basic/docproc
scripts/basic/docproc.c: In function ‘find_export_symbols’:
scripts/basic/docproc.c:188:5: warning: array subscript has type ‘char’ [-Wchar-subscripts]
scripts/basic/docproc.c:191:5: warning: array subscript has type ‘char’ [-Wchar-subscripts]
scripts/basic/docproc.c:197:5: warning: array subscript has type ‘char’ [-Wchar-subscripts]
scripts/basic/docproc.c:200:5: warning: array subscript has type ‘char’ [-Wchar-subscripts]
scripts/basic/docproc.c: In function ‘singfunc’:
scripts/basic/docproc.c:267:17: warning: array subscript has type ‘char’ [-Wchar-subscripts]
scripts/basic/docproc.c: In function ‘parse_file’:
scripts/basic/docproc.c:300:6: warning: array subscript has type ‘char’ [-Wchar-subscripts]
scripts/basic/docproc.c:305:6: warning: array subscript has type ‘char’ [-Wchar-subscripts]
scripts/basic/docproc.c:310:6: warning: array subscript has type ‘char’ [-Wchar-subscripts]
scripts/basic/docproc.c:316:6: warning: array subscript has type ‘char’ [-Wchar-subscripts]
scripts/basic/docproc.c:319:6: warning: array subscript has type ‘char’ [-Wchar-subscripts]
  CC      arch/arm/kernel/asm-offsets.s
  GEN     include/asm-arm/asm-offsets.h
  CC      scripts/mod/empty.o
  HOSTCC  scripts/mod/mk_elfconfig
  MKELF   scripts/mod/elfconfig.h
  HOSTCC  scripts/mod/file2alias.o
In file included from scripts/mod/file2alias.c:13:0:
scripts/mod/modpost.h:21:0: warning: "ELF_ST_BIND" redefined [enabled by default]
In file included from /usr/include/machine/elf.h:45:0,
                 from /usr/include/elf.h:37,
                 from scripts/mod/modpost.h:10,
                 from scripts/mod/file2alias.c:13:
/usr/include/sys/elf_generic.h:84:0: note: this is the location of the previous definition
In file included from scripts/mod/file2alias.c:13:0:
scripts/mod/modpost.h:22:0: warning: "ELF_ST_TYPE" redefined [enabled by default]
In file included from /usr/include/machine/elf.h:45:0,
                 from /usr/include/elf.h:37,
                 from scripts/mod/modpost.h:10,
                 from scripts/mod/file2alias.c:13:
/usr/include/sys/elf_generic.h:85:0: note: this is the location of the previous definition
In file included from scripts/mod/file2alias.c:13:0:
scripts/mod/modpost.h:26:0: warning: "ELF_R_SYM" redefined [enabled by default]
In file included from /usr/include/machine/elf.h:45:0,
                 from /usr/include/elf.h:37,
                 from scripts/mod/modpost.h:10,
                 from scripts/mod/file2alias.c:13:
/usr/include/sys/elf_generic.h:81:0: note: this is the location of the previous definition
In file included from scripts/mod/file2alias.c:13:0:

2.后来出现“scripts/mod/modpost.h:119:2: error: unknown type name ‘Elf32_Section’”的错误:

【已解决】Cygwin下交叉编译Linux内核make zImage时出错:scripts/mod/modpost.h:119:2: error: unknown type name ‘Elf32_Section’

3.然后继续编译,又出现"scripts/mod/sumversion.c:12:26: fatal error: linux/limits.h: No such file or directory"的错误:

【已解决】Cygwin下交叉编译Linux内核make zImage时出错:scripts/mod/sumversion.c:12:26: fatal error: linux/limits.h: No such file or directory

4.然后,就是,很长时间的,顺利的编译了。然后最终,就正常编译完成了:

CLi@PC-CLI-1 ~/develop/kernel/linux-2.6.19.1
$ make ARCH=arm CROSS_COMPILE=arm-xscale-linux-gnueabi- zImage
  CHK     include/linux/version.h
make[1]: `include/asm-arm/mach-types.h' is up to date.
  CHK     include/linux/utsrelease.h
  HOSTCC  scripts/basic/fixdep
scripts/basic/fixdep.c: In function ‘parse_config_file’:
scripts/basic/fixdep.c:242:4: warning: array subscript has type ‘char’ [-Wchar-subscripts]
scripts/basic/fixdep.c: In function ‘parse_dep_file’:
scripts/basic/fixdep.c:319:4: warning: array subscript has type ‘char’ [-Wchar-subscripts]
scripts/basic/fixdep.c: In function ‘traps’:
scripts/basic/fixdep.c:371:2: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
scripts/basic/fixdep.c:373:4: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
  HOSTCC  scripts/basic/docproc
scripts/basic/docproc.c: In function ‘find_export_symbols’:
scripts/basic/docproc.c:188:5: warning: array subscript has type ‘char’ [-Wchar-subscripts]
scripts/basic/docproc.c:191:5: warning: array subscript has type ‘char’ [-Wchar-subscripts]
scripts/basic/docproc.c:197:5: warning: array subscript has type ‘char’ [-Wchar-subscripts]
scripts/basic/docproc.c:200:5: warning: array subscript has type ‘char’ [-Wchar-subscripts]
scripts/basic/docproc.c: In function ‘singfunc’:
scripts/basic/docproc.c:267:17: warning: array subscript has type ‘char’ [-Wchar-subscripts]
scripts/basic/docproc.c: In function ‘parse_file’:
scripts/basic/docproc.c:300:6: warning: array subscript has type ‘char’ [-Wchar-subscripts]
scripts/basic/docproc.c:305:6: warning: array subscript has type ‘char’ [-Wchar-subscripts]
scripts/basic/docproc.c:310:6: warning: array subscript has type ‘char’ [-Wchar-subscripts]
scripts/basic/docproc.c:316:6: warning: array subscript has type ‘char’ [-Wchar-subscripts]
scripts/basic/docproc.c:319:6: warning: array subscript has type ‘char’ [-Wchar-subscripts]
  HOSTCC  scripts/mod/mk_elfconfig
  MKELF   scripts/mod/elfconfig.h
  HOSTCC  scripts/mod/file2alias.o
In file included from scripts/mod/file2alias.c:13:0:
scripts/mod/modpost.h:36:0: warning: "ELF_R_SYM" redefined [enabled by default]
In file included from /usr/include/machine/elf.h:45:0,
                 from /usr/include/elf.h:37,
                 from scripts/mod/modpost.h:10,
                 from scripts/mod/file2alias.c:13:
/usr/include/sys/elf_generic.h:81:0: note: this is the location of the previous definition
In file included from scripts/mod/file2alias.c:13:0:
scripts/mod/modpost.h:37:0: warning: "ELF_R_TYPE" redefined [enabled by default]
In file included from /usr/include/machine/elf.h:45:0,
                 from /usr/include/elf.h:37,
                 from scripts/mod/modpost.h:10,
                 from scripts/mod/file2alias.c:13:
/usr/include/sys/elf_generic.h:82:0: note: this is the location of the previous definition
scripts/mod/file2alias.c: In function ‘do_of_entry’:
scripts/mod/file2alias.c:365:9: warning: array subscript has type ‘char’ [-Wchar-subscripts]
scripts/mod/file2alias.c: In function ‘do_vio_entry’:
scripts/mod/file2alias.c:381:3: warning: array subscript has type ‘char’ [-Wchar-subscripts]
  HOSTCC  scripts/mod/modpost.o
In file included from scripts/mod/modpost.c:15:0:
scripts/mod/modpost.h:36:0: warning: "ELF_R_SYM" redefined [enabled by default]
In file included from /usr/include/machine/elf.h:45:0,
                 from /usr/include/elf.h:37,
                 from scripts/mod/modpost.h:10,
                 from scripts/mod/modpost.c:15:
/usr/include/sys/elf_generic.h:81:0: note: this is the location of the previous definition
In file included from scripts/mod/modpost.c:15:0:
scripts/mod/modpost.h:37:0: warning: "ELF_R_TYPE" redefined [enabled by default]
In file included from /usr/include/machine/elf.h:45:0,
                 from /usr/include/elf.h:37,
                 from scripts/mod/modpost.h:10,
                 from scripts/mod/modpost.c:15:
/usr/include/sys/elf_generic.h:82:0: note: this is the location of the previous definition
  HOSTCC  scripts/mod/sumversion.o
In file included from scripts/mod/sumversion.c:10:0:
scripts/mod/modpost.h:36:0: warning: "ELF_R_SYM" redefined [enabled by default]
In file included from /usr/include/machine/elf.h:45:0,
                 from /usr/include/elf.h:37,
                 from scripts/mod/modpost.h:10,
                 from scripts/mod/sumversion.c:10:
/usr/include/sys/elf_generic.h:81:0: note: this is the location of the previous definition
In file included from scripts/mod/sumversion.c:10:0:
scripts/mod/modpost.h:37:0: warning: "ELF_R_TYPE" redefined [enabled by default]
In file included from /usr/include/machine/elf.h:45:0,
                 from /usr/include/elf.h:37,
                 from scripts/mod/modpost.h:10,
                 from scripts/mod/sumversion.c:10:
/usr/include/sys/elf_generic.h:82:0: note: this is the location of the previous definition
scripts/mod/sumversion.c: In function ‘parse_file’:
scripts/mod/sumversion.c:275:3: warning: array subscript has type ‘char’ [-Wchar-subscripts]
scripts/mod/sumversion.c: In function ‘parse_source_files’:
scripts/mod/sumversion.c:350:24: warning: array subscript has type ‘char’ [-Wchar-subscripts]
scripts/mod/sumversion.c: In function ‘strip_rcs_crap’:
scripts/mod/sumversion.c:477:2: warning: array subscript has type ‘char’ [-Wchar-subscripts]
scripts/mod/sumversion.c:484:2: warning: array subscript has type ‘char’ [-Wchar-subscripts]
  HOSTLD  scripts/mod/modpost
  HOSTCC  scripts/kallsyms
scripts/kallsyms.c: In function ‘read_symbol’:
scripts/kallsyms.c:106:2: warning: array subscript has type ‘char’ [-Wchar-subscripts]
scripts/kallsyms.c:116:2: warning: array subscript has type ‘char’ [-Wchar-subscripts]
  HOSTCC  scripts/conmakehash
scripts/conmakehash.c: In function ‘getunicode’:
scripts/conmakehash.c:41:7: warning: array subscript has type ‘char’ [-Wchar-subscripts]
scripts/conmakehash.c:41:7: warning: array subscript has type ‘char’ [-Wchar-subscripts]
scripts/conmakehash.c:41:7: warning: array subscript has type ‘char’ [-Wchar-subscripts]
scripts/conmakehash.c:42:7: warning: array subscript has type ‘char’ [-Wchar-subscripts]
scripts/conmakehash.c:42:7: warning: array subscript has type ‘char’ [-Wchar-subscripts]
  CC      init/main.o
In file included from include/linux/buffer_head.h:13:0,
                 from init/main.c:49:
include/linux/pagemap.h: In function 'fault_in_pages_readable':
include/linux/pagemap.h:222:16: warning: variable 'c' set but not used [-Wunused-but-set-variable]
  CHK     include/linux/compile.h
  UPD     include/linux/compile.h
  CC      init/version.o
  CC      init/do_mounts.o
In file included from include/linux/nfs_fs.h:41:0,
                 from init/do_mounts.c:13:
include/linux/pagemap.h: In function 'fault_in_pages_readable':
include/linux/pagemap.h:222:16: warning: variable 'c' set but not used [-Wunused-but-set-variable]
  LD      init/mounts.o
  CC      init/initramfs.o
  CC      init/calibrate.o
  LD      init/built-in.o
  HOSTCC  usr/gen_init_cpio
  GEN     usr/initramfs_data.cpio.gz
  AS      usr/initramfs_data.o
  LD      usr/built-in.o
  CC      arch/arm/kernel/compat.o
  AS      arch/arm/kernel/entry-armv.o
  AS      arch/arm/kernel/entry-common.o
  CC      arch/arm/kernel/irq.o
  CC      arch/arm/kernel/process.o
  CC      arch/arm/kernel/ptrace.o
  CC      arch/arm/kernel/semaphore.o
  CC      arch/arm/kernel/setup.o
arch/arm/kernel/setup.c: In function 'request_standard_resources':
arch/arm/kernel/setup.c:544:37: warning: taking address of expression of type 'void' [enabled by default]
arch/arm/kernel/setup.c:545:37: warning: taking address of expression of type 'void' [enabled by default]
arch/arm/kernel/setup.c:546:37: warning: taking address of expression of type 'void' [enabled by default]
arch/arm/kernel/setup.c:547:37: warning: taking address of expression of type 'void' [enabled by default]
arch/arm/kernel/setup.c: In function 'setup_arch':
arch/arm/kernel/setup.c:804:39: warning: taking address of expression of type 'void' [enabled by default]
arch/arm/kernel/setup.c:805:39: warning: taking address of expression of type 'void' [enabled by default]
arch/arm/kernel/setup.c:806:39: warning: taking address of expression of type 'void' [enabled by default]
arch/arm/kernel/setup.c:807:35: warning: taking address of expression of type 'void' [enabled by default]
  CC      arch/arm/kernel/signal.o
  CC      arch/arm/kernel/sys_arm.o
  CC      arch/arm/kernel/time.o
  CC      arch/arm/kernel/traps.o
  CC      arch/arm/kernel/armksyms.o
  CC      arch/arm/kernel/module.o
  AS      arch/arm/kernel/iwmmxt.o
  CC      arch/arm/kernel/iwmmxt-notifier.o
  CC      arch/arm/kernel/io.o
  LD      arch/arm/kernel/built-in.o
  AS      arch/arm/kernel/head.o
  CC      arch/arm/kernel/init_task.o
  LDS     arch/arm/kernel/vmlinux.lds
  CC      arch/arm/mm/consistent.o
arch/arm/mm/consistent.c: In function 'dma_free_coherent':
arch/arm/mm/consistent.c:400:25: warning: array subscript is above array bounds [-Warray-bounds]
arch/arm/mm/consistent.c: In function '__dma_alloc':
arch/arm/mm/consistent.c:247:25: warning: array subscript is above array bounds [-Warray-bounds]
  CC      arch/arm/mm/extable.o
  CC      arch/arm/mm/fault.o
  CC      arch/arm/mm/init.o
arch/arm/mm/init.c: In function 'find_bootmap_pfn':
arch/arm/mm/init.c:101:16: warning: taking address of expression of type 'void' [enabled by default]
arch/arm/mm/init.c: In function 'mem_init':
arch/arm/mm/init.c:425:14: warning: taking address of expression of type 'void' [enabled by default]
arch/arm/mm/init.c:425:24: warning: taking address of expression of type 'void' [enabled by default]
arch/arm/mm/init.c:426:14: warning: taking address of expression of type 'void' [enabled by default]
arch/arm/mm/init.c:426:22: warning: taking address of expression of type 'void' [enabled by default]
arch/arm/mm/init.c:427:14: warning: taking address of expression of type 'void' [enabled by default]
arch/arm/mm/init.c:427:28: warning: taking address of expression of type 'void' [enabled by default]
arch/arm/mm/init.c: In function 'free_initmem':
arch/arm/mm/init.c:480:29: warning: taking address of expression of type 'void' [enabled by default]
arch/arm/mm/init.c:481:22: warning: taking address of expression of type 'void' [enabled by default]
  CC      arch/arm/mm/iomap.o
  CC      arch/arm/mm/fault-armv.o
In file included from arch/arm/mm/fault-armv.c:18:0:
include/linux/pagemap.h: In function 'fault_in_pages_readable':
include/linux/pagemap.h:222:16: warning: variable 'c' set but not used [-Wunused-but-set-variable]
  CC      arch/arm/mm/flush.o
In file included from arch/arm/mm/flush.c:12:0:
include/linux/pagemap.h: In function 'fault_in_pages_readable':
include/linux/pagemap.h:222:16: warning: variable 'c' set but not used [-Wunused-but-set-variable]
  CC      arch/arm/mm/ioremap.o
  CC      arch/arm/mm/mmap.o
  CC      arch/arm/mm/pgd.o
  CC      arch/arm/mm/mmu.o
arch/arm/mm/mmu.c: In function 'reserve_node_zero':
arch/arm/mm/mmu.c:594:30: warning: taking address of expression of type 'void' [enabled by default]
arch/arm/mm/mmu.c:594:45: warning: taking address of expression of type 'void' [enabled by default]
arch/arm/mm/mmu.c:594:53: warning: taking address of expression of type 'void' [enabled by default]
  CC      arch/arm/mm/proc-syms.o
  CC      arch/arm/mm/alignment.o
arch/arm/mm/alignment.c: In function 'do_alignment':
arch/arm/mm/alignment.c:274:15: warning: 'offset.un' may be used uninitialized in this function [-Wuninitialized]
arch/arm/mm/alignment.c:622:21: note: 'offset.un' was declared here
  AS      arch/arm/mm/abort-ev5t.o
  CC      arch/arm/mm/copypage-xscale.o
  AS      arch/arm/mm/tlb-v4wbi.o
  AS      arch/arm/mm/proc-xscale.o
  LD      arch/arm/mm/built-in.o
  CC      arch/arm/common/rtctime.o
  LD      arch/arm/common/built-in.o
  CC      arch/arm/mach-pxa/clock.o
  CC      arch/arm/mach-pxa/generic.o
arch/arm/mach-pxa/generic.c:324:31: warning: 'pxawdt_device' defined but not used [-Wunused-variable]
  CC      arch/arm/mach-pxa/irq.o
  CC      arch/arm/mach-pxa/dma.o
  CC      arch/arm/mach-pxa/time.o
arch/arm/mach-pxa/time.c: In function 'pxa_timer_init':
arch/arm/mach-pxa/time.c:133:2: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'time_t' [-Wformat]
arch/arm/mach-pxa/time.c:133:2: warning: format '%lx' expects argument of type 'long unsigned int', but argument 3 has type 'int' [-Wformat]
  CC      arch/arm/mach-pxa/pxa27x.o
arch/arm/mach-pxa/pxa27x.c: In function 'get_clk_frequency_khz':
arch/arm/mach-pxa/pxa27x.c:39:24: warning: variable 'ht' set but not used [-Wunused-but-set-variable]
  CC      arch/arm/mach-pxa/lpd270.o
arch/arm/mach-pxa/lpd270.c:171:31: warning: 'lpd270_audio_device' defined but not used [-Wunused-variable]
arch/arm/mach-pxa/lpd270.c:790:20: warning: 'whgs_fixup' defined but not used [-Wunused-function]
  CC      arch/arm/mach-pxa/serial_max3111.o
  LD      arch/arm/mach-pxa/built-in.o
  CC      arch/arm/nwfpe/fpa11.o
  CC      arch/arm/nwfpe/fpa11_cpdo.o
  CC      arch/arm/nwfpe/fpa11_cpdt.o
  CC      arch/arm/nwfpe/fpa11_cprt.o
arch/arm/nwfpe/fpa11.inl:48:17: warning: 'current_thread_info' is static but used in inline function 'writeFPCR' which is not static [enabled by default]
arch/arm/nwfpe/fpa11.inl:41:17: warning: 'current_thread_info' is static but used in inline function 'readFPCR' which is not static [enabled by default]
arch/arm/nwfpe/fpa11.inl:33:17: warning: 'current_thread_info' is static but used in inline function 'writeFPSR' which is not static [enabled by default]
arch/arm/nwfpe/fpa11.inl:27:17: warning: 'current_thread_info' is static but used in inline function 'readFPSR' which is not static [enabled by default]
  CC      arch/arm/nwfpe/fpmodule.o
arch/arm/nwfpe/fpa11.inl:48:17: warning: 'current_thread_info' is static but used in inline function 'writeFPCR' which is not static [enabled by default]
arch/arm/nwfpe/fpa11.inl:41:17: warning: 'current_thread_info' is static but used in inline function 'readFPCR' which is not static [enabled by default]
arch/arm/nwfpe/fpa11.inl:33:17: warning: 'current_thread_info' is static but used in inline function 'writeFPSR' which is not static [enabled by default]
arch/arm/nwfpe/fpa11.inl:27:17: warning: 'current_thread_info' is static but used in inline function 'readFPSR' which is not static [enabled by default]
  CC      arch/arm/nwfpe/fpopcode.o
  CC      arch/arm/nwfpe/softfloat.o
arch/arm/nwfpe/softfloat.c: In function 'float32_rem':
arch/arm/nwfpe/softfloat.c:1349:17: warning: variable 'bSign' set but not used [-Wunused-but-set-variable]
arch/arm/nwfpe/softfloat.c: In function 'float64_rem':
arch/arm/nwfpe/softfloat.c:2247:17: warning: variable 'bSign' set but not used [-Wunused-but-set-variable]
  CC      arch/arm/nwfpe/single_cpdo.o
  CC      arch/arm/nwfpe/double_cpdo.o
  AS      arch/arm/nwfpe/entry.o
  LD      arch/arm/nwfpe/nwfpe.o
  LD      arch/arm/nwfpe/built-in.o
  CC      kernel/sched.o
In file included from include/linux/blkdev.h:10:0,
                 from kernel/sched.c:39:
include/linux/pagemap.h: In function 'fault_in_pages_readable':
include/linux/pagemap.h:222:16: warning: variable 'c' set but not used [-Wunused-but-set-variable]
  CC      kernel/fork.o
  CC      kernel/exec_domain.o
  CC      kernel/panic.o
  CC      kernel/printk.o
  CC      kernel/profile.o
  CC      kernel/exit.o
In file included from include/linux/blkdev.h:10:0,
                 from kernel/exit.c:43:
include/linux/pagemap.h: In function 'fault_in_pages_readable':
include/linux/pagemap.h:222:16: warning: variable 'c' set but not used [-Wunused-but-set-variable]
  CC      kernel/itimer.o
  CC      kernel/time.o
  CC      kernel/softirq.o
  CC      kernel/resource.o
  CC      kernel/sysctl.o
In file included from include/linux/nfs_fs.h:41:0,
                 from kernel/sysctl.c:46:
include/linux/pagemap.h: In function 'fault_in_pages_readable':
include/linux/pagemap.h:222:16: warning: variable 'c' set but not used [-Wunused-but-set-variable]
kernel/sysctl.c: In function 'do_sysctl':
kernel/sysctl.c:1235:7: warning: variable 'old_len' set but not used [-Wunused-but-set-variable]
  CC      kernel/capability.o
  CC      kernel/ptrace.o
In file included from kernel/ptrace.c:16:0:
include/linux/pagemap.h: In function 'fault_in_pages_readable':
include/linux/pagemap.h:222:16: warning: variable 'c' set but not used [-Wunused-but-set-variable]
  CC      kernel/timer.o
  CC      kernel/user.o
  CC      kernel/signal.o
  CC      kernel/sys.o
  CC      kernel/kmod.o
kernel/kmod.c: In function '____call_usermodehelper':
kernel/kmod.c:133:28: warning: variable 'old_session' set but not used [-Wunused-but-set-variable]
kernel/kmod.c:133:14: warning: variable 'new_session' set but not used [-Wunused-but-set-variable]
  CC      kernel/workqueue.o
  CC      kernel/pid.o
  CC      kernel/rcupdate.o
  CC      kernel/extable.o
  CC      kernel/params.o
  CC      kernel/posix-timers.o
  CC      kernel/kthread.o
  CC      kernel/wait.o
  CC      kernel/kfifo.o
  CC      kernel/sys_ni.o
  CC      kernel/posix-cpu-timers.o
  CC      kernel/mutex.o
  CC      kernel/hrtimer.o
kernel/hrtimer.c: In function 'ktime_divns':
kernel/hrtimer.c:269:12: warning: variable 'inc' set but not used [-Wunused-but-set-variable]
kernel/hrtimer.c: In function 'hrtimer_get_remaining':
kernel/hrtimer.c:511:23: warning: variable 'base' set but not used [-Wunused-but-set-variable]
  CC      kernel/rwsem.o
  CC      kernel/latency.o
  CC      kernel/nsproxy.o
  CC      kernel/srcu.o
  CC      kernel/irq/handle.o
kernel/irq/handle.c: In function '__do_IRQ':
kernel/irq/handle.c:175:15: warning: variable 'action_ret' set but not used [-Wunused-but-set-variable]
  CC      kernel/irq/manage.o
  CC      kernel/irq/spurious.o
  CC      kernel/irq/resend.o
  CC      kernel/irq/chip.o
  CC      kernel/irq/autoprobe.o
  CC      kernel/irq/proc.o
  LD      kernel/irq/built-in.o
  CC      kernel/time/ntp.o
  CC      kernel/time/clocksource.o
  CC      kernel/time/jiffies.o
  LD      kernel/time/built-in.o
  CC      kernel/futex.o
In file included from kernel/futex.c:48:0:
include/linux/pagemap.h: In function 'fault_in_pages_readable':
include/linux/pagemap.h:222:16: warning: variable 'c' set but not used [-Wunused-but-set-variable]
kernel/futex.c: In function 'futex_wake_op':
kernel/futex.c:721:7: warning: variable 'dummy' set but not used [-Wunused-but-set-variable]
  CC      kernel/rtmutex.o
  CC      kernel/uid16.o
  CC      kernel/module.o
kernel/module.c: In function 'module_add_driver':
kernel/module.c:2282:19: warning: ignoring return value of 'sysfs_create_link', declared with attribute warn_unused_result [-Wunused-result]
  CC      kernel/kallsyms.o
  CC      kernel/ksysfs.o
  LD      kernel/built-in.o
  CC      mm/bootmem.o
  CC      mm/filemap.o
In file included from mm/filemap.c:23:0:
include/linux/pagemap.h: In function 'fault_in_pages_readable':
include/linux/pagemap.h:222:16: warning: variable 'c' set but not used [-Wunused-but-set-variable]
  CC      mm/mempool.o
In file included from include/linux/blkdev.h:10:0,
                 from mm/mempool.c:15:
include/linux/pagemap.h: In function 'fault_in_pages_readable':
include/linux/pagemap.h:222:16: warning: variable 'c' set but not used [-Wunused-but-set-variable]
  CC      mm/oom_kill.o
  CC      mm/fadvise.o
In file included from mm/fadvise.c:14:0:
include/linux/pagemap.h: In function 'fault_in_pages_readable':
include/linux/pagemap.h:222:16: warning: variable 'c' set but not used [-Wunused-but-set-variable]
  CC      mm/page_alloc.o
In file included from mm/page_alloc.c:21:0:
include/linux/pagemap.h: In function 'fault_in_pages_readable':
include/linux/pagemap.h:222:16: warning: variable 'c' set but not used [-Wunused-but-set-variable]
  CC      mm/page-writeback.o
In file included from mm/page-writeback.c:20:0:
include/linux/pagemap.h: In function 'fault_in_pages_readable':
include/linux/pagemap.h:222:16: warning: variable 'c' set but not used [-Wunused-but-set-variable]
  CC      mm/pdflush.o
  CC      mm/readahead.o
In file included from include/linux/blkdev.h:10:0,
                 from mm/readahead.c:14:
include/linux/pagemap.h: In function 'fault_in_pages_readable':
include/linux/pagemap.h:222:16: warning: variable 'c' set but not used [-Wunused-but-set-variable]
  CC      mm/swap.o
In file included from mm/swap.c:21:0:
include/linux/pagemap.h: In function 'fault_in_pages_readable':
include/linux/pagemap.h:222:16: warning: variable 'c' set but not used [-Wunused-but-set-variable]
  CC      mm/truncate.o
In file included from mm/truncate.c:14:0:
include/linux/pagemap.h: In function 'fault_in_pages_readable':
include/linux/pagemap.h:222:16: warning: variable 'c' set but not used [-Wunused-but-set-variable]
  CC      mm/vmscan.o
In file included from mm/vmscan.c:19:0:
include/linux/pagemap.h: In function 'fault_in_pages_readable':
include/linux/pagemap.h:222:16: warning: variable 'c' set but not used [-Wunused-but-set-variable]
  CC      mm/prio_tree.o
  CC      mm/util.o
  CC      mm/mmzone.o
  CC      mm/vmstat.o
  CC      mm/backing-dev.o
  CC      mm/fremap.o
In file included from mm/fremap.c:13:0:
include/linux/pagemap.h: In function 'fault_in_pages_readable':
include/linux/pagemap.h:222:16: warning: variable 'c' set but not used [-Wunused-but-set-variable]
mm/fremap.c: In function 'install_file_pte':
mm/fremap.c:104:8: warning: variable 'pte_val' set but not used [-Wunused-but-set-variable]
  CC      mm/highmem.o
In file included from mm/highmem.c:23:0:
include/linux/pagemap.h: In function 'fault_in_pages_readable':
include/linux/pagemap.h:222:16: warning: variable 'c' set but not used [-Wunused-but-set-variable]
  CC      mm/madvise.o
In file included from mm/madvise.c:9:0:
include/linux/pagemap.h: In function 'fault_in_pages_readable':
include/linux/pagemap.h:222:16: warning: variable 'c' set but not used [-Wunused-but-set-variable]
  CC      mm/memory.o
In file included from mm/memory.c:47:0:
include/linux/pagemap.h: In function 'fault_in_pages_readable':
include/linux/pagemap.h:222:16: warning: variable 'c' set but not used [-Wunused-but-set-variable]
mm/memory.c: In function 'free_pgd_range':
mm/memory.c:212:16: warning: variable 'start' set but not used [-Wunused-but-set-variable]
  CC      mm/mincore.o
In file included from mm/mincore.c:11:0:
include/linux/pagemap.h: In function 'fault_in_pages_readable':
include/linux/pagemap.h:222:16: warning: variable 'c' set but not used [-Wunused-but-set-variable]
  CC      mm/mlock.o
  CC      mm/mmap.o
In file included from mm/mmap.c:13:0:
include/linux/pagemap.h: In function 'fault_in_pages_readable':
include/linux/pagemap.h:222:16: warning: variable 'c' set but not used [-Wunused-but-set-variable]
  CC      mm/mprotect.o
  CC      mm/mremap.o
  CC      mm/msync.o
  CC      mm/rmap.o
In file included from mm/rmap.c:42:0:
include/linux/pagemap.h: In function 'fault_in_pages_readable':
include/linux/pagemap.h:222:16: warning: variable 'c' set but not used [-Wunused-but-set-variable]
  CC      mm/vmalloc.o
  CC      mm/bounce.o
In file included from mm/bounce.c:10:0:
include/linux/pagemap.h: In function 'fault_in_pages_readable':
include/linux/pagemap.h:222:16: warning: variable 'c' set but not used [-Wunused-but-set-variable]
  CC      mm/page_io.o
In file included from mm/page_io.c:15:0:
include/linux/pagemap.h: In function 'fault_in_pages_readable':
include/linux/pagemap.h:222:16: warning: variable 'c' set but not used [-Wunused-but-set-variable]
  CC      mm/swap_state.o
In file included from mm/swap_state.c:14:0:
include/linux/pagemap.h: In function 'fault_in_pages_readable':
include/linux/pagemap.h:222:16: warning: variable 'c' set but not used [-Wunused-but-set-variable]
  CC      mm/swapfile.o
In file included from mm/swapfile.c:15:0:
include/linux/pagemap.h: In function 'fault_in_pages_readable':
include/linux/pagemap.h:222:16: warning: variable 'c' set but not used [-Wunused-but-set-variable]
  CC      mm/thrash.o
  CC      mm/shmem.o
In file included from mm/shmem.c:35:0:
include/linux/pagemap.h: In function 'fault_in_pages_readable':
include/linux/pagemap.h:222:16: warning: variable 'c' set but not used [-Wunused-but-set-variable]
mm/shmem.c: In function 'shmem_file_write':
mm/shmem.c:1475:27: warning: variable 'dummy' set but not used [-Wunused-but-set-variable]
  CC      mm/shmem_acl.o
  CC      mm/slab.o
mm/slab.c: In function 'kmem_cache_create':
mm/slab.c:2110:8: warning: variable 'tmp' set but not used [-Wunused-but-set-variable]
mm/slab.c: In function 'cache_reap':
mm/slab.c:3859:8: warning: variable 'freed' set but not used [-Wunused-but-set-variable]
  LD      mm/built-in.o
  CC      fs/open.o
In file included from fs/open.c:26:0:
include/linux/pagemap.h: In function 'fault_in_pages_readable':
include/linux/pagemap.h:222:16: warning: variable 'c' set but not used [-Wunused-but-set-variable]
  CC      fs/read_write.o
In file included from fs/read_write.c:17:0:
include/linux/pagemap.h: In function 'fault_in_pages_readable':
include/linux/pagemap.h:222:16: warning: variable 'c' set but not used [-Wunused-but-set-variable]
  CC      fs/file_table.o
  CC      fs/super.o
In file included from include/linux/blkdev.h:10:0,
                 from fs/super.c:28:
include/linux/pagemap.h: In function 'fault_in_pages_readable':
include/linux/pagemap.h:222:16: warning: variable 'c' set but not used [-Wunused-but-set-variable]
  CC      fs/char_dev.o
  CC      fs/stat.o
In file included from fs/stat.c:17:0:
include/linux/pagemap.h: In function 'fault_in_pages_readable':
include/linux/pagemap.h:222:16: warning: variable 'c' set but not used [-Wunused-but-set-variable]
  CC      fs/exec.o
In file included from fs/exec.c:33:0:
include/linux/pagemap.h: In function 'fault_in_pages_readable':
include/linux/pagemap.h:222:16: warning: variable 'c' set but not used [-Wunused-but-set-variable]
  CC      fs/pipe.o
In file included from fs/pipe.c:18:0:
include/linux/pagemap.h: In function 'fault_in_pages_readable':
include/linux/pagemap.h:222:16: warning: variable 'c' set but not used [-Wunused-but-set-variable]
  CC      fs/namei.o
In file included from fs/namei.c:23:0:
include/linux/pagemap.h: In function 'fault_in_pages_readable':
include/linux/pagemap.h:222:16: warning: variable 'c' set but not used [-Wunused-but-set-variable]
  CC      fs/fcntl.o
  CC      fs/ioctl.o
  CC      fs/readdir.o
  CC      fs/select.o
  CC      fs/fifo.o
  CC      fs/locks.o
  CC      fs/dcache.o
  CC      fs/inode.o
In file included from fs/inode.c:20:0:
include/linux/pagemap.h: In function 'fault_in_pages_readable':
include/linux/pagemap.h:222:16: warning: variable 'c' set but not used [-Wunused-but-set-variable]
  CC      fs/attr.o
  CC      fs/bad_inode.o
  CC      fs/file.o
  CC      fs/filesystems.o
  CC      fs/namespace.o
  CC      fs/aio.o
  CC      fs/seq_file.o
  CC      fs/xattr.o
  CC      fs/libfs.o
In file included from fs/libfs.c:7:0:
include/linux/pagemap.h: In function 'fault_in_pages_readable':
include/linux/pagemap.h:222:16: warning: variable 'c' set but not used [-Wunused-but-set-variable]
  CC      fs/fs-writeback.o
In file included from include/linux/blkdev.h:10:0,
                 from fs/fs-writeback.c:22:
include/linux/pagemap.h: In function 'fault_in_pages_readable':
include/linux/pagemap.h:222:16: warning: variable 'c' set but not used [-Wunused-but-set-variable]
  CC      fs/pnode.o
  CC      fs/drop_caches.o
  CC      fs/splice.o
In file included from fs/splice.c:22:0:
include/linux/pagemap.h: In function 'fault_in_pages_readable':
include/linux/pagemap.h:222:16: warning: variable 'c' set but not used [-Wunused-but-set-variable]
  CC      fs/sync.o
In file included from fs/sync.c:12:0:
include/linux/pagemap.h: In function 'fault_in_pages_readable':
include/linux/pagemap.h:222:16: warning: variable 'c' set but not used [-Wunused-but-set-variable]
  CC      fs/utimes.o
  CC      fs/buffer.o
In file included from include/linux/blkdev.h:10:0,
                 from fs/buffer.c:29:
include/linux/pagemap.h: In function 'fault_in_pages_readable':
include/linux/pagemap.h:222:16: warning: variable 'c' set but not used [-Wunused-but-set-variable]
  CC      fs/bio.o
In file included from include/linux/blkdev.h:10:0,
                 from fs/bio.c:21:
include/linux/pagemap.h: In function 'fault_in_pages_readable':
include/linux/pagemap.h:222:16: warning: variable 'c' set but not used [-Wunused-but-set-variable]
  CC      fs/block_dev.o
In file included from include/linux/blkdev.h:10:0,
                 from fs/block_dev.c:16:
include/linux/pagemap.h: In function 'fault_in_pages_readable':
include/linux/pagemap.h:222:16: warning: variable 'c' set but not used [-Wunused-but-set-variable]
fs/block_dev.c: In function 'bd_claim_by_disk':
fs/block_dev.c:776:10: warning: 'found' may be used uninitialized in this function [-Wuninitialized]
fs/block_dev.c:756:25: note: 'found' was declared here
  CC      fs/direct-io.o
In file included from fs/direct-io.c:29:0:
include/linux/pagemap.h: In function 'fault_in_pages_readable':
include/linux/pagemap.h:222:16: warning: variable 'c' set but not used [-Wunused-but-set-variable]
  CC      fs/mpage.o
In file included from include/linux/buffer_head.h:13:0,
                 from fs/mpage.c:21:
include/linux/pagemap.h: In function 'fault_in_pages_readable':
include/linux/pagemap.h:222:16: warning: variable 'c' set but not used [-Wunused-but-set-variable]
  CC      fs/ioprio.o
In file included from include/linux/blkdev.h:10:0,
                 from fs/ioprio.c:24:
include/linux/pagemap.h: In function 'fault_in_pages_readable':
include/linux/pagemap.h:222:16: warning: variable 'c' set but not used [-Wunused-but-set-variable]
  CC      fs/inotify.o
  CC      fs/inotify_user.o
  CC      fs/eventpoll.o
  CC      fs/binfmt_script.o
  CC      fs/binfmt_elf.o
In file included from fs/binfmt_elf.c:37:0:
include/linux/pagemap.h: In function 'fault_in_pages_readable':
include/linux/pagemap.h:222:16: warning: variable 'c' set but not used [-Wunused-but-set-variable]
fs/binfmt_elf.c: In function 'load_elf_binary':
fs/binfmt_elf.c:548:6: warning: variable 'have_pt_gnu_stack' set but not used [-Wunused-but-set-variable]
fs/binfmt_elf.c:545:16: warning: variable 'reloc_func_desc' set but not used [-Wunused-but-set-variable]
fs/binfmt_elf.c:536:16: warning: variable 'ibcs2_interpreter' set but not used [-Wunused-but-set-variable]
  CC      fs/posix_acl.o
  CC      fs/xattr_acl.o
  CC      fs/devpts/inode.o
  LD      fs/devpts/devpts.o
  LD      fs/devpts/built-in.o
  CC      fs/fat/cache.o
In file included from include/linux/buffer_head.h:13:0,
                 from include/linux/msdos_fs.h:183,
                 from fs/fat/cache.c:12:
include/linux/pagemap.h: In function 'fault_in_pages_readable':
include/linux/pagemap.h:222:16: warning: variable 'c' set but not used [-Wunused-but-set-variable]
  CC      fs/fat/dir.o
In file included from include/linux/buffer_head.h:13:0,
                 from include/linux/msdos_fs.h:183,
                 from fs/fat/dir.c:19:
include/linux/pagemap.h: In function 'fault_in_pages_readable':
include/linux/pagemap.h:222:16: warning: variable 'c' set but not used [-Wunused-but-set-variable]
  CC      fs/fat/fatent.o
In file included from include/linux/buffer_head.h:13:0,
                 from include/linux/msdos_fs.h:183,
                 from fs/fat/fatent.c:8:
include/linux/pagemap.h: In function 'fault_in_pages_readable':
include/linux/pagemap.h:222:16: warning: variable 'c' set but not used [-Wunused-but-set-variable]
  CC      fs/fat/file.o
In file included from include/linux/buffer_head.h:13:0,
                 from include/linux/msdos_fs.h:183,
                 from fs/fat/file.c:12:
include/linux/pagemap.h: In function 'fault_in_pages_readable':
include/linux/pagemap.h:222:16: warning: variable 'c' set but not used [-Wunused-but-set-variable]
  CC      fs/fat/inode.o
In file included from include/linux/buffer_head.h:13:0,
                 from include/linux/msdos_fs.h:183,
                 from fs/fat/inode.c:19:
include/linux/pagemap.h: In function 'fault_in_pages_readable':
include/linux/pagemap.h:222:16: warning: variable 'c' set but not used [-Wunused-but-set-variable]
  CC      fs/fat/misc.o
In file included from include/linux/buffer_head.h:13:0,
                 from include/linux/msdos_fs.h:183,
                 from fs/fat/misc.c:11:
include/linux/pagemap.h: In function 'fault_in_pages_readable':
include/linux/pagemap.h:222:16: warning: variable 'c' set but not used [-Wunused-but-set-variable]
  LD      fs/fat/fat.o
  LD      fs/fat/built-in.o
  CC      fs/jffs2/compr.o
  CC      fs/jffs2/dir.o
fs/jffs2/dir.c: In function 'jffs2_lookup':
fs/jffs2/dir.c:79:24: warning: variable 'c' set but not used [-Wunused-but-set-variable]
fs/jffs2/dir.c: In function 'jffs2_readdir':
fs/jffs2/dir.c:125:24: warning: variable 'c' set but not used [-Wunused-but-set-variable]
  CC      fs/jffs2/file.o
In file included from fs/jffs2/file.c:18:0:
include/linux/pagemap.h: In function 'fault_in_pages_readable':
include/linux/pagemap.h:222:16: warning: variable 'c' set but not used [-Wunused-but-set-variable]
  CC      fs/jffs2/ioctl.o
  CC      fs/jffs2/nodelist.o
In file included from fs/jffs2/nodelist.c:21:0:
include/linux/pagemap.h: In function 'fault_in_pages_readable':
include/linux/pagemap.h:222:16: warning: variable 'c' set but not used [-Wunused-but-set-variable]
  CC      fs/jffs2/malloc.o
  CC      fs/jffs2/read.o
In file included from fs/jffs2/read.c:17:0:
include/linux/pagemap.h: In function 'fault_in_pages_readable':
include/linux/pagemap.h:222:16: warning: variable 'c' set but not used [-Wunused-but-set-variable]
  CC      fs/jffs2/nodemgmt.o
  CC      fs/jffs2/readinode.o
In file included from fs/jffs2/readinode.c:19:0:
include/linux/pagemap.h: In function 'fault_in_pages_readable':
include/linux/pagemap.h:222:16: warning: variable 'c' set but not used [-Wunused-but-set-variable]
fs/jffs2/readinode.c: In function 'jffs2_do_read_inode_internal':
fs/jffs2/readinode.c:749:7: warning: 'fd_list' may be used uninitialized in this function [-Wuninitialized]
fs/jffs2/readinode.c:791:44: warning: 'latest_mctime' may be used uninitialized in this function [-Wuninitialized]
  CC      fs/jffs2/write.o
In file included from fs/jffs2/write.c:18:0:
include/linux/pagemap.h: In function 'fault_in_pages_readable':
include/linux/pagemap.h:222:16: warning: variable 'c' set but not used [-Wunused-but-set-variable]
  CC      fs/jffs2/scan.o
In file included from fs/jffs2/scan.c:17:0:
include/linux/pagemap.h: In function 'fault_in_pages_readable':
include/linux/pagemap.h:222:16: warning: variable 'c' set but not used [-Wunused-but-set-variable]
  CC      fs/jffs2/gc.o
In file included from fs/jffs2/gc.c:17:0:
include/linux/pagemap.h: In function 'fault_in_pages_readable':
include/linux/pagemap.h:222:16: warning: variable 'c' set but not used [-Wunused-but-set-variable]
  CC      fs/jffs2/symlink.o
  CC      fs/jffs2/build.o
  CC      fs/jffs2/erase.o
In file included from fs/jffs2/erase.c:20:0:
include/linux/pagemap.h: In function 'fault_in_pages_readable':
include/linux/pagemap.h:222:16: warning: variable 'c' set but not used [-Wunused-but-set-variable]
fs/jffs2/erase.c: In function 'jffs2_erase_pending_blocks':
fs/jffs2/erase.c:443:20: warning: 'bad_offset' may be used uninitialized in this function [-Wuninitialized]
fs/jffs2/erase.c:367:11: note: 'bad_offset' was declared here
  CC      fs/jffs2/background.o
  CC      fs/jffs2/fs.o
In file included from fs/jffs2/fs.c:20:0:
include/linux/pagemap.h: In function 'fault_in_pages_readable':
include/linux/pagemap.h:222:16: warning: variable 'c' set but not used [-Wunused-but-set-variable]
  CC      fs/jffs2/writev.o
fs/jffs2/writev.c: In function 'jffs2_flash_direct_write':
fs/jffs2/writev.c:69:15: warning: variable 'vecs' set but not used [-Wunused-but-set-variable]
  CC      fs/jffs2/super.o
In file included from fs/jffs2/super.c:22:0:
include/linux/pagemap.h: In function 'fault_in_pages_readable':
include/linux/pagemap.h:222:16: warning: variable 'c' set but not used [-Wunused-but-set-variable]
  CC      fs/jffs2/debug.o
In file included from fs/jffs2/debug.c:15:0:
include/linux/pagemap.h: In function 'fault_in_pages_readable':
include/linux/pagemap.h:222:16: warning: variable 'c' set but not used [-Wunused-but-set-variable]
  CC      fs/jffs2/wbuf.o
  CC      fs/jffs2/compr_rtime.o
  CC      fs/jffs2/compr_zlib.o
  LD      fs/jffs2/jffs2.o
  LD      fs/jffs2/built-in.o
  CC      fs/lockd/clntlock.o
In file included from include/linux/nfs_fs.h:41:0,
                 from fs/lockd/clntlock.c:12:
include/linux/pagemap.h: In function 'fault_in_pages_readable':
include/linux/pagemap.h:222:16: warning: variable 'c' set but not used [-Wunused-but-set-variable]
  CC      fs/lockd/clntproc.o
In file included from include/linux/nfs_fs.h:41:0,
                 from fs/lockd/clntproc.c:13:
include/linux/pagemap.h: In function 'fault_in_pages_readable':
include/linux/pagemap.h:222:16: warning: variable 'c' set but not used [-Wunused-but-set-variable]
  CC      fs/lockd/host.o
  CC      fs/lockd/svc.o
  CC      fs/lockd/svclock.o
  CC      fs/lockd/svcshare.o
  CC      fs/lockd/svcproc.o
  CC      fs/lockd/svcsubs.o
  CC      fs/lockd/mon.o
  CC      fs/lockd/xdr.o
  LD      fs/lockd/lockd.o
  LD      fs/lockd/built-in.o
  CC      fs/msdos/namei.o
In file included from include/linux/buffer_head.h:13:0,
                 from fs/msdos/namei.c:11:
include/linux/pagemap.h: In function 'fault_in_pages_readable':
include/linux/pagemap.h:222:16: warning: variable 'c' set but not used [-Wunused-but-set-variable]
  LD      fs/msdos/msdos.o
  LD      fs/msdos/built-in.o
  CC      fs/nfs/client.o
In file included from include/linux/nfs_fs.h:41:0,
                 from fs/nfs/client.c:26:
include/linux/pagemap.h: In function 'fault_in_pages_readable':
include/linux/pagemap.h:222:16: warning: variable 'c' set but not used [-Wunused-but-set-variable]
  CC      fs/nfs/dir.o
In file included from include/linux/nfs_fs.h:41:0,
                 from fs/nfs/dir.c:29:
include/linux/pagemap.h: In function 'fault_in_pages_readable':
include/linux/pagemap.h:222:16: warning: variable 'c' set but not used [-Wunused-but-set-variable]
fs/nfs/dir.c: In function 'nfs_readdir_filler':
fs/nfs/dir.c:177:16: warning: variable 'timestamp' set but not used [-Wunused-but-set-variable]
  CC      fs/nfs/file.o
In file included from include/linux/nfs_fs.h:41:0,
                 from fs/nfs/file.c:24:
include/linux/pagemap.h: In function 'fault_in_pages_readable':
include/linux/pagemap.h:222:16: warning: variable 'c' set but not used [-Wunused-but-set-variable]
  CC      fs/nfs/getroot.o
In file included from include/linux/nfs_fs.h:41:0,
                 from fs/nfs/getroot.c:24:
include/linux/pagemap.h: In function 'fault_in_pages_readable':
include/linux/pagemap.h:222:16: warning: variable 'c' set but not used [-Wunused-but-set-variable]
  CC      fs/nfs/inode.o
In file included from include/linux/nfs_fs.h:41:0,
                 from fs/nfs/inode.c:29:
include/linux/pagemap.h: In function 'fault_in_pages_readable':
include/linux/pagemap.h:222:16: warning: variable 'c' set but not used [-Wunused-but-set-variable]
fs/nfs/inode.c: In function 'nfs_check_inode_attributes':
fs/nfs/inode.c:780:6: warning: variable 'data_unstable' set but not used [-Wunused-but-set-variable]
  CC      fs/nfs/super.o
In file included from include/linux/nfs_fs.h:41:0,
                 from fs/nfs/super.c:36:
include/linux/pagemap.h: In function 'fault_in_pages_readable':
include/linux/pagemap.h:222:16: warning: variable 'c' set but not used [-Wunused-but-set-variable]
  CC      fs/nfs/nfs2xdr.o
In file included from fs/nfs/nfs2xdr.c:20:0:
include/linux/pagemap.h: In function 'fault_in_pages_readable':
include/linux/pagemap.h:222:16: warning: variable 'c' set but not used [-Wunused-but-set-variable]
fs/nfs/nfs2xdr.c: In function 'nfs_xdr_readdirres':
fs/nfs/nfs2xdr.c:415:24: warning: variable 'kaddr' set but not used [-Wunused-but-set-variable]
  CC      fs/nfs/pagelist.o
In file included from include/linux/nfs_page.h:14:0,
                 from fs/nfs/pagelist.c:17:
include/linux/pagemap.h: In function 'fault_in_pages_readable':
include/linux/pagemap.h:222:16: warning: variable 'c' set but not used [-Wunused-but-set-variable]
  CC      fs/nfs/proc.o
In file included from fs/nfs/proc.c:39:0:
include/linux/pagemap.h: In function 'fault_in_pages_readable':
include/linux/pagemap.h:222:16: warning: variable 'c' set but not used [-Wunused-but-set-variable]
  CC      fs/nfs/read.o
In file included from fs/nfs/read.c:25:0:
include/linux/pagemap.h: In function 'fault_in_pages_readable':
include/linux/pagemap.h:222:16: warning: variable 'c' set but not used [-Wunused-but-set-variable]
  CC      fs/nfs/symlink.o
In file included from include/linux/nfs_fs.h:41:0,
                 from fs/nfs/symlink.c:19:
include/linux/pagemap.h: In function 'fault_in_pages_readable':
include/linux/pagemap.h:222:16: warning: variable 'c' set but not used [-Wunused-but-set-variable]
  CC      fs/nfs/unlink.o
In file included from include/linux/nfs_fs.h:41:0,
                 from fs/nfs/unlink.c:14:
include/linux/pagemap.h: In function 'fault_in_pages_readable':
include/linux/pagemap.h:222:16: warning: variable 'c' set but not used [-Wunused-but-set-variable]
  CC      fs/nfs/write.o
In file included from fs/nfs/write.c:52:0:
include/linux/pagemap.h: In function 'fault_in_pages_readable':
include/linux/pagemap.h:222:16: warning: variable 'c' set but not used [-Wunused-but-set-variable]
  CC      fs/nfs/namespace.o
In file included from include/linux/nfs_fs.h:41:0,
                 from fs/nfs/namespace.c:13:
include/linux/pagemap.h: In function 'fault_in_pages_readable':
include/linux/pagemap.h:222:16: warning: variable 'c' set but not used [-Wunused-but-set-variable]
  CC      fs/nfs/nfsroot.o
In file included from include/linux/nfs_fs.h:41:0,
                 from fs/nfs/nfsroot.c:80:
include/linux/pagemap.h: In function 'fault_in_pages_readable':
include/linux/pagemap.h:222:16: warning: variable 'c' set but not used [-Wunused-but-set-variable]
  CC      fs/nfs/mount_clnt.o
In file included from include/linux/nfs_fs.h:41:0,
                 from fs/nfs/mount_clnt.c:18:
include/linux/pagemap.h: In function 'fault_in_pages_readable':
include/linux/pagemap.h:222:16: warning: variable 'c' set but not used [-Wunused-but-set-variable]
  CC      fs/nfs/sysctl.o
In file included from include/linux/nfs_fs.h:41:0,
                 from fs/nfs/sysctl.c:14:
include/linux/pagemap.h: In function 'fault_in_pages_readable':
include/linux/pagemap.h:222:16: warning: variable 'c' set but not used [-Wunused-but-set-variable]
  LD      fs/nfs/nfs.o
  LD      fs/nfs/built-in.o
  LD      fs/nfs_common/built-in.o
  CC      fs/nls/nls_base.o
  CC      fs/nls/nls_iso8859-1.o
  LD      fs/nls/built-in.o
  CC      fs/partitions/check.o
In file included from fs/partitions/check.h:1:0,
                 from fs/partitions/check.c:22:
include/linux/pagemap.h: In function 'fault_in_pages_readable':
include/linux/pagemap.h:222:16: warning: variable 'c' set but not used [-Wunused-but-set-variable]
fs/partitions/check.c: In function 'add_partition':
fs/partitions/check.c:351:13: warning: ignoring return value of 'kobject_add', declared with attribute warn_unused_result [-Wunused-result]
fs/partitions/check.c:354:19: warning: ignoring return value of 'sysfs_create_link', declared with attribute warn_unused_result [-Wunused-result]
  CC      fs/partitions/msdos.o
In file included from fs/partitions/check.h:1:0,
                 from fs/partitions/msdos.c:23:
include/linux/pagemap.h: In function 'fault_in_pages_readable':
include/linux/pagemap.h:222:16: warning: variable 'c' set but not used [-Wunused-but-set-variable]
  LD      fs/partitions/built-in.o
  CC      fs/proc/mmu.o
In file included from fs/proc/mmu.c:21:0:
include/linux/pagemap.h: In function 'fault_in_pages_readable':
include/linux/pagemap.h:222:16: warning: variable 'c' set but not used [-Wunused-but-set-variable]
  CC      fs/proc/task_mmu.o
In file included from fs/proc/task_mmu.c:6:0:
include/linux/pagemap.h: In function 'fault_in_pages_readable':
include/linux/pagemap.h:222:16: warning: variable 'c' set but not used [-Wunused-but-set-variable]
  CC      fs/proc/inode.o
  CC      fs/proc/root.o
  CC      fs/proc/base.o
fs/proc/base.c: In function 'do_proc_readlink':
fs/proc/base.c:875:17: warning: variable 'inode' set but not used [-Wunused-but-set-variable]
fs/proc/base.c: In function 'proc_readfd':
fs/proc/base.c:1297:19: warning: variable 'tid' set but not used [-Wunused-but-set-variable]
fs/proc/base.c: In function 'proc_pident_lookup':
fs/proc/base.c:1396:16: warning: variable 'inode' set but not used [-Wunused-but-set-variable]
fs/proc/base.c: In function 'proc_pident_readdir':
fs/proc/base.c:1440:6: warning: variable 'pid' set but not used [-Wunused-but-set-variable]
  CC      fs/proc/generic.o
  CC      fs/proc/array.o
In file included from fs/proc/array.c:67:0:
include/linux/pagemap.h: In function 'fault_in_pages_readable':
include/linux/pagemap.h:222:16: warning: variable 'c' set but not used [-Wunused-but-set-variable]
  CC      fs/proc/kmsg.o
  CC      fs/proc/proc_tty.o
  CC      fs/proc/proc_misc.o
In file included from fs/proc/proc_misc.c:31:0:
include/linux/pagemap.h: In function 'fault_in_pages_readable':
include/linux/pagemap.h:222:16: warning: variable 'c' set but not used [-Wunused-but-set-variable]
  LD      fs/proc/proc.o
  LD      fs/proc/built-in.o
  CC      fs/ramfs/inode.o
In file included from fs/ramfs/inode.c:28:0:
include/linux/pagemap.h: In function 'fault_in_pages_readable':
include/linux/pagemap.h:222:16: warning: variable 'c' set but not used [-Wunused-but-set-variable]
  CC      fs/ramfs/file-mmu.o
  LD      fs/ramfs/ramfs.o
  LD      fs/ramfs/built-in.o
  CC      fs/sysfs/inode.o
In file included from fs/sysfs/inode.c:11:0:
include/linux/pagemap.h: In function 'fault_in_pages_readable':
include/linux/pagemap.h:222:16: warning: variable 'c' set but not used [-Wunused-but-set-variable]
  CC      fs/sysfs/file.o
  CC      fs/sysfs/dir.o
  CC      fs/sysfs/symlink.o
  CC      fs/sysfs/mount.o
In file included from fs/sysfs/mount.c:9:0:
include/linux/pagemap.h: In function 'fault_in_pages_readable':
include/linux/pagemap.h:222:16: warning: variable 'c' set but not used [-Wunused-but-set-variable]
  CC      fs/sysfs/bin.o
  CC      fs/sysfs/group.o
  LD      fs/sysfs/built-in.o
  CC      fs/generic_acl.o
  CC      fs/dnotify.o
  LD      fs/built-in.o
  CC      ipc/util.o
  CC      ipc/msgutil.o
  CC      ipc/msg.o
ipc/msg.c: In function 'sys_msgctl':
ipc/msg.c:542:14: warning: 'setbuf.mode' may be used uninitialized in this function [-Wuninitialized]
ipc/msg.c:541:13: warning: 'setbuf.gid' may be used uninitialized in this function [-Wuninitialized]
ipc/msg.c:540:13: warning: 'setbuf.uid' may be used uninitialized in this function [-Wuninitialized]
ipc/msg.c:538:17: warning: 'setbuf.qbytes' may be used uninitialized in this function [-Wuninitialized]
  CC      ipc/sem.o
ipc/sem.c: In function 'freeary':
ipc/sem.c:501:6: warning: variable 'size' set but not used [-Wunused-but-set-variable]
ipc/sem.c: In function 'sys_semctl':
ipc/sem.c:906:14: warning: 'setbuf.mode' may be used uninitialized in this function [-Wuninitialized]
ipc/sem.c:862:20: note: 'setbuf.mode' was declared here
ipc/sem.c:905:13: warning: 'setbuf.gid' may be used uninitialized in this function [-Wuninitialized]
ipc/sem.c:862:20: note: 'setbuf.gid' was declared here
ipc/sem.c:904:13: warning: 'setbuf.uid' may be used uninitialized in this function [-Wuninitialized]
ipc/sem.c:862:20: note: 'setbuf.uid' was declared here
  CC      ipc/shm.o
  LD      ipc/built-in.o
  CC      security/commoncap.o
In file included from security/commoncap.c:18:0:
include/linux/pagemap.h: In function 'fault_in_pages_readable':
include/linux/pagemap.h:222:16: warning: variable 'c' set but not used [-Wunused-but-set-variable]
  LD      security/built-in.o
  LD      crypto/built-in.o
  CC      block/elevator.o
In file included from include/linux/blkdev.h:10:0,
                 from block/elevator.c:27:
include/linux/pagemap.h: In function 'fault_in_pages_readable':
include/linux/pagemap.h:222:16: warning: variable 'c' set but not used [-Wunused-but-set-variable]
  CC      block/ll_rw_blk.o
In file included from include/linux/blkdev.h:10:0,
                 from block/ll_rw_blk.c:17:
include/linux/pagemap.h: In function 'fault_in_pages_readable':
include/linux/pagemap.h:222:16: warning: variable 'c' set but not used [-Wunused-but-set-variable]
block/ll_rw_blk.c: In function 'blk_rq_unmap_user':
block/ll_rw_blk.c:2440:6: warning: variable 'ret' set but not used [-Wunused-but-set-variable]
block/ll_rw_blk.c: In function 'generic_make_request':
block/ll_rw_blk.c:3004:8: warning: variable 'old_dev' set but not used [-Wunused-but-set-variable]
  CC      block/ioctl.o
In file included from include/linux/blkdev.h:10:0,
                 from block/ioctl.c:2:
include/linux/pagemap.h: In function 'fault_in_pages_readable':
include/linux/pagemap.h:222:16: warning: variable 'c' set but not used [-Wunused-but-set-variable]
  CC      block/genhd.o
In file included from include/linux/blkdev.h:10:0,
                 from block/genhd.c:9:
include/linux/pagemap.h: In function 'fault_in_pages_readable':
include/linux/pagemap.h:222:16: warning: variable 'c' set but not used [-Wunused-but-set-variable]
  CC      block/scsi_ioctl.o
In file included from include/linux/blkdev.h:10:0,
                 from block/scsi_ioctl.c:23:
include/linux/pagemap.h: In function 'fault_in_pages_readable':
include/linux/pagemap.h:222:16: warning: variable 'c' set but not used [-Wunused-but-set-variable]
  CC      block/noop-iosched.o
In file included from include/linux/blkdev.h:10:0,
                 from block/noop-iosched.c:4:
include/linux/pagemap.h: In function 'fault_in_pages_readable':
include/linux/pagemap.h:222:16: warning: variable 'c' set but not used [-Wunused-but-set-variable]
  CC      block/as-iosched.o
In file included from include/linux/blkdev.h:10:0,
                 from block/as-iosched.c:10:
include/linux/pagemap.h: In function 'fault_in_pages_readable':
include/linux/pagemap.h:222:16: warning: variable 'c' set but not used [-Wunused-but-set-variable]
  LD      block/built-in.o
  CC      drivers/base/core.o
drivers/base/core.c: In function 'device_rename':
drivers/base/core.c:831:21: warning: ignoring return value of 'sysfs_create_link', declared with attribute warn_unused_result [-Wunused-result]
drivers/base/core.c:839:20: warning: ignoring return value of 'sysfs_create_link', declared with attribute warn_unused_result [-Wunused-result]
drivers/base/core.c: In function 'device_add':
drivers/base/core.c:462:20: warning: ignoring return value of 'sysfs_create_link', declared with attribute warn_unused_result [-Wunused-result]
drivers/base/core.c:464:20: warning: ignoring return value of 'sysfs_create_link', declared with attribute warn_unused_result [-Wunused-result]
drivers/base/core.c:467:21: warning: ignoring return value of 'sysfs_create_link', declared with attribute warn_unused_result [-Wunused-result]
drivers/base/core.c:469:21: warning: ignoring return value of 'sysfs_create_link', declared with attribute warn_unused_result [-Wunused-result]
  CC      drivers/base/sys.o
  CC      drivers/base/bus.o
  CC      drivers/base/dd.o
  CC      drivers/base/driver.o
  CC      drivers/base/class.o
drivers/base/class.c: In function 'class_device_rename':
drivers/base/class.c:818:20: warning: ignoring return value of 'sysfs_create_link', declared with attribute warn_unused_result [-Wunused-result]
  CC      drivers/base/platform.o
drivers/base/platform.c: In function 'platform_bus_init':
drivers/base/platform.c:568:17: warning: ignoring return value of 'device_register', declared with attribute warn_unused_result [-Wunused-result]
  CC      drivers/base/cpu.o
  CC      drivers/base/firmware.o
  CC      drivers/base/init.o
  CC      drivers/base/map.o
  CC      drivers/base/dmapool.o
  CC      drivers/base/attribute_container.o
  CC      drivers/base/transport_class.o
  CC      drivers/base/power/shutdown.o
  LD      drivers/base/power/built-in.o
  LD      drivers/base/built-in.o
  LD      drivers/block/built-in.o
  LD      drivers/cdrom/built-in.o
  CC      drivers/char/mem.o
  CC      drivers/char/random.o
  CC      drivers/char/tty_io.o
  CC      drivers/char/n_tty.o
  CC      drivers/char/tty_ioctl.o
  CC      drivers/char/pty.o
  CC      drivers/char/misc.o
  CC      drivers/char/vt_ioctl.o
  CC      drivers/char/vc_screen.o
  CC      drivers/char/consolemap.o
  CONMK   drivers/char/consolemap_deftbl.c
  CC      drivers/char/consolemap_deftbl.o
  CC      drivers/char/selection.o
  CC      drivers/char/keyboard.o
drivers/char/keyboard.c:1118:2: warning: #warning "Cannot generate rawmode keyboard for your architecture yet." [-Wcpp]
  CC      drivers/char/vt.o
drivers/char/vt.c: In function 'vc_resize':
drivers/char/vt.c:766:49: warning: variable 'old_screen_size' set but not used [-Wunused-but-set-variable]
drivers/char/vt.c:766:15: warning: variable 'old_cols' set but not used [-Wunused-but-set-variable]
drivers/char/vt.c: In function 'do_con_write':
drivers/char/vt.c:1955:6: warning: variable 'orig_count' set but not used [-Wunused-but-set-variable]
drivers/char/vt.c:1954:23: warning: variable 'orig_buf' set but not used [-Wunused-but-set-variable]
  SHIPPED drivers/char/defkeymap.c
  CC      drivers/char/defkeymap.o
  CC      drivers/char/sysrq.o
In file included from include/linux/buffer_head.h:13:0,
                 from drivers/char/sysrq.c:32:
include/linux/pagemap.h: In function 'fault_in_pages_readable':
include/linux/pagemap.h:222:16: warning: variable 'c' set but not used [-Wunused-but-set-variable]
  LD      drivers/char/built-in.o
  LD      drivers/firmware/built-in.o
  CC      drivers/i2c/i2c-core.o
  LD      drivers/i2c/algos/built-in.o
  CC      drivers/i2c/busses/i2c-pxa.o
  LD      drivers/i2c/busses/built-in.o
  LD      drivers/i2c/chips/built-in.o
  LD      drivers/i2c/built-in.o
  CC      drivers/input/input.o
  CC      drivers/input/ff-core.o
  LD      drivers/input/input-core.o
  CC      drivers/input/mousedev.o
drivers/input/mousedev.c: In function 'mousedev_connect':
drivers/input/mousedev.c:664:19: warning: ignoring return value of 'sysfs_create_link', declared with attribute warn_unused_result [-Wunused-result]
  CC      drivers/input/misc/uinput.o
  LD      drivers/input/misc/built-in.o
  LD      drivers/input/built-in.o
  LD      drivers/media/common/built-in.o
  LD      drivers/media/built-in.o
  LD      drivers/mfd/built-in.o
  LD      drivers/misc/built-in.o
  CC      drivers/mtd/mtdcore.o
  CC      drivers/mtd/mtdpart.o
  CC      drivers/mtd/mtdchar.o
  CC      drivers/mtd/mtdblock.o
  CC      drivers/mtd/mtd_blkdevs.o
In file included from include/linux/blkdev.h:10:0,
                 from drivers/mtd/mtd_blkdevs.c:17:
include/linux/pagemap.h: In function 'fault_in_pages_readable':
include/linux/pagemap.h:222:16: warning: variable 'c' set but not used [-Wunused-but-set-variable]
  CC      drivers/mtd/chips/chipreg.o
  LD      drivers/mtd/chips/built-in.o
  LD      drivers/mtd/devices/built-in.o
  LD      drivers/mtd/maps/built-in.o
  LD      drivers/mtd/nand/built-in.o
  CC      drivers/mtd/onenand/onenand_base.o
  CC      drivers/mtd/onenand/onenand_bbt.o
  LD      drivers/mtd/onenand/onenand.o
  CC      drivers/mtd/onenand/pxa27x_onenand.o
  LD      drivers/mtd/onenand/built-in.o
  LD      drivers/mtd/built-in.o
  CC      drivers/net/mii.o
  LD      drivers/net/arm/built-in.o
  CC      drivers/net/phy/phy.o
  CC      drivers/net/phy/phy_device.o
  CC      drivers/net/phy/mdio_bus.o
  LD      drivers/net/phy/libphy.o
  LD      drivers/net/phy/built-in.o
  LD      drivers/net/wireless/built-in.o
  CC      drivers/net/Space.o
  CC      drivers/net/loopback.o
  CC      drivers/net/smc91x.o
drivers/net/smc91x.c: In function 'smc_rcv':
drivers/net/smc91x.c:562:3: warning: variable '__ioaddr' set but not used [-Wunused-but-set-variable]
drivers/net/smc91x.c: In function 'smc_hardware_send_pkt':
drivers/net/smc91x.c:670:2: warning: variable '__ioaddr' set but not used [-Wunused-but-set-variable]
drivers/net/smc91x.c: In function 'smc_tx':
drivers/net/smc91x.c:784:51: warning: variable 'pkt_len' set but not used [-Wunused-but-set-variable]
drivers/net/smc91x.c: In function 'smc_phy_configure':
drivers/net/smc91x.c:1125:6: warning: variable 'status' set but not used [-Wunused-but-set-variable]
  LD      drivers/net/built-in.o
  CC      drivers/rtc/rtc-lib.o
  CC      drivers/rtc/hctosys.o
  CC      drivers/rtc/class.o
  CC      drivers/rtc/interface.o
  LD      drivers/rtc/rtc-core.o
  CC      drivers/rtc/rtc-sysfs.o
  CC      drivers/rtc/rtc-proc.o
  CC      drivers/rtc/rtc-dev.o
  CC      drivers/rtc/rtc-pcf8563.o
  LD      drivers/rtc/built-in.o
  CC      drivers/serial/serial_core.o
  CC      drivers/serial/pxa.o
  CC      drivers/serial/max3111.o
drivers/serial/max3111.c: In function 'serial_max3111_enable_ms':
drivers/serial/max3111.c:66:28: warning: unused variable 'up' [-Wunused-variable]
drivers/serial/max3111.c: In function 'serial_max3111_stop_tx':
drivers/serial/max3111.c:72:28: warning: unused variable 'up' [-Wunused-variable]
drivers/serial/max3111.c: In function 'serial_max3111_stop_rx':
drivers/serial/max3111.c:78:28: warning: unused variable 'up' [-Wunused-variable]
drivers/serial/max3111.c: In function 'transmit_chars':
drivers/serial/max3111.c:115:6: warning: variable 'count' set but not used [-Wunused-but-set-variable]
drivers/serial/max3111.c: In function 'serial_max3111_start_tx':
drivers/serial/max3111.c:151:2: warning: passing argument 1 of 'transmit_chars' from incompatible pointer type [enabled by default]
drivers/serial/max3111.c:112:13: note: expected 'struct uart_max3111_port *' but argument is of type 'struct uart_port *'
drivers/serial/max3111.c:149:28: warning: unused variable 'up' [-Wunused-variable]
drivers/serial/max3111.c:148:6: warning: unused variable 'rconf' [-Wunused-variable]
drivers/serial/max3111.c: In function 'serial_max3111_irq':
drivers/serial/max3111.c:165:2: warning: implicit declaration of function 'max3111_transfer' [-Wimplicit-function-declaration]
drivers/serial/max3111.c: In function 'serial_max3111_get_mctrl':
drivers/serial/max3111.c:193:16: warning: unused variable 'status' [-Wunused-variable]
drivers/serial/max3111.c:192:28: warning: unused variable 'up' [-Wunused-variable]
drivers/serial/max3111.c: In function 'serial_max3111_set_mctrl':
drivers/serial/max3111.c:201:16: warning: unused variable 'mcr' [-Wunused-variable]
drivers/serial/max3111.c:200:28: warning: unused variable 'up' [-Wunused-variable]
drivers/serial/max3111.c: In function 'serial_max3111_startup':
drivers/serial/max3111.c:242:2: warning: implicit declaration of function 'max3111_init' [-Wimplicit-function-declaration]
drivers/serial/max3111.c:212:16: warning: unused variable 'flags' [-Wunused-variable]
drivers/serial/max3111.c: In function 'serial_max3111_shutdown':
drivers/serial/max3111.c:250:16: warning: unused variable 'flags' [-Wunused-variable]
drivers/serial/max3111.c: In function 'serial_max3111_pm':
drivers/serial/max3111.c:265:28: warning: unused variable 'up' [-Wunused-variable]
drivers/serial/max3111.c: In function 'wait_for_xmitr':
drivers/serial/max3111.c:309:23: warning: unused variable 'tmout' [-Wunused-variable]
drivers/serial/max3111.c:309:15: warning: unused variable 'status' [-Wunused-variable]
drivers/serial/max3111.c: In function 'serial_max3111_console_write':
drivers/serial/max3111.c:331:15: warning: unused variable 'ier' [-Wunused-variable]
  LD      drivers/serial/built-in.o
  CC      drivers/video/fb_notify.o
  LD      drivers/video/backlight/built-in.o
  CC      drivers/video/console/dummycon.o
  LD      drivers/video/console/built-in.o
  LD      drivers/video/built-in.o
  LD      drivers/built-in.o
  LD      sound/built-in.o
  CC      net/socket.o
  CC      net/802/sysctl_net_802.o
  CC      net/802/p8022.o
  CC      net/802/psnap.o
  LD      net/802/built-in.o
  CC      net/bridge/br.o
  CC      net/bridge/br_device.o
  CC      net/bridge/br_fdb.o
  CC      net/bridge/br_forward.o
net/bridge/br_forward.c: In function '__br_forward':
net/bridge/br_forward.c:70:21: warning: variable 'indev' set but not used [-Wunused-but-set-variable]
  CC      net/bridge/br_if.o
  CC      net/bridge/br_input.o
net/bridge/br_input.c: In function 'br_pass_frame_up':
net/bridge/br_input.c:27:21: warning: variable 'indev' set but not used [-Wunused-but-set-variable]
  CC      net/bridge/br_ioctl.o
  CC      net/bridge/br_notify.o
  CC      net/bridge/br_stp.o
  CC      net/bridge/br_stp_bpdu.o
  CC      net/bridge/br_stp_if.o
  CC      net/bridge/br_stp_timer.o
  CC      net/bridge/br_netlink.o
  CC      net/bridge/br_sysfs_if.o
  CC      net/bridge/br_sysfs_br.o
  LD      net/bridge/bridge.o
  LD      net/bridge/built-in.o
  CC      net/core/sock.o
  CC      net/core/request_sock.o
  CC      net/core/skbuff.o
  CC      net/core/iovec.o
  CC      net/core/datagram.o
  CC      net/core/stream.o
  CC      net/core/scm.o
  CC      net/core/gen_stats.o
  CC      net/core/gen_estimator.o
  CC      net/core/sysctl_net_core.o
  CC      net/core/dev.o
net/core/dev.c: In function 'net_rx_action':
net/core/dev.c:1912:8: warning: variable 'have' set but not used [-Wunused-but-set-variable]
  CC      net/core/ethtool.o
  CC      net/core/dev_mcast.o
  CC      net/core/dst.o
  CC      net/core/netevent.o
  CC      net/core/neighbour.o
  CC      net/core/rtnetlink.o
  CC      net/core/utils.o
  CC      net/core/link_watch.o
  CC      net/core/filter.o
  CC      net/core/flow.o
  CC      net/core/net-sysfs.o
  CC      net/core/wireless.o
  LD      net/core/built-in.o
  CC      net/ethernet/eth.o
  LD      net/ethernet/built-in.o
  CC      net/ieee80211/ieee80211_module.o
  CC      net/ieee80211/ieee80211_tx.o
  CC      net/ieee80211/ieee80211_rx.o
net/ieee80211/ieee80211_rx.c: In function 'ieee80211_rx':
net/ieee80211/ieee80211_rx.c:335:10: warning: variable 'type' set but not used [-Wunused-but-set-variable]
  CC      net/ieee80211/ieee80211_wx.o
net/ieee80211/ieee80211_wx.c: In function 'ieee80211_wx_get_encode':
net/ieee80211/ieee80211_wx.c:480:31: warning: variable 'crypt' set but not used [-Wunused-but-set-variable]
net/ieee80211/ieee80211_wx.c: In function 'ieee80211_wx_get_encodeext':
net/ieee80211/ieee80211_wx.c:712:2: warning: suggest parentheses around operand of '!' or change '&' to '&&' or '!' to '~' [-Wparentheses]
  CC      net/ieee80211/ieee80211_geo.o
  LD      net/ieee80211/ieee80211.o
  CC      net/ieee80211/ieee80211_crypt.o
  LD      net/ieee80211/built-in.o
  CC      net/ipv4/route.o
  CC      net/ipv4/inetpeer.o
  CC      net/ipv4/protocol.o
  CC      net/ipv4/ip_input.o
  CC      net/ipv4/ip_fragment.o
  CC      net/ipv4/ip_forward.o
  CC      net/ipv4/ip_options.o
  CC      net/ipv4/ip_output.o
net/ipv4/ip_output.c: In function 'ip_fragment':
net/ipv4/ip_output.c:427:21: warning: variable 'dev' set but not used [-Wunused-but-set-variable]
  CC      net/ipv4/ip_sockglue.o
  CC      net/ipv4/inet_hashtables.o
  CC      net/ipv4/inet_timewait_sock.o
  CC      net/ipv4/inet_connection_sock.o
  CC      net/ipv4/tcp.o
  CC      net/ipv4/tcp_input.o
  CC      net/ipv4/tcp_output.o
  CC      net/ipv4/tcp_timer.o
  CC      net/ipv4/tcp_ipv4.o
  CC      net/ipv4/tcp_minisocks.o
  CC      net/ipv4/tcp_cong.o
  CC      net/ipv4/datagram.o
  CC      net/ipv4/raw.o
  CC      net/ipv4/udp.o
  CC      net/ipv4/arp.o
net/ipv4/arp.c: In function 'arp_process':
net/ipv4/arp.c:712:23: warning: variable 'tha' set but not used [-Wunused-but-set-variable]
  CC      net/ipv4/icmp.o
  CC      net/ipv4/devinet.o
  CC      net/ipv4/af_inet.o
  CC      net/ipv4/igmp.o
  CC      net/ipv4/sysctl_net_ipv4.o
  CC      net/ipv4/fib_frontend.o
  CC      net/ipv4/fib_semantics.o
  CC      net/ipv4/fib_hash.o
  CC      net/ipv4/proc.o
  CC      net/ipv4/xfrm4_mode_beet.o
  CC      net/ipv4/xfrm4_mode_transport.o
  CC      net/ipv4/xfrm4_mode_tunnel.o
  CC      net/ipv4/ipconfig.o
In file included from include/linux/nfs_fs.h:41:0,
                 from net/ipv4/ipconfig.c:57:
include/linux/pagemap.h: In function 'fault_in_pages_readable':
include/linux/pagemap.h:222:16: warning: variable 'c' set but not used [-Wunused-but-set-variable]
  CC      net/ipv4/inet_diag.o
  CC      net/ipv4/tcp_diag.o
  CC      net/ipv4/tcp_cubic.o
  CC      net/ipv4/xfrm4_policy.o
  CC      net/ipv4/xfrm4_state.o
  CC      net/ipv4/xfrm4_input.o
  CC      net/ipv4/xfrm4_output.o
  LD      net/ipv4/built-in.o
  CC      net/llc/llc_core.o
  CC      net/llc/llc_input.o
  CC      net/llc/llc_output.o
  LD      net/llc/llc.o
  LD      net/llc/built-in.o
  CC      net/netlink/af_netlink.o
net/netlink/af_netlink.c: In function 'netlink_create':
net/netlink/af_netlink.c:399:15: warning: variable 'groups' set but not used [-Wunused-but-set-variable]
  CC      net/netlink/attr.o
  CC      net/netlink/genetlink.o
  LD      net/netlink/built-in.o
  CC      net/packet/af_packet.o
  LD      net/packet/built-in.o
  CC      net/sched/sch_generic.o
  LD      net/sched/built-in.o
  CC      net/sunrpc/clnt.o
  CC      net/sunrpc/xprt.o
  CC      net/sunrpc/socklib.o
In file included from net/sunrpc/socklib.c:13:0:
include/linux/pagemap.h: In function 'fault_in_pages_readable':
include/linux/pagemap.h:222:16: warning: variable 'c' set but not used [-Wunused-but-set-variable]
  CC      net/sunrpc/xprtsock.o
In file included from net/sunrpc/xprtsock.c:22:0:
include/linux/pagemap.h: In function 'fault_in_pages_readable':
include/linux/pagemap.h:222:16: warning: variable 'c' set but not used [-Wunused-but-set-variable]
  CC      net/sunrpc/sched.o
  CC      net/sunrpc/auth.o
  CC      net/sunrpc/auth_null.o
  CC      net/sunrpc/auth_unix.o
  CC      net/sunrpc/svc.o
net/sunrpc/svc.c: In function 'svc_pool_map_choose_mode':
net/sunrpc/svc.c:65:15: warning: variable 'node' set but not used [-Wunused-but-set-variable]
  CC      net/sunrpc/svcsock.o
  CC      net/sunrpc/svcauth.o
  CC      net/sunrpc/svcauth_unix.o
  CC      net/sunrpc/pmap_clnt.o
  CC      net/sunrpc/timer.o
  CC      net/sunrpc/xdr.o
In file included from net/sunrpc/xdr.c:13:0:
include/linux/pagemap.h: In function 'fault_in_pages_readable':
include/linux/pagemap.h:222:16: warning: variable 'c' set but not used [-Wunused-but-set-variable]
  CC      net/sunrpc/sunrpc_syms.o
  CC      net/sunrpc/cache.o
  CC      net/sunrpc/rpc_pipe.o
In file included from net/sunrpc/rpc_pipe.c:14:0:
include/linux/pagemap.h: In function 'fault_in_pages_readable':
include/linux/pagemap.h:222:16: warning: variable 'c' set but not used [-Wunused-but-set-variable]
  CC      net/sunrpc/stats.o
  CC      net/sunrpc/sysctl.o
  LD      net/sunrpc/sunrpc.o
  LD      net/sunrpc/built-in.o
  CC      net/unix/af_unix.o
net/unix/af_unix.c: In function 'unix_stream_sendmsg':
net/unix/af_unix.c:1424:22: warning: variable 'sunaddr' set but not used [-Wunused-but-set-variable]
  CC      net/unix/garbage.o
  CC      net/unix/sysctl_net_unix.o
  LD      net/unix/unix.o
  LD      net/unix/built-in.o
  CC      net/xfrm/xfrm_policy.o
  CC      net/xfrm/xfrm_state.o
  CC      net/xfrm/xfrm_hash.o
  CC      net/xfrm/xfrm_input.o
  CC      net/xfrm/xfrm_algo.o
  LD      net/xfrm/built-in.o
  CC      net/sysctl_net.o
  LD      net/built-in.o
  LD      arch/arm/lib/built-in.o
  AS      arch/arm/lib/ashldi3.o
  AS      arch/arm/lib/ashrdi3.o
  AS      arch/arm/lib/backtrace.o
  AS      arch/arm/lib/changebit.o
  AS      arch/arm/lib/clear_user.o
  AS      arch/arm/lib/clearbit.o
  AS      arch/arm/lib/copy_from_user.o
  AS      arch/arm/lib/copy_page.o
  AS      arch/arm/lib/copy_to_user.o
  AS      arch/arm/lib/csumipv6.o
  AS      arch/arm/lib/csumpartial.o
  AS      arch/arm/lib/csumpartialcopy.o
  AS      arch/arm/lib/csumpartialcopyuser.o
  AS      arch/arm/lib/delay.o
  AS      arch/arm/lib/div64.o
  AS      arch/arm/lib/findbit.o
  AS      arch/arm/lib/getuser.o
  AS      arch/arm/lib/io-readsb.o
  AS      arch/arm/lib/io-readsl.o
  AS      arch/arm/lib/io-readsw-armv4.o
  AS      arch/arm/lib/io-writesb.o
  AS      arch/arm/lib/io-writesl.o
  AS      arch/arm/lib/io-writesw-armv4.o
  AS      arch/arm/lib/lib1funcs.o
  AS      arch/arm/lib/lshrdi3.o
  AS      arch/arm/lib/memchr.o
  AS      arch/arm/lib/memcpy.o
  AS      arch/arm/lib/memmove.o
  AS      arch/arm/lib/memset.o
  AS      arch/arm/lib/memzero.o
  AS      arch/arm/lib/muldi3.o
  AS      arch/arm/lib/putuser.o
  AS      arch/arm/lib/setbit.o
  AS      arch/arm/lib/sha1.o
  AS      arch/arm/lib/strchr.o
  AS      arch/arm/lib/strncpy_from_user.o
  AS      arch/arm/lib/strnlen_user.o
  AS      arch/arm/lib/strrchr.o
  AS      arch/arm/lib/testchangebit.o
  AS      arch/arm/lib/testclearbit.o
  AS      arch/arm/lib/testsetbit.o
  AS      arch/arm/lib/ucmpdi2.o
  AR      arch/arm/lib/lib.a
  CC      lib/sort.o
  CC      lib/parser.o
  CC      lib/halfmd4.o
  CC      lib/iomap_copy.o
  CC      lib/debug_locks.o
  CC      lib/random32.o
  CC      lib/kernel_lock.o
  CC      lib/plist.o
  HOSTCC  lib/gen_crc32table
  GEN     lib/crc32table.h
  CC      lib/crc32.o
  CC      lib/zlib_deflate/deflate.o
  CC      lib/zlib_deflate/deftree.o
  CC      lib/zlib_deflate/deflate_syms.o
  LD      lib/zlib_deflate/zlib_deflate.o
  LD      lib/zlib_deflate/built-in.o
  CC      lib/zlib_inflate/inffast.o
  CC      lib/zlib_inflate/inflate.o
  CC      lib/zlib_inflate/inftrees.o
  CC      lib/zlib_inflate/inflate_syms.o
  LD      lib/zlib_inflate/zlib_inflate.o
  LD      lib/zlib_inflate/built-in.o
  LD      lib/built-in.o
  CC      lib/bitmap.o
  CC      lib/bust_spinlocks.o
  CC      lib/cmdline.o
  CC      lib/ctype.o
  CC      lib/dec_and_lock.o
  CC      lib/div64.o
  CC      lib/dump_stack.o
  CC      lib/extable.o
  CC      lib/hweight.o
  CC      lib/idr.o
  CC      lib/int_sqrt.o
  CC      lib/ioremap.o
lib/ioremap.c: In function 'ioremap_page_range':
lib/ioremap.c:73:16: warning: variable 'start' set but not used [-Wunused-but-set-variable]
  CC      lib/irq_regs.o
  CC      lib/klist.o
  CC      lib/kobject.o
  CC      lib/kobject_uevent.o
  CC      lib/kref.o
  CC      lib/prio_tree.o
  CC      lib/radix-tree.o
  CC      lib/rbtree.o
  CC      lib/rwsem-spinlock.o
  CC      lib/sha1.o
  CC      lib/string.o
  CC      lib/vsprintf.o
  AR      lib/lib.a
  GEN     .version
  CHK     include/linux/compile.h
  UPD     include/linux/compile.h
  CC      init/version.o
  LD      init/built-in.o
  LD      .tmp_vmlinux1
  KSYM    .tmp_kallsyms1.S
  AS      .tmp_kallsyms1.o
  LD      .tmp_vmlinux2
  KSYM    .tmp_kallsyms2.S
  AS      .tmp_kallsyms2.o
  LD      vmlinux
  SYSMAP  System.map
  SYSMAP  .tmp_System.map
  MODPOST vmlinux
  OBJCOPY arch/arm/boot/Image
  Kernel: arch/arm/boot/Image is ready
  AS      arch/arm/boot/compressed/head.o
  GZIP    arch/arm/boot/compressed/piggy.gz
  AS      arch/arm/boot/compressed/piggy.o
  CC      arch/arm/boot/compressed/misc.o
In file included from arch/arm/boot/compressed/misc.c:30:0:
include/asm/arch/uncompress.h:20:20: warning: conflicting types for built-in function 'putc' [enabled by default]
  AS      arch/arm/boot/compressed/head-xscale.o
  LD      arch/arm/boot/compressed/vmlinux
  OBJCOPY arch/arm/boot/zImage
  Kernel: arch/arm/boot/zImage is ready

CLi@PC-CLI-1 ~/develop/kernel/linux-2.6.19.1
$

5.完成后,再去看看对应的文件:

CLi@PC-CLI-1 ~/develop/kernel/linux-2.6.19.1
$ ls arch/arm/boot/ -lha
total 4.5M
drwxr-xr-x+ 1 CLi Domänen-Benutzer    0 Aug 23 15:50 ./
drwxr-xr-x+ 1 CLi Domänen-Benutzer    0 Oct 17  2012 ../
-rw-r--r--  1 CLi Domänen-Benutzer  123 Aug 23 15:50 .Image.cmd
-rw-r--r--  1 CLi Domänen-Benutzer  150 Aug 23 15:50 .zImage.cmd
drwxr-xr-x+ 1 CLi Domänen-Benutzer    0 Oct 17  2012 bootp/
drwxr-xr-x+ 1 CLi Domänen-Benutzer    0 Aug 23 15:50 compressed/
drwxr-xr-x+ 1 CLi Domänen-Benutzer    0 Oct 17  2012 CVS/
-rwxr-xr-x  1 CLi Domänen-Benutzer 2.2M Aug 23 15:50 Image*
-rw-r--r--  1 CLi Domänen-Benutzer 1.3K Oct 17  2012 install.sh
-rw-r--r--  1 CLi Domänen-Benutzer 2.5K Oct 17  2012 Makefile
-rwxr-xr-x  1 CLi Domänen-Benutzer 1.1M Aug 23 15:50 zImage*
-rwxr-xr-x  1 CLi Domänen-Benutzer 1.2M Oct 17  2012 zImage.hex*

CLi@PC-CLI-1 ~/develop/kernel/linux-2.6.19.1
$ file arch/arm/boot/Image
arch/arm/boot/Image: data

CLi@PC-CLI-1 ~/develop/kernel/linux-2.6.19.1
$ file arch/arm/boot/zImage
arch/arm/boot/zImage: Linux kernel ARM boot executable zImage (little-endian)

CLi@PC-CLI-1 ~/develop/kernel/linux-2.6.19.1
$ file arch/arm/boot/zImage.hex
arch/arm/boot/zImage.hex: Linux kernel ARM boot executable zImage (little-endian)

CLi@PC-CLI-1 ~/develop/kernel/linux-2.6.19.1

如图:

make zImage done generated file

 

【总结】

此处,在Cygwin下,用之前建立的arm-xscale-linux-gnueabi交叉编译器,在配置好之后,去用:

make ARCH=arm CROSS_COMPILE=arm-xscale-linux-gnueabi- zImage

去编译此处的linux-2.6.19.1,遇到的问题和解决办法分别是:

1.错误:scripts/mod/modpost.h:119:2: error: unknown type name ‘Elf32_Section’

办法:

修改:

linux-2.6.19.1\scripts\mod\modpost.h

为:

#include <unistd.h>
#include <elf.h>
  
#ifdef __CYGWIN__
#define uint16_t __uint16_t
#define uint32_t __uint32_t
typedef uint16_t Elf32_Section;
typedef uint16_t Elf64_Section;
#endif
 
#include "elfconfig.h"
 
#if KERNEL_ELFCLASS == ELFCLASS32
 
#define Elf_Ehdr    Elf32_Ehdr
#define Elf_Shdr    Elf32_Shdr
#define Elf_Sym     Elf32_Sym
#define Elf_Addr    Elf32_Addr
#define Elf_Section Elf32_Section
 
#ifndef __CYGWIN__
#define ELF_ST_BIND ELF32_ST_BIND
#define ELF_ST_TYPE ELF32_ST_TYPE
#endif
 
#define Elf_Rel     Elf32_Rel
#define Elf_Rela    Elf32_Rela
#define ELF_R_SYM   ELF32_R_SYM
#define ELF_R_TYPE  ELF32_R_TYPE
#else
 
#define Elf_Ehdr    Elf64_Ehdr
#define Elf_Shdr    Elf64_Shdr
#define Elf_Sym     Elf64_Sym
#define Elf_Addr    Elf64_Addr
#define Elf_Section Elf64_Section
#define ELF_ST_BIND ELF64_ST_BIND
#define ELF_ST_TYPE ELF64_ST_TYPE
 
#define Elf_Rel     Elf64_Rel
#define Elf_Rela    Elf64_Rela
#define ELF_R_SYM   ELF64_R_SYM
#define ELF_R_TYPE  ELF64_R_TYPE
#endif
 
/* copy from linux-2.6.24includeasm-x86 */
#define R_386_32       1
#define R_386_PC32     2
/* copy from linux-2.6.24includeasm-arm */
#define R_ARM_PC24     1
#define R_ARM_ABS32    2
/* copy from linux-2.6.24includeasm-mips */
#define R_MIPS_32      2
#define R_MIPS_26      4
#define R_MIPS_HI16    5
#define R_MIPS_LO16    6
 
/* The 64-bit MIPS ELF ABI uses an unusual reloc format. */
typedef struct

 

详见:

【已解决】Cygwin下交叉编译Linux内核make zImage时出错:scripts/mod/modpost.h:119:2: error: unknown type name ‘Elf32_Section’

2.错误:scripts/mod/sumversion.c:12:26: fatal error: linux/limits.h: No such file or directory

办法:

把:

linux-2.6.19.1\scripts\mod\sumversion.c

从:

#include <linux/limits.h>

改为:

//#include <linux/limits.h>
#include <limits.h>

详见:

【已解决】Cygwin下交叉编译Linux内核make zImage时出错:scripts/mod/sumversion.c:12:26: fatal error: linux/limits.h: No such file or directory

转载请注明:在路上 » 【记录】Cygwin下交叉编译Linux内核在配置后去make编译

发表我的评论
取消评论

表情

Hi,您需要填写昵称和邮箱!

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址
83 queries in 0.201 seconds, using 22.38MB memory