질문과 답변

u-boot compile error
2020. 4. 12 (일) 19:54 쌀쌀이 조회 83 좋아요 1 스크랩 0 댓글 2

kasuh@kasuh-HP-ProBook-4421s:~/stm/Developer-Package/stm32mp1-openstlinux-20-02-19/sources/arm-ostl-linux-gnueabi/u-boot-stm32mp-2018.11-r0/u-boot-2018.11$ make -f $PWD/../Makefile.sdk all

 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

 

 

  /home/kasuh/stm/Developer-Package/stm32mp1-openstlinux-20-02-19/sources/arm-ostl-linux-gnueabi/u-boot-stm32mp-2018.11-r0/u-boot-2018.11 is not clean, please run 'make mrproper'
  in the '/home/kasuh/stm/Developer-Package/stm32mp1-openstlinux-20-02-19/sources/arm-ostl-linux-gnueabi/u-boot-stm32mp-2018.11-r0/u-boot-2018.11' directory.
/home/kasuh/stm/Developer-Package/stm32mp1-openstlinux-20-02-19/sources/arm-ostl-linux-gnueabi/u-boot-stm32mp-2018.11-r0/u-boot-2018.11/Makefile:1440: recipe for target 'prepare3' failed
make[2]: *** [prepare3] Error 1
make[2]: Leaving directory '/home/kasuh/stm/Developer-Package/stm32mp1-openstlinux-20-02-19/sources/arm-ostl-linux-gnueabi/u-boot-stm32mp-2018.11-r0/build-trusted'
Makefile:148: recipe for target 'sub-make' failed
make[1]: *** [sub-make] Error 2
make[1]: Leaving directory '/home/kasuh/stm/Developer-Package/stm32mp1-openstlinux-20-02-19/sources/arm-ostl-linux-gnueabi/u-boot-stm32mp-2018.11-r0/u-boot-2018.11'
cp: cannot stat '/home/kasuh/stm/Developer-Package/stm32mp1-openstlinux-20-02-19/sources/arm-ostl-linux-gnueabi/u-boot-stm32mp-2018.11-r0/u-boot-2018.11/../build-trusted/u-boot.stm32': No such file or directory
cp: cannot stat '/home/kasuh/stm/Developer-Package/stm32mp1-openstlinux-20-02-19/sources/arm-ostl-linux-gnueabi/u-boot-stm32mp-2018.11-r0/u-boot-2018.11/../build-trusted/u-boot': No such file or directory

칩헤드 2020.04.13 16:56 답글  | 
이런 에러가 나올때에는 "$ make mrproper" 를 실행한후에 다시 컴파일하시면 해결이 보통은 됩니다.
쌀쌀이 2020.04.13 12:56 답글  | 
이전 문의사항에 답글로 링크된 주소를 수행하고 진행하니 정상적으로 빌드 되었습니다.

로그인 후
참가 상태를 확인할 수 있습니다.