2017-11-24 1 views
-1

리눅스 커널 버전을 4.4.14 (트렁크)에서 3.18.44로 다운 그레이드하려고했습니다. ipq806x 인 대상 리눅스 시스템에 필요한 makefile 변경을했습니다. 그러나 건물을 짓는 동안 오류가 발생했습니다. 빌드 로그 스 니펫은 아래에 나와 있습니다. 누구든지 이런 종류의 오류를 경험 한 적이 있습니까? 의견을 공유하십시오.openwrt에서 Linux 커널 버전을 다운로드하면 빌드 오류가 발생합니다.

pplying patch platform/301-ARM-qcom-add-Netgear-Nighthawk-X4-R7500-device-tree.patch 
patching file arch/arm/boot/dts/Makefile 
The next patch would create the file arch/arm/boot/dts/qcom-ipq8064-r7500.dts, 
which already exists! Applying it anyway. 
patching file arch/arm/boot/dts/qcom-ipq8064-r7500.dts 
Hunk #1 FAILED at 1. 
1 out of 1 hunk FAILED -- rejects in file arch/arm/boot/dts/qcom-ipq8064-r7500.dts 
Patch platform/301-ARM-qcom-add-Netgear-Nighthawk-X4-R7500-device-tree.patch does not apply (enforce with -f) 
Makefile:26: recipe for target '/home/guru/punya/trunkpull_24112017/openwrt/build_dir/target-arm_cortex-a9+neon-vfpv4_musl-1.1.16_eabi/linux-ipq806x/linux-3.18.44/.quilt_checked' failed 
make[4]: *** [/home/guru/punya/trunkpull_24112017/openwrt/build_dir/target-arm_cortex-a9+neon-vfpv4_musl-1.1.16_eabi/linux-ipq806x/linux-3.18.44/.quilt_checked] Error 1 
make[4]: Leaving directory '/home/guru/punya/trunkpull_24112017/openwrt/target/linux/ipq806x' 
Makefile:13: recipe for target 'compile' failed 
make[3]: *** [compile] Error 2 
make[3]: Leaving directory '/home/guru/punya/trunkpull_24112017/openwrt/target/linux' 
target/Makefile:21: recipe for target 'target/linux/compile' failed 
make[2]: *** [target/linux/compile] Error 2 
make[2]: Leaving directory '/home/guru/punya/trunkpull_24112017/openwrt' 
target/Makefile:16: recipe for target '/home/guru/punya/trunkpull_24112017/openwrt/staging_dir/target-arm_cortex-a9+neon-vfpv4_musl-1.1.16_eabi/stamp/.target_compile' failed 
make[1]: *** [/home/guru/punya/trunkpull_24112017/openwrt/staging_dir/target-arm_cortex-a9+neon-vfpv4_musl-1.1.16_eabi/stamp/.target_compile] Error 2 
make[1]: Leaving directory '/home/guru/punya/trunkpull_24112017/openwrt' 
/home/guru/punya/trunkpull_24112017/openwrt/include/toplevel.mk:192: recipe for target 'world' failed 
make: *** [world] Error 2 
+0

이 질문은 C와 관련이 있습니까? – metarose

+0

죄송합니다. 빌드 관련 문제입니다. – PEJ

답변

0

로그에서 dts의 패치로 인해 컴파일이 실패했습니다. 실패한 패치 파일이 필요하지 않은 경우 제거한 후에 컴파일을 시도하십시오.

관련 문제