lede icon indicating copy to clipboard operation
lede copied to clipboard

最新版本code(4/20日)编译错误,请教解决办法

Open f3404923 opened this issue 6 years ago • 1 comments

反馈bug/问题模板,提建议请删除

1.关于你要提交的问题

Q:是否搜索了issue (使用 "x" 选择)

  • [ ] 没有类似的issue

2. 详细叙述

(1) 具体问题

A:

(2) 路由器型号和固件版本

A:X86-64

(3) 详细日志

A: Applying ./patches/001-CMakeLists-build-reproducible-by-default.patch using plaintext: can't find file to patch at input line 18 Perhaps you used the wrong -p or --strip option? The text leading up to this was:

default.
CMakeLists.txt
1 file changed, 27 insertions(+), 20 deletions(-)
Index: libwebsockets-2.4.0/CMakeLists.txt
===================================================================
--- libwebsockets-2.4.0.orig/CMakeLists.txt
+++ libwebsockets-2.4.0/CMakeLists.txt

|From d7b6c04aaf416344332e73f49fe457013e3ccf36 Mon Sep 17 00:00:00 2001 |From: Alexander Couzens [email protected] |Date: Sun, 10 Dec 2017 00:54:06 +0100 |Subject: [PATCH] CMakeLists: build reproducible by default |Merged-upstream: yes | |Using the build user and build hostname as part of the git hash breaks |reproducible builds. Make this part optional, but build reproducible by

No file to patch. Skipping patch. 2 out of 2 hunks ignored Patch failed! Please fix ./patches/001-CMakeLists-build-reproducible-by-default.patch! make[3]: *** [/home/f3404923/lede/build_dir/target-x86_64_musl/libwebsockets-openssl/libwebsockets-2.4.1/.prepared_c08384a4479baff00e880b1bb4f56cbe_6664517399ebbbc92a37c5bb081b5c53] Error 1 make[3]: Leaving directory /home/f3404923/lede/feeds/packages/libs/libwebsockets' time: package/feeds/packages/libwebsockets/openssl/compile#0.09#0.03#0.20 make[2]: *** [package/feeds/packages/libwebsockets/compile] Error 2 make[2]: Leaving directory /home/f3404923/lede' make[1]: *** [/home/f3404923/lede/staging_dir/target-x86_64_musl/stamp/.package_compile] Error 2 make[1]: Leaving directory `/home/f3404923/lede' make: *** [world] Error 2

f3404923 avatar Apr 20 '20 05:04 f3404923

error1 请大家看看错误截图,显示的比较清楚点。谢谢!

f3404923 avatar Apr 20 '20 06:04 f3404923