make bzImage 에러
페도라 코어 3(커널 2.6.9)입니다.
커널 2.6.0을 사용할 일이 생겨 커널소스를 받아 컴파일 하고 있는데, 에러가 나서 더이상 진행을 못하고 있습니다.
이거 안되면, 서버를 다시 깔아야 합니다. ㅜㅜ
자세한 사항은 아래와 같습니다.
비슷한 문제가 있는 다른 게시물을 봤지만, 거기서도 답변이 제대로 안나와있네요.
도와주세요.
디렉토리는 /usr/src/linux 이고, /usr/src/linux 는 /usr/src/linux-2.6.0 에 대한 심볼릭 링크입니다.
[root@PBX-Switch linux]# make bzImage
CHK include/linux/version.h
UPD include/linux/version.h
SYMLINK include/asm -> include/asm-i386
HOSTCC scripts/fixdep
HOSTCC scripts/genksyms/genksyms.o
SHIPPED scripts/genksyms/lex.c
SHIPPED scripts/genksyms/parse.h
SHIPPED scripts/genksyms/keywords.c
HOSTCC scripts/genksyms/lex.o
SHIPPED scripts/genksyms/parse.c
HOSTCC scripts/genksyms/parse.o
HOSTLD scripts/genksyms/genksyms
HOSTCC scripts/split-include
HOSTCC scripts/conmakehash
HOSTCC scripts/docproc
HOSTCC scripts/kallsyms
CC scripts/empty.o
HOSTCC scripts/mk_elfconfig
MKELF scripts/elfconfig.h
HOSTCC scripts/file2alias.o
HOSTCC scripts/modpost.o
HOSTLD scripts/modpost
HOSTCC scripts/pnmtologo
HOSTCC scripts/bin2c
SPLIT include/linux/autoconf.h -> include/config/*
CC arch/i386/kernel/asm-offsets.s
CHK include/asm-i386/asm_offsets.h
UPD include/asm-i386/asm_offsets.h
CC init/main.o
In file included from include/linux/dcache.h:10,
from include/linux/fs.h:17,
from include/linux/proc_fs.h:6,
from init/main.c:16:
include/linux/rcupdate.h: In function `rcu_pending':
include/linux/rcupdate.h:114: error: invalid lvalue in unary `&'
include/linux/rcupdate.h:116: error: invalid lvalue in unary `&'
include/linux/rcupdate.h:117: error: invalid lvalue in unary `&'
In file included from include/linux/unistd.h:9,
from init/main.c:19:
include/asm/unistd.h: At top level:
include/asm/unistd.h:397: warning: conflicting types for built-in function '_exit'
make[1]: *** [init/main.o] Error 1
make: *** [init] Error 2
읽어주셔서 감사합니다.
댓글 달기