글 수 90
2011.05.02 01:21:20 (*.220.34.204)
66462
안녕하세요.!!!
EZ-X5 linux Kernel 2.6으로 Up 할려고 환경 설정 하고
빌드 하니까 아래와 같은 Error 나오네요.!!!
어떻게 해결 하면 될까요???
고수님의 의견 부탁 드립니다.
--------------------------------------------------------------------------------
root@puro-desktop:/usr/src/EZ-X5/linux-2.6.21-EZ_X5# make zImage
scripts/kconfig/conf -s arch/arm/Kconfig
CHK include/linux/version.h
UPD include/linux/version.h
SYMLINK include/asm-arm/arch -> include/asm-arm/arch-pxa
Generating include/asm-arm/mach-types.h
CHK include/linux/utsrelease.h
UPD include/linux/utsrelease.h
SYMLINK include/asm -> include/asm-arm
CC arch/arm/kernel/asm-offsets.s
GEN include/asm-arm/asm-offsets.h
CC scripts/mod/empty.o
HOSTCC scripts/mod/mk_elfconfig
MKELF scripts/mod/elfconfig.h
HOSTCC scripts/mod/file2alias.o
HOSTCC scripts/mod/modpost.o
HOSTCC scripts/mod/sumversion.o
scripts/mod/sumversion.c: In function ‘get_src_version’:
scripts/mod/sumversion.c:389: error: ‘PATH_MAX’ undeclared (first use in this function)
scripts/mod/sumversion.c:389: error: (Each undeclared identifier is reported only once
scripts/mod/sumversion.c:389: error: for each function it appears in.)
scripts/mod/sumversion.c:389: warning: unused variable ‘filelist’
make[2]: *** [scripts/mod/sumversion.o] 오류 1
make[1]: *** [scripts/mod] 오류 2
make: *** [scripts] 오류 2
root@puro-desktop:/usr/src/EZ-X5/linux-2.6.21-EZ_X5#
scripts/kconfig/conf -s arch/arm/Kconfig
CHK include/linux/version.h
UPD include/linux/version.h
SYMLINK include/asm-arm/arch -> include/asm-arm/arch-pxa
Generating include/asm-arm/mach-types.h
CHK include/linux/utsrelease.h
UPD include/linux/utsrelease.h
SYMLINK include/asm -> include/asm-arm
CC arch/arm/kernel/asm-offsets.s
GEN include/asm-arm/asm-offsets.h
CC scripts/mod/empty.o
HOSTCC scripts/mod/mk_elfconfig
MKELF scripts/mod/elfconfig.h
HOSTCC scripts/mod/file2alias.o
HOSTCC scripts/mod/modpost.o
HOSTCC scripts/mod/sumversion.o
scripts/mod/sumversion.c: In function ‘get_src_version’:
scripts/mod/sumversion.c:389: error: ‘PATH_MAX’ undeclared (first use in this function)
scripts/mod/sumversion.c:389: error: (Each undeclared identifier is reported only once
scripts/mod/sumversion.c:389: error: for each function it appears in.)
scripts/mod/sumversion.c:389: warning: unused variable ‘filelist’
make[2]: *** [scripts/mod/sumversion.o] 오류 1
make[1]: *** [scripts/mod] 오류 2
make: *** [scripts] 오류 2
root@puro-desktop:/usr/src/EZ-X5/linux-2.6.21-EZ_X5#
-------------------------------------------------------------------------------
scripts/mod/sumversion.c 파일을 열고, #include <limits.h> 를 추가해주세요