找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索
广告投放联系QQ68610888
查看: 1370|回复: 2

请教各位,编译报错是否为内存不足?

[复制链接]
发表于 2020-2-17 14:47 | 显示全部楼层 |阅读模式
make[3]: Entering directory `/home/alen/lede/feeds/packages/utils/ttyd'
rm -f /home/alen/lede/build_dir/target-mipsel_24kc_musl/ttyd-1.4.0/.built
touch /home/alen/lede/build_dir/target-mipsel_24kc_musl/ttyd-1.4.0/.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/alen/lede/build_dir/target-mipsel_24kc_musl/ttyd-1.4.0:ttyd-1.4.0 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro  -I/home/alen/lede/staging_dir/target-mipsel_24kc_musl/usr/include -I/home/alen/lede/staging_dir/target-mipsel_24kc_musl/include -I/home/alen/lede/staging_dir/toolchain-mipsel_24kc_gcc-7.5.0_musl/usr/include -I/home/alen/lede/staging_dir/toolchain-mipsel_24kc_gcc-7.5.0_musl/include/fortify -I/home/alen/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/alen/lede/build_dir/target-mipsel_24kc_musl/ttyd-1.4.0:ttyd-1.4.0 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro  -I/home/alen/lede/staging_dir/target-mipsel_24kc_musl/usr/include -I/home/alen/lede/staging_dir/target-mipsel_24kc_musl/include -I/home/alen/lede/staging_dir/toolchain-mipsel_24kc_gcc-7.5.0_musl/usr/include -I/home/alen/lede/staging_dir/toolchain-mipsel_24kc_gcc-7.5.0_musl/include/fortify -I/home/alen/lede/staging_dir/toolchain-mipsel_24kc_gcc-7.5.0_musl/include " LDFLAGS="-L/home/alen/lede/staging_dir/target-mipsel_24kc_musl/usr/lib -L/home/alen/lede/staging_dir/target-mipsel_24kc_musl/lib -L/home/alen/lede/staging_dir/toolchain-mipsel_24kc_gcc-7.5.0_musl/usr/lib -L/home/alen/lede/staging_dir/toolchain-mipsel_24kc_gcc-7.5.0_musl/lib -znow -zrelro " make -j1 -C /home/alen/lede/build_dir/target-mipsel_24kc_musl/ttyd-1.4.0/. 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/alen/lede/build_dir/target-mipsel_24kc_musl/ttyd-1.4.0:ttyd-1.4.0 -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/alen/lede/staging_dir/host/bin/cmake' CMAKE_DISABLE_cmake_check_build_system=1 ;
make[4]: Entering directory `/home/alen/lede/build_dir/target-mipsel_24kc_musl/ttyd-1.4.0'
make[5]: Entering directory `/home/alen/lede/build_dir/target-mipsel_24kc_musl/ttyd-1.4.0'
make[6]: Entering directory `/home/alen/lede/build_dir/target-mipsel_24kc_musl/ttyd-1.4.0'
[ 16%] Generating html.h from index.html
/bin/sh: CMAKE_XXD-NOTFOUND: command not found
make[6]: *** [html.h] Error 127
make[6]: Leaving directory `/home/alen/lede/build_dir/target-mipsel_24kc_musl/ttyd-1.4.0'
make[5]: *** [CMakeFiles/ttyd.dir/all] Error 2
make[5]: Leaving directory `/home/alen/lede/build_dir/target-mipsel_24kc_musl/ttyd-1.4.0'
make[4]: *** [all] Error 2
make[4]: Leaving directory `/home/alen/lede/build_dir/target-mipsel_24kc_musl/ttyd-1.4.0'
make[3]: *** [/home/alen/lede/build_dir/target-mipsel_24kc_musl/ttyd-1.4.0/.built] Error 2
make[3]: Leaving directory `/home/alen/lede/feeds/packages/utils/ttyd'
time: package/feeds/packages/ttyd/compile#0.28#0.35#0.69
make[2]: *** [package/feeds/packages/ttyd/compile] Error 2
make[2]: Leaving directory `/home/alen/lede'
make[1]: *** [/home/alen/lede/staging_dir/target-mipsel_24kc_musl/stamp/.package_compile] Error 2
make[1]: Leaving directory `/home/alen/lede'
make: *** [world] 错误 2
PS:vps主机内存为1G,swap已设置1.5G。。
我的恩山、我的无线 The best wifi forum is right here.
发表于 2020-2-17 15:43 | 显示全部楼层
编译的时候,不要选 ttyd
这个帖子有写:https://www.right.com.cn/forum/thread-1008054-1-1.html
编译的时候注意不要选 ttyd ,这个应用编译过程会出问题,
问题原因是 CMAKE_XXD-NOTFOUND -i index.html html.h
执行时候 CMAKE_XXD-NOTFOUND 认不到,不清楚原因
没有解决办法,目前只能先从电脑端编译拷贝过去,或者不勾选,可以之后安装

点评

到处都能看到 大佬  发表于 2022-4-15 14:52
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

有疑问请添加管理员QQ86788181|手机版|小黑屋|Archiver|恩山无线论坛(常州市恩山计算机开发有限公司版权所有) ( 苏ICP备05084872号 )

GMT+8, 2024-4-26 20:00

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

| 江苏省互联网有害信息举报中心 举报信箱:js12377 | @jischina.com.cn 举报电话:025-88802724 本站不良内容举报信箱:68610888@qq.com 举报电话:0519-86695797

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