기타 [ez-s3c6410] 커널 zImage 컴파일 문제
2012.04.25 20:55
댓글 3
-
유형석
2012.04.25 21:51
-
유지경성
2012.04.26 00:25
아 그렇군요 ㅜ 그림파일을 첨부한다고 했는데 첨부가 잘 안된것같습니다.make zImage를 실행시켰을때 컴파일을 하면서 오브젝트파일등을 만들다가
CHK include/linux/compile.h
CC arch/arm/mach-s3c6410/mach-ezs3c6410.o
In file included from arch/arm/mach-s3c6410/mach-ezs3c6410.c:29:
include/linux/android_pmem.h:92: error: static declaration of 'get_pmem_file' follows non-static declaration
include/linux/android_pmem.h:49: error: previous declaration of 'get_pmem_file' was here
include/linux/android_pmem.h:95: error: static declaration of 'get_pmem_user_addr' follows non-static declaration
include/linux/android_pmem.h:50: error: previous declaration of 'get_pmem_user_addr' was here
include/linux/android_pmem.h:97: error: static declaration of 'put_pmem_file' follows non-static declaration
include/linux/android_pmem.h:51: error: previous declaration of 'put_pmem_file' was here
include/linux/android_pmem.h:98: error: static declaration of 'flush_pmem_file' follows non-static declaration
include/linux/android_pmem.h:52: error: previous declaration of 'flush_pmem_file' was here
make[1]: *** [arch/arm/mach-s3c6410/mach-ezs3c6410.o] Error 1
make: *** [arch/arm/mach-s3c6410] Error 2처럼 android_pmem.h 쪽에서 에러가 발생하네요.. 임베디드쪽은 첨이라 어느부분을 봐야할지 몰라서
이렇게 글을 남김니다.
관심 감사하고 어떤정보라도 주시면 고맙곘습니다.
-
유형석
2012.04.30 20:03
make clean
./falinux-config.sh ez-s3c6410
./make_s3c6410.sh
이렇게 하시면 잘 되실 겁니다.
앞에 make를 붙이지 말고 쉘만 실행 해주세요~




위의 내용만 가지고는 무엇이 문제인지 모르기 때문에 답변을 드릴수가 없습니다.
에러의 내용을 알려 주시면 답변 다는데 도움이 됩니다!
예 ) 에러의 내용을 캡쳐 하거나 복사 하여 게시물에 넣기