커널 컴파일중 에러 2.4 ~ > 2.6
작성자 정보
- 최인호 작성
- 작성일
컨텐츠 정보
- 2,236 조회
- 0 추천
- 목록
본문
vmware 5.0 대를 사용중이구요.
리눅스 7.3(krenel 2.4.x) 에서 커널 2.6.19 로 올릴려고 합니다.
테스트를 해보려고 하던중 계속해서 아래와 같은 에러가 나네요.
1.make menuconfig 후에
2.make 하면 아래와 같이 조금 진행되다 에러가 나고 끝나버리네요..
[root@oralinux linux]# make
CHK include/linux/version.h
CHK include/linux/utsrelease.h
CC arch/i386/kernel/asm-offsets.s
In file included from include/asm/atomic.h:4,
from include/linux/crypto.h:20,
from arch/i386/kernel/asm-offsets.c:7:
include/linux/compiler.h:46:3: #error Sorry, your compiler is too old/not recognized.
In file included from include/asm/alternative.h:8,
from include/asm/bitops.h:9,
from include/linux/bitops.h:9,
from include/asm/cpufeature.h:10,
from include/asm/processor.h:16,
from include/asm/atomic.h:5,
from include/linux/crypto.h:20,
from arch/i386/kernel/asm-offsets.c:7:
include/linux/types.h:36: parse error before `bool'
include/linux/types.h:36: warning: type defaults to `int' in declaration of `bool'
include/linux/types.h:36: warning: data definition has no type or storage class
In file included from include/asm/system.h:4,
from include/asm/processor.h:18,
from include/asm/atomic.h:5,
from include/linux/crypto.h:20,
from arch/i386/kernel/asm-offsets.c:7:
include/linux/kernel.h:176: parse error before `printk_timed_ratelimit'
include/linux/kernel.h:177: warning: type defaults to `int' in declaration of `printk_timed_ratelimit'
include/linux/kernel.h:177: warning: data definition has no type or storage class
In file included from arch/i386/kernel/asm-offsets.c:7:
include/linux/crypto.h:343: array size missing in `__crt_ctx'
In file included from include/asm/suspend.h:7,
from include/linux/suspend.h:5,
from arch/i386/kernel/asm-offsets.c:11:
include/asm/i387.h: In function `__save_init_fpu':
include/asm/i387.h:58: parse error before `['
include/asm/i387.h:68: parse error before `['
make[1]: *** [arch/i386/kernel/asm-offsets.s] 오류 1
make: *** [prepare0] 오류 2
무엇이 문제인지... 도저힘 감이 안옵니다...
ㅜㅜ
관련자료
-
이전
-
다음