سلام و عشق
من اومدم کرنل برای گوشیم کامپایل کنم با هنگام کامپایل با این ارور ها مواجه شدم:
[left]I got this error:
Code:
amin@Amin-Aspire:~/android/kernel/kernel$ make -j2
scripts/kconfig/conf -s arch/arm/Kconfig
CHK include/linux/version.h
SYMLINK include/asm -> include/asm-arm
make[1]: `include/asm-arm/mach-types.h' is up to date.
CHK include/linux/utsrelease.h
UPD include/linux/utsrelease.h
CC scripts/mod/empty.o
MKELF scripts/mod/elfconfig.h
HOSTCC scripts/mod/file2alias.o
HOSTCC scripts/mod/modpost.o
scripts/mod/modpost.c: In function ‘get_markers’:
scripts/mod/modpost.c:1542:12: warning: ignoring return value of ‘asprintf’, declared with attribute warn_unused_result [-Wunused-result]
scripts/mod/modpost.c: In function ‘add_marker’:
scripts/mod/modpost.c:1962:10: warning: ignoring return value of ‘asprintf’, declared with attribute warn_unused_result [-Wunused-result]
HOSTCC scripts/mod/sumversion.o
HOSTLD scripts/mod/modpost
CC kernel/bounds.s
GEN include/linux/bounds.h
CC arch/arm/kernel/asm-offsets.s
GEN include/asm/asm-offsets.h
CALL scripts/checksyscalls.sh
CC init/main.o
HOSTCC usr/gen_init_cpio
GEN usr/initramfs_data.cpio.gz
In file included from include/linux/mempolicy.h:62:0,
from init/main.c:51:
include/linux/pagemap.h: In function 'fault_in_pages_readable':
include/linux/pagemap.h:416:16: error: variable 'c' set but not used [-Werror=unused-but-set-variable]
AS usr/initramfs_data.o
LD usr/built-in.o
cc1: all warnings being treated as errors
make[1]: *** [init/main.o] Error 1
make: *** [init] Error 2
make: *** Waiting for unfinished jobs....[/left]
راستش یه دولوپری بهم گفت برو تو فایل makefile و werror line رو hash کن ولی من نفهمیدم و خجالت کشیدم ازش بپرسم اینی که میگی یعنی چی:دی
لطفا من رو راهنمایی کنید مرسی