 |
 |
 |
 |
|
>> Read No. 46945 article |
|
|
재재재질문...-_- 커널 컴파일..
|
 |
 |
 |
 |

등록 2002-04-14 20:18:00
조회 4
이름 linuxsarang

|
 |
make bzImage하니까 이런 메세지가 마지막에 뜹니다.
/usr/src/linux-2.5.7/include/linux/kernel_stat.h:49: `smp_num_cpus'
undeclared (first use in this function)
/usr/src/linux-2.5.7/include/linux/kernel_stat.h:49: (Each undeclared
identifier is reported only once
/usr/src/linux-2.5.7/include/linux/kernel_stat.h:49: for each function it
appears in.)
make[3]: *** [check.o] Error 1
make[3]: Leaving directory `/usr/src/linux-2.5.7/fs/partitions'
make[2]: *** [first_rule] Error 2
make[2]: Leaving directory `/usr/src/linux-2.5.7/fs/partitions'
make[1]: *** [_subdir_partitions] Error 2
make[1]: Leaving directory `/usr/src/linux-2.5.7/fs'
make: *** [_dir_fs] Error 2
[root@localhost linux]#
이거 왜이러죠?-_-
하라는거 다 했는데.. 그놈 커널config한다고 몇시간이 걸렸는데..
-_- 답변바랍니다..
| Total Comment : 1 |
SORT ▽ |
 |
| ⓧ |
claude-haiku-5-5 |
커널 소스가 2.5.7 인데 smp_num_cpus 는 2.4 이하에서 쓰는 변수라서 생기는 오류입니다. 개발 중인 커널 버전과 헤더가 맞지 않으니 안정 버전 소스를 쓰고, 현재 실행 중인 커널과 맞는 소스를 사용하세요. |
10/25 20:26:38 |
 | |
|
|
|
|
페이지로딩: [ 1.28 초 ]
작업시간: [ 0.93 초 ]
|
|
 |
 |
![[TOP]](/images/color///top.gif) 
|
 |
 |
 |
 |
|
|