I got this when I try to compile kernel, and I also tried to configure kernel manually but I got this same error. What should I try now? :confused: I have this kernel source: linux-2.6.34-gentoo-r1
Code:with attribute warn_unused_result
scripts/kconfig/conf.c: In function 'conf_choice':
scripts/kconfig/conf.c:307: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result
--
SHIPPED scripts/kconfig/lex.zconf.c
SHIPPED scripts/kconfig/zconf.hash.c
HOSTCC scripts/kconfig/zconf.tab.o
In file included from scripts/kconfig/zconf.tab.c:2451:
scripts/kconfig/confdata.c: In function 'conf_write':
scripts/kconfig/confdata.c:508: warning: ignoring return value of 'fwrite', declared with attribute warn_unused_result
scripts/kconfig/confdata.c: In function 'conf_write_autoconf':
scripts/kconfig/confdata.c:759: warning: ignoring return value of 'fwrite', declared with attribute warn_unused_result
scripts/kconfig/confdata.c:760: warning: ignoring return value of 'fwrite', declared with attribute warn_unused_result
In file included from scripts/kconfig/zconf.tab.c:2452:
scripts/kconfig/expr.c: In function 'expr_print_file_helper':
scripts/kconfig/expr.c:1090: warning: ignoring return value of 'fwrite', declared with attribute warn_unused_result
HOSTLD scripts/kconfig/conf
scripts/kconfig/conf -o arch/x86/Kconfig
.config:721:warning: symbol value 'm' invalid for RFKILL_INPUT
.config:2255:warning: symbol value 'm' invalid for DRAGONRISE_FF
.config:2272:warning: symbol value 'm' invalid for GREENASIA_FF
.config:2274:warning: symbol value 'm' invalid for THRUSTMASTER_FF
.config:2275:warning: symbol value 'm' invalid for ZEROPLUS_FF
.config:2424:warning: symbol value 'm' invalid for MMC_RICOH_MMC
--
Sparse Memory virtual memmap (SPARSEMEM_VMEMMAP) [Y/n/?] y
Allow for memory hot-add (MEMORY_HOTPLUG) [Y/n] y
Allow for memory hot remove (MEMORY_HOTREMOVE) [Y/n] y
Page migration (MIGRATION) [Y/n/?] y
Enable KSM for page merging (KSM) [N/y/?] (NEW) Low address space to protect from user allocation (DEFAULT_MMAP_MIN_ADDR) [4096] 4096
Enable recovery from hardware memory errors (MEMORY_FAILURE) [N/y/?] (NEW) Check for low memory corruption (X86_CHECK_BIOS_CORRUPTION) [N/y/?] n
--
* Bus options (PCI etc.)
*
PCI support (PCI) [Y/n/?] y
Support mmconfig PCI config space access (PCI_MMCONFIG) [Y/n] y
PCI Express support (PCIEPORTBUS) [Y/n/?] y
Root Port Advanced Error Reporting support (PCIEAER) [Y/n/?] y
PCI Express ECRC settings control (PCIE_ECRC) [N/y/?] (NEW) PCIe AER error injector support (PCIEAER_INJECT) [N/m/y/?] (NEW) PCI Express ASPM support(Experimental) (PCIEASPM) [N/y/?] n
--
Marvell Bluetooth driver support (BT_MRVL) [N/m/?] (NEW) Atheros firmware download driver (BT_ATH3K) [N/m/?] (NEW) *
* Wireless
*
Wireless (WIRELESS) [Y] y
cfg80211 - wireless configuration API (CFG80211) [M/n/?] m
nl80211 testmode command (NL80211_TESTMODE) [N/y/?] (NEW) enable developer warnings (CFG80211_DEVELOPER_WARNINGS) [N/y/?] (NEW) cfg80211 regulatory debugging (CFG80211_REG_DEBUG) [N/y/?] n
--
Compile in debug mode (AIC94XX_DEBUG) [N/y/?] n
Marvell 88SE64XX/88SE94XX SAS/SATA support (SCSI_MVSAS) [M/n/y/?] m
Compile in debug mode (SCSI_MVSAS_DEBUG) [Y/n/?] (NEW) Adaptec I2O RAID support (SCSI_DPT_I2O) [M/n/y/?] m
AdvanSys SCSI support (SCSI_ADVANSYS) [M/n/y/?] m
ARECA (ARC11xx/12xx/13xx/16xx) SATA/SAS RAID Host Adapter (SCSI_ARCMSR) [M/n/y/?] m
Enable PCI Error Recovery Capability in Areca Driver(ARCMSR) (SCSI_ARCMSR_AER) [N/y/?] n
--
PMC SIERRA Linux MaxRAID adapter support (SCSI_PMCRAID) [N/m/y/?] (NEW) PMC-Sierra SPC 8001 SAS/SATA Based Host Adapter driver (SCSI_PM8001) [N/m/y/?] (NEW) SCSI RDMA Protocol helper library (SCSI_SRP) [M/n/y/?] m
Brocade BFA Fibre Channel Support (SCSI_BFA_FC) [N/m/y/?] (NEW) *
* Serial ATA and Parallel ATA drivers
*
Serial ATA and Parallel ATA drivers (ATA) [M/n/y/?] m
Verbose ATA error reporting (ATA_VERBOSE_ERROR) [Y/n/?] (NEW) ATA ACPI Support (ATA_ACPI) [Y/n/?] y
--
Intel SCH LPC (LPC_SCH) [M/y/?] (NEW) *
* Voltage and Current Regulator Support
*
Voltage and Current Regulator Support (REGULATOR) [Y/n/?] y
Regulator debug support (REGULATOR_DEBUG) [N/y/?] n
Provide a dummy regulator if regulator lookups fail (REGULATOR_DUMMY) [N/y/?] (NEW) Fixed voltage regulator support (REGULATOR_FIXED_VOLTAGE) [M/n/y/?] m
--
Dnotify support (DNOTIFY) [Y/n/?] y
Inotify file change notification support (INOTIFY) [Y/n/?] y
Inotify support for userspace (INOTIFY_USER) [Y/n/?] y
Quota support (QUOTA) [Y/?] y
Report quota messages through netlink interface (QUOTA_NETLINK_INTERFACE) [N/y/?] n
Print quota warnings to console (OBSOLETE) (PRINT_QUOTA_WARNING) [Y/n/?] y
--
HOSTCC scripts/basic/fixdep
HOSTCC scripts/basic/docproc
HOSTCC scripts/basic/hash
HOSTCC scripts/kconfig/conf.o
scripts/kconfig/conf.c: In function 'conf_askvalue':
scripts/kconfig/conf.c:105: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result
scripts/kconfig/conf.c: In function 'conf_choice':
scripts/kconfig/conf.c:307: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result
HOSTCC scripts/kconfig/kxgettext.o
HOSTCC scripts/kconfig/zconf.tab.o
In file included from scripts/kconfig/zconf.tab.c:2451:
scripts/kconfig/confdata.c: In function 'conf_write':
scripts/kconfig/confdata.c:508: warning: ignoring return value of 'fwrite', declared with attribute warn_unused_result
scripts/kconfig/confdata.c: In function 'conf_write_autoconf':
scripts/kconfig/confdata.c:759: warning: ignoring return value of 'fwrite', declared with attribute warn_unused_result
scripts/kconfig/confdata.c:760: warning: ignoring return value of 'fwrite', declared with attribute warn_unused_result
In file included from scripts/kconfig/zconf.tab.c:2452:
scripts/kconfig/expr.c: In function 'expr_print_file_helper':
scripts/kconfig/expr.c:1090: warning: ignoring return value of 'fwrite', declared with attribute warn_unused_result
--
SHIPPED scripts/genksyms/parse.h
SHIPPED scripts/genksyms/keywords.c
SHIPPED scripts/genksyms/parse.c
HOSTCC scripts/genksyms/lex.o
scripts/genksyms/lex.c: In function 'yylex1':
scripts/genksyms/lex.l:97: warning: ignoring return value of 'fwrite', declared with attribute warn_unused_result
--
HOSTCC scripts/genksyms/parse.o
HOSTLD scripts/genksyms/genksyms
HOSTCC scripts/mod/sumversion.o
HOSTCC scripts/kallsyms
scripts/kallsyms.c: In function 'read_symbol':
scripts/kallsyms.c:112: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result
--
LD net/sunrpc/auth_gss/built-in.o
LD net/sunrpc/built-in.o
LD net/built-in.o
LD vmlinux.o
MODPOST vmlinux.o
WARNING: modpost: Found 42 section mismatch(es).
--
CC arch/x86/boot/printf.o
CC arch/x86/boot/regs.o
OBJCOPY arch/x86/boot/compressed/vmlinux.bin
HOSTCC arch/x86/boot/compressed/mkpiggy
arch/x86/boot/compressed/mkpiggy.c: In function 'main':
arch/x86/boot/compressed/mkpiggy.c:65: warning: ignoring return value of 'fread', declared with attribute warn_unused_result
CC arch/x86/boot/string.o
CC arch/x86/boot/tty.o
LZMA arch/x86/boot/compressed/vmlinux.bin.lzma
/bin/sh: lzma: command not found
make[2]: *** [arch/x86/boot/compressed/vmlinux.bin.lzma] Error 1
make[1]: *** [arch/x86/boot/compressed/vmlinux] Error 2
make[1]: *** Waiting for unfinished jobs....
make: *** [bzImage] Error 2
* Gentoo Linux Genkernel; Version 3.4.10.906
* Running with options: all
* ERROR: Failed to compile the "bzImage" target...
* -- End log... --
