0
openwrt의 빌드 프로세스를 이해하기 어렵습니다. 기본적으로 나는 약간의 지시 등을 언급하면서 $(warning)
을 사용하여 흔적을 추가하고있다.Makefile에서 오류가 발생했습니다
어느 시점에서 나는 make world
을 실행하고 오류가 있습니다. 내 문제는 내가 정확히 어떤 파일을 변경했는지 잊어 버리는 것이다. 내가이 출력에서 undrestand 무엇
Reading makefile `tp-link.mk' (search path) (no ~ expansion)...
Reading makefile `ubnt.mk' (search path) (no ~ expansion)...
Reading makefile `generic.mk' (search path) (no ~ expansion)...
Reading makefile `legacy.mk' (search path) (no ~ expansion)...
Makefile:102: *** commands commence before first target. Stop.
Reaping losing child 0x008a0f20 PID 3213
make[5]: *** [image-prereq] Error 2
Removing child 0x008a0f20 PID 3213 from chain.
Reaping losing child 0x0257c930 PID
make[4]: *** [prereq] Error 2
Removing child 0x0257c930 PIDfrom chain.
Reaping losing child 0x01196730 PID 3207
make[3]: *** [target/linux/prereq] Error 2
Removing child 0x01196730 PID 3207 from chain.
Reaping losing child 0x01432210 PID 3194
make[2]: *** [/home/user/Bureau/Workspace/arduino/openwrt-yun_2/openwrt/staging_dir/target-mips_34kc_musl-1.1.15/stamp/.target_prereq] Error 2
Removing child 0x01432210 PID 3194 from chain.
Reaping losing child 0x01cb58c0 PID 3189
make[1]: *** [prereq] Error 2
Removing child 0x01cb58c0 PID 3189 from chain.
Récupération du statut de sortie du processus fils 0x0167e4a0 PID 3074
make: *** [world] Erreur 2
Suppression du processus fils 0x0167e4a0 PID 3074 de la chaîne.
는 legacy.mk
을 읽으려고 할 때 그 메이크업 라인 (102) 상에 오류에 대해 불평입니다 :
이
명령make -d world
후 오류 출력을 할 수 있습니다. 나는이 파일을 수정하지 않았 음을 확신합니다.
내 질문 :
우리가 어떻게 디버그 옵션이있는 메이크 파일에서 문제가 올 알 수 있도록 사용할 수 있습니까?
"make -d --debug = v V = s" – VivekD
@VivekD 다시 한 번 감사드립니다. 문제는 첨부 된 로그에서 "디버그 옵션"이 잘못된 정보를 제공한다는 것입니다. .mk' 줄 102 그러나이 파일을 건드리지 않았다는 것은 문제가 거기서 올 수 없다는 것을 의미합니다. – Mouin