恩山无线论坛

 找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索
查看: 246|回复: 2

[求助帖] lean LEDE 编译时 nginx-util-1.4 出现问题

[复制链接]
发表于 2020-8-22 20:00 | 显示全部楼层 |阅读模式
本帖最后由 守墓人 于 2020-8-22 20:13 编辑

1

1

2

2

3

3

4

4


------------------------------------------------------make[3]: Entering directory '/home/shoumuren/lede/feeds/packages/net/nginx-util'
touch /home/shoumuren/lede/build_dir/target-mipsel_24kc_musl/nginx-util-1.4/.prepared_e97dbbbc8c37f38b865dbe3de067c478_6664517399ebbbc92a37c5bb081b5c53_check
true
[ ! -d ./src/ ] || cp -fpR ./src/. /home/shoumuren/lede/build_dir/target-mipsel_24kc_musl/nginx-util-1.4
touch /home/shoumuren/lede/build_dir/target-mipsel_24kc_musl/nginx-util-1.4/.prepared_e97dbbbc8c37f38b865dbe3de067c478_6664517399ebbbc92a37c5bb081b5c53
rm -f /home/shoumuren/lede/build_dir/target-mipsel_24kc_musl/nginx-util-1.4/.configured_*
rm -f /home/shoumuren/lede/staging_dir/target-mipsel_24kc_musl/stamp/.nginx-util_installed
mkdir -p /home/shoumuren/lede/build_dir/target-mipsel_24kc_musl/nginx-util-1.4
(cd /home/shoumuren/lede/build_dir/target-mipsel_24kc_musl/nginx-util-1.4; CFLAGS="-Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -mips16 -minterlink-mips16 -iremap/home/shoumuren/lede/build_dir/target-mipsel_24kc_musl/nginx-util-1.4:nginx-util-1.4 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro " CXXFLAGS="-Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -mips16 -minterlink-mips16 -iremap/home/shoumuren/lede/build_dir/target-mipsel_24kc_musl/nginx-util-1.4:nginx-util-1.4 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro " LDFLAGS="-L/home/shoumuren/lede/staging_dir/target-mipsel_24kc_musl/usr/lib -L/home/shoumuren/lede/staging_dir/target-mipsel_24kc_musl/lib -L/home/shoumuren/lede/staging_dir/toolchain-mipsel_24kc_gcc-7.5.0_musl/usr/lib -L/home/shoumuren/lede/staging_dir/toolchain-mipsel_24kc_gcc-7.5.0_musl/lib -znow -zrelro " cmake -DCMAKE_SYSTEM_NAME=Linux -DCMAKE_SYSTEM_VERSION=1 -DCMAKE_SYSTEM_PROCESSOR=mipsel -DCMAKE_BUILD_TYPE=Release -DCMAKE_C_FLAGS_RELEASE="-DNDEBUG" -DCMAKE_CXX_FLAGS_RELEASE="-DNDEBUG" -DCMAKE_C_COMPILER="/home/shoumuren/lede/staging_dir/toolchain-mipsel_24kc_gcc-7.5.0_musl/bin/mipsel-openwrt-linux-musl-gcc" -DCMAKE_C_COMPILER_ARG1="" -DCMAKE_CXX_COMPILER="/home/shoumuren/lede/staging_dir/toolchain-mipsel_24kc_gcc-7.5.0_musl/bin/mipsel-openwrt-linux-musl-g++" -DCMAKE_CXX_COMPILER_ARG1="" -DCMAKE_ASM_COMPILER="/home/shoumuren/lede/staging_dir/toolchain-mipsel_24kc_gcc-7.5.0_musl/bin/mipsel-openwrt-linux-musl-gcc" -DCMAKE_ASM_COMPILER_ARG1="" -DCMAKE_EXE_LINKER_FLAGS:STRING="-L/home/shoumuren/lede/staging_dir/target-mipsel_24kc_musl/usr/lib -L/home/shoumuren/lede/staging_dir/target-mipsel_24kc_musl/lib -L/home/shoumuren/lede/staging_dir/toolchain-mipsel_24kc_gcc-7.5.0_musl/usr/lib -L/home/shoumuren/lede/staging_dir/toolchain-mipsel_24kc_gcc-7.5.0_musl/lib -znow -zrelro" -DCMAKE_MODULE_LINKER_FLAGS:STRING="-L/home/shoumuren/lede/staging_dir/target-mipsel_24kc_musl/usr/lib -L/home/shoumuren/lede/staging_dir/target-mipsel_24kc_musl/lib -L/home/shoumuren/lede/staging_dir/toolchain-mipsel_24kc_gcc-7.5.0_musl/usr/lib -L/home/shoumuren/lede/staging_dir/toolchain-mipsel_24kc_gcc-7.5.0_musl/lib -znow -zrelro -Wl,-Bsymbolic-functions" -DCMAKE_SHARED_LINKER_FLAGS:STRING="-L/home/shoumuren/lede/staging_dir/target-mipsel_24kc_musl/usr/lib -L/home/shoumuren/lede/staging_dir/target-mipsel_24kc_musl/lib -L/home/shoumuren/lede/staging_dir/toolchain-mipsel_24kc_gcc-7.5.0_musl/usr/lib -L/home/shoumuren/lede/staging_dir/toolchain-mipsel_24kc_gcc-7.5.0_musl/lib -znow -zrelro -Wl,-Bsymbolic-functions" -DCMAKE_AR="/home/shoumuren/lede/staging_dir/toolchain-mipsel_24kc_gcc-7.5.0_musl/bin/mipsel-openwrt-linux-musl-gcc-ar" -DCMAKE_NM="/home/shoumuren/lede/staging_dir/toolchain-mipsel_24kc_gcc-7.5.0_musl/bin/mipsel-openwrt-linux-musl-gcc-nm" -DCMAKE_RANLIB="/home/shoumuren/lede/staging_dir/toolchain-mipsel_24kc_gcc-7.5.0_musl/bin/mipsel-openwrt-linux-musl-gcc-ranlib" -DCMAKE_FIND_ROOT_PATH="/home/shoumuren/lede/staging_dir/target-mipsel_24kc_musl/usr;/home/shoumuren/lede/staging_dir/toolchain-mipsel_24kc_gcc-7.5.0_musl" -DCMAKE_FIND_ROOT_PATH_MODE_PROGRAM=BOTH -DCMAKE_FIND_ROOT_PATH_MODE_LIBRARY=ONLY -DCMAKE_FIND_ROOT_PATH_MODE_INCLUDE=ONLY -DCMAKE_STRIP=: -DCMAKE_INSTALL_PREFIX=/usr -DDL_LIBRARY=/home/shoumuren/lede/staging_dir/target-mipsel_24kc_musl -DCMAKE_PREFIX_PATH=/home/shoumuren/lede/staging_dir/target-mipsel_24kc_musl -DCMAKE_SKIP_RPATH=TRUE -DUBUS=y -DVERSION=1.4 /home/shoumuren/lede/build_dir/target-mipsel_24kc_musl/nginx-util-1.4 )
-- The CXX compiler identification is GNU 7.5.0
-- Check for working CXX compiler: /home/shoumuren/lede/staging_dir/toolchain-mipsel_24kc_gcc-7.5.0_musl/bin/mipsel-openwrt-linux-musl-g++
-- Check for working CXX compiler: /home/shoumuren/lede/staging_dir/toolchain-mipsel_24kc_gcc-7.5.0_musl/bin/mipsel-openwrt-linux-musl-g++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Configuring done
-- Generating done
CMake Warning:
  Manually-specified variables were not used by the project:

    CMAKE_ASM_COMPILER
    CMAKE_ASM_COMPILER_ARG1
    CMAKE_C_COMPILER
    CMAKE_C_COMPILER_ARG1
    CMAKE_C_FLAGS_RELEASE
    CMAKE_MODULE_LINKER_FLAGS
    CMAKE_SHARED_LINKER_FLAGS
    DL_LIBRARY


-- Build files have been written to: /home/shoumuren/lede/build_dir/target-mipsel_24kc_musl/nginx-util-1.4
touch /home/shoumuren/lede/build_dir/target-mipsel_24kc_musl/nginx-util-1.4/.configured_68b329da9893e34099c7d8ad5cb9c940
rm -f /home/shoumuren/lede/build_dir/target-mipsel_24kc_musl/nginx-util-1.4/.built
touch /home/shoumuren/lede/build_dir/target-mipsel_24kc_musl/nginx-util-1.4/.built_check
CFLAGS="-Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -mips16 -minterlink-mips16 -iremap/home/shoumuren/lede/build_dir/target-mipsel_24kc_musl/nginx-util-1.4:nginx-util-1.4 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro  -I/home/shoumuren/lede/staging_dir/target-mipsel_24kc_musl/usr/include -I/home/shoumuren/lede/staging_dir/target-mipsel_24kc_musl/include -I/home/shoumuren/lede/staging_dir/toolchain-mipsel_24kc_gcc-7.5.0_musl/usr/include -I/home/shoumuren/lede/staging_dir/toolchain-mipsel_24kc_gcc-7.5.0_musl/include/fortify -I/home/shoumuren/lede/staging_dir/toolchain-mipsel_24kc_gcc-7.5.0_musl/include " CXXFLAGS="-Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -mips16 -minterlink-mips16 -iremap/home/shoumuren/lede/build_dir/target-mipsel_24kc_musl/nginx-util-1.4:nginx-util-1.4 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro  -I/home/shoumuren/lede/staging_dir/target-mipsel_24kc_musl/usr/include -I/home/shoumuren/lede/staging_dir/target-mipsel_24kc_musl/include -I/home/shoumuren/lede/staging_dir/toolchain-mipsel_24kc_gcc-7.5.0_musl/usr/include -I/home/shoumuren/lede/staging_dir/toolchain-mipsel_24kc_gcc-7.5.0_musl/include/fortify -I/home/shoumuren/lede/staging_dir/toolchain-mipsel_24kc_gcc-7.5.0_musl/include " LDFLAGS="-L/home/shoumuren/lede/staging_dir/target-mipsel_24kc_musl/usr/lib -L/home/shoumuren/lede/staging_dir/target-mipsel_24kc_musl/lib -L/home/shoumuren/lede/staging_dir/toolchain-mipsel_24kc_gcc-7.5.0_musl/usr/lib -L/home/shoumuren/lede/staging_dir/toolchain-mipsel_24kc_gcc-7.5.0_musl/lib -znow -zrelro " make -j1 -C /home/shoumuren/lede/build_dir/target-mipsel_24kc_musl/nginx-util-1.4/. AR="mipsel-openwrt-linux-musl-gcc-ar" AS="mipsel-openwrt-linux-musl-gcc -c -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -iremap/home/shoumuren/lede/build_dir/target-mipsel_24kc_musl/nginx-util-1.4:nginx-util-1.4 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro" LD=mipsel-openwrt-linux-musl-ld NM="mipsel-openwrt-linux-musl-gcc-nm" CC="mipsel-openwrt-linux-musl-gcc" GCC="mipsel-openwrt-linux-musl-gcc" CXX="mipsel-openwrt-linux-musl-g++" RANLIB="mipsel-openwrt-linux-musl-gcc-ranlib" STRIP=mipsel-openwrt-linux-musl-strip OBJCOPY=mipsel-openwrt-linux-musl-objcopy OBJDUMP=mipsel-openwrt-linux-musl-objdump SIZE=mipsel-openwrt-linux-musl-size CROSS="mipsel-openwrt-linux-musl-" ARCH="mipsel" CMAKE_COMMAND='/home/shoumuren/lede/staging_dir/host/bin/cmake' CMAKE_DISABLE_cmake_check_build_system=1 ;
make[4]: Entering directory '/home/shoumuren/lede/build_dir/target-mipsel_24kc_musl/nginx-util-1.4'
make[5]: Entering directory '/home/shoumuren/lede/build_dir/target-mipsel_24kc_musl/nginx-util-1.4'
make[6]: Entering directory '/home/shoumuren/lede/build_dir/target-mipsel_24kc_musl/nginx-util-1.4'
Scanning dependencies of target nginx-ssl-util
make[6]: Leaving directory '/home/shoumuren/lede/build_dir/target-mipsel_24kc_musl/nginx-util-1.4'
make[6]: Entering directory '/home/shoumuren/lede/build_dir/target-mipsel_24kc_musl/nginx-util-1.4'
[ 16%] Building CXX object CMakeFiles/nginx-ssl-util.dir/nginx-util.cpp.o
In file included from /home/shoumuren/lede/build_dir/target-mipsel_24kc_musl/nginx-util-1.4/nginx-util.hpp:17:0,
                 from /home/shoumuren/lede/build_dir/target-mipsel_24kc_musl/nginx-util-1.4/nginx-util.cpp:3:
/home/shoumuren/lede/build_dir/target-mipsel_24kc_musl/nginx-util-1.4/ubus-cxx.hpp: In constructor 'ubus::message::message(ubus::msg_ptr, ubus::strings)':
/home/shoumuren/lede/build_dir/target-mipsel_24kc_musl/nginx-util-1.4/ubus-cxx.hpp:139:5: error: declaration of 'filter' shadows a member of 'ubus::message' [-Werror=shadow]
     : msg{std::move(message_ptr)}, keys{std::move(filter)} {}
     ^
/home/shoumuren/lede/build_dir/target-mipsel_24kc_musl/nginx-util-1.4/ubus-cxx.hpp:166:10: note: shadowed declaration is here
     auto filter(Strings ...filter)
          ^~~~~~
/home/shoumuren/lede/build_dir/target-mipsel_24kc_musl/nginx-util-1.4/ubus-cxx.hpp: In member function 'auto ubus::message::filter(Strings ...)':
/home/shoumuren/lede/build_dir/target-mipsel_24kc_musl/nginx-util-1.4/ubus-cxx.hpp:167:5: error: declaration of 'filter' shadows a member of 'ubus::message' [-Werror=shadow]
     {
     ^
/home/shoumuren/lede/build_dir/target-mipsel_24kc_musl/nginx-util-1.4/ubus-cxx.hpp:166:10: note: shadowed declaration is here
     auto filter(Strings ...filter)
          ^~~~~~
cc1plus: all warnings being treated as errors
CMakeFiles/nginx-ssl-util.dir/build.make:62: recipe for target 'CMakeFiles/nginx-ssl-util.dir/nginx-util.cpp.o' failed
make[6]: *** [CMakeFiles/nginx-ssl-util.dir/nginx-util.cpp.o] Error 1
make[6]: Leaving directory '/home/shoumuren/lede/build_dir/target-mipsel_24kc_musl/nginx-util-1.4'
CMakeFiles/Makefile2:72: recipe for target 'CMakeFiles/nginx-ssl-util.dir/all' failed
make[5]: *** [CMakeFiles/nginx-ssl-util.dir/all] Error 2
make[5]: Leaving directory '/home/shoumuren/lede/build_dir/target-mipsel_24kc_musl/nginx-util-1.4'
Makefile:129: recipe for target 'all' failed
make[4]: *** [all] Error 2
make[4]: Leaving directory '/home/shoumuren/lede/build_dir/target-mipsel_24kc_musl/nginx-util-1.4'
Makefile:92: recipe for target '/home/shoumuren/lede/build_dir/target-mipsel_24kc_musl/nginx-util-1.4/.built' failed
make[3]: *** [/home/shoumuren/lede/build_dir/target-mipsel_24kc_musl/nginx-util-1.4/.built] Error 2
make[3]: Leaving directory '/home/shoumuren/lede/feeds/packages/net/nginx-util'
time: package/feeds/packages/nginx-util/compile#3.64#0.59#4.12
package/Makefile:111: recipe for target 'package/feeds/packages/nginx-util/compile' failed
make[2]: *** [package/feeds/packages/nginx-util/compile] Error 2
make[2]: Leaving directory '/home/shoumuren/lede'
package/Makefile:107: recipe for target '/home/shoumuren/lede/staging_dir/target-mipsel_24kc_musl/stamp/.package_compile' failed
make[1]: *** [/home/shoumuren/lede/staging_dir/target-mipsel_24kc_musl/stamp/.package_compile] Error 2
make[1]: Leaving directory '/home/shoumuren/lede'
/home/shoumuren/lede/include/toplevel.mk:225: recipe for target 'world' failed
make: *** [world] Error 2


我的恩山、我的无线 The best wifi forum is right here.
发表于 2020-8-23 02:32 | 显示全部楼层
少选一些插件编译,然后再逐步增加
这是选择的某个插件的支持不能正常的原因。
我的恩山、我的无线 The best wifi forum is right here.
发表于 2020-8-26 09:22 来自手机 | 显示全部楼层
nginx-util是干嘛用的? 还有编译nginx带ssl的基本都得出错……到底是哪里的错啊
我的恩山、我的无线 The best wifi forum is right here.
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

QQ|手机版|小黑屋|Archiver|恩山无线论坛(常州市恩山计算机开发有限公司版权所有) ( 苏ICP备05084872号 )|网站地图

GMT+8, 2020-9-20 03:06

Powered by Discuz! X3.4

Copyright © 2001-2020, Tencent Cloud.

快速回复 返回顶部 返回列表