找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索
广告投放联系QQ68610888
查看: 1053|回复: 9

编译openwrt出现错误,请教怎么解决

[复制链接]
zjgzhxh/lede/staging_dir/target-x86_64_musl/root-x86/'
touch /home/zjgzhxh/lede/staging_dir/target-x86_64_musl/root-x86/stamp/.kmod-r8168_installed
removed '/home/zjgzhxh/lede/bin/targets/x86/64/packages/kmod-r8168_5.15.91+8.051.02-x86-1_x86_64.ipk'
mkdir -p /home/zjgzhxh/lede/bin/targets/x86/64/packages /home/zjgzhxh/lede/build_dir/target-x86_64_musl/linux-x86_64/r8168-8.051.02/ipkg-x86_64/kmod-r8168/CONTROL /home/zjgzhxh/lede/staging_dir/target-x86_64_musl/pkginfo
mkdir -p /home/zjgzhxh/lede/build_dir/target-x86_64_musl/linux-x86_64/r8168-8.051.02/ipkg-x86_64/kmod-r8168/etc/modules.d; ( echo "r8168"; ) > /home/zjgzhxh/lede/build_dir/target-x86_64_musl/linux-x86_64/r8168-8.051.02/ipkg-x86_64/kmod-r8168/etc/modules.d/r8168;
find /home/zjgzhxh/lede/build_dir/target-x86_64_musl/linux-x86_64/r8168-8.051.02/ipkg-x86_64/kmod-r8168 -name 'CVS' -o -name '.svn' -o -name '.#*' -o -name '*~'| xargs -r rm -rf
export CROSS="x86_64-openwrt-linux-musl-"  NO_RENAME=1 ; NM="x86_64-openwrt-linux-musl-nm" STRIP="/home/zjgzhxh/lede/staging_dir/host/bin/sstrip -z" STRIP_KMOD="/home/zjgzhxh/lede/scripts/strip-kmod.sh" PATCHELF="/home/zjgzhxh/lede/staging_dir/host/bin/patchelf" /home/zjgzhxh/lede/scripts/rstrip.sh /home/zjgzhxh/lede/build_dir/target-x86_64_musl/linux-x86_64/r8168-8.051.02/ipkg-x86_64/kmod-r8168
rstrip.sh: /home/zjgzhxh/lede/build_dir/target-x86_64_musl/linux-x86_64/r8168-8.051.02/ipkg-x86_64/kmod-r8168/lib/modules/5.15.93/r8168.ko: relocatable
(cd /home/zjgzhxh/lede/build_dir/target-x86_64_musl/linux-x86_64/r8168-8.051.02/ipkg-x86_64/kmod-r8168/CONTROL; ( echo "$CONTROL"; printf "Description: "; echo "$DESCRIPTION" | sed -e 's,^[[:space:]]*, ,g'; ) > control; chmod 644 control; ( echo "#!/bin/sh"; echo "[ \"\${IPKG_NO_SCRIPT}\" = \"1\" ] && exit 0"; echo "[ -s "\${IPKG_INSTROOT}/lib/functions.sh" ] || exit 0"; echo ". \${IPKG_INSTROOT}/lib/functions.sh"; echo "default_postinst \$0 \$@"; ) > postinst; ( echo "#!/bin/sh"; echo "[ -s "\${IPKG_INSTROOT}/lib/functions.sh" ] || exit 0"; echo ". \${IPKG_INSTROOT}/lib/functions.sh"; echo "default_prerm \$0 \$@"; ) > prerm; chmod 0755 postinst prerm;  )
install -d -m0755 /home/zjgzhxh/lede/bin/targets/x86/64/packages
/home/zjgzhxh/lede/staging_dir/host/bin/fakeroot /home/zjgzhxh/lede/staging_dir/host/bin/bash /home/zjgzhxh/lede/scripts/ipkg-build -m "" /home/zjgzhxh/lede/build_dir/target-x86_64_musl/linux-x86_64/r8168-8.051.02/ipkg-x86_64/kmod-r8168 /home/zjgzhxh/lede/bin/targets/x86/64/packages
Packaged contents of /home/zjgzhxh/lede/build_dir/target-x86_64_musl/linux-x86_64/r8168-8.051.02/ipkg-x86_64/kmod-r8168 into /home/zjgzhxh/lede/bin/targets/x86/64/packages/kmod-r8168_5.15.93+8.051.02-x86-1_x86_64.ipk
make[3]: Leaving directory '/home/zjgzhxh/lede/package/lean/r8168'
time: package/lean/r8168/compile#11.63#0.55#12.21
make[2]: Leaving directory '/home/zjgzhxh/lede'
make[1]: *** [package/Makefile:110: /home/zjgzhxh/lede/staging_dir/target-x86_64_musl/stamp/.package_compile] Error 2
make[1]: Leaving directory '/home/zjgzhxh/lede'
make: *** [/home/zjgzhxh/lede/include/toplevel.mk:231: world] Error 2
zjgzhxh@zjgzhxh-virtual-machine:~/lede$



上面是错误日志,请大神帮忙看看该怎么解决,不胜感激!

我的恩山、我的无线 The best wifi forum is right here.
请使用单线程编译,这样的看不出来

点评

removed '/home/zjgzhxh/lede/bin/targets/x86/64/packages/kmod-fb-tft-ili9486_5.15.91-1_x86_64.ipk' rstrip.sh: /home/zjgzhxh/lede/build_dir/target-x86_64_musl/linux-x86_64/packages/ipkg-x86_64/kmod-fb-  详情 回复 发表于 2023-2-12 20:49
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

用云编译吧,或者用imagebuilder打包集成方式封装固件,跳过编译的环节。
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

 楼主| | 显示全部楼层
932279632 发表于 2023-2-11 11:00
请使用单线程编译,这样的看不出来

removed '/home/zjgzhxh/lede/bin/targets/x86/64/packages/kmod-fb-tft-ili9486_5.15.91-1_x86_64.ipk'
rstrip.sh: /home/zjgzhxh/lede/build_dir/target-x86_64_musl/linux-x86_64/packages/ipkg-x86_64/kmod-fb-tft-ili9486/lib/modules/5.15.93/fb_ili9486.ko: relocatable
Packaged contents of /home/zjgzhxh/lede/build_dir/target-x86_64_musl/linux-x86_64/packages/ipkg-x86_64/kmod-fb-tft-ili9486 into /home/zjgzhxh/lede/bin/targets/x86/64/packages/kmod-fb-tft-ili9486_5.15.93-1_x86_64.ipk
removed '/home/zjgzhxh/lede/bin/targets/x86/64/packages/kmod-multimedia-input_5.15.91-1_x86_64.ipk'
rstrip.sh: /home/zjgzhxh/lede/build_dir/target-x86_64_musl/linux-x86_64/packages/ipkg-x86_64/kmod-multimedia-input/lib/modules/5.15.93/rc-core.ko: relocatable
Packaged contents of /home/zjgzhxh/lede/build_dir/target-x86_64_musl/linux-x86_64/packages/ipkg-x86_64/kmod-multimedia-input into /home/zjgzhxh/lede/bin/targets/x86/64/packages/kmod-multimedia-input_5.15.93-1_x86_64.ipk
removed '/home/zjgzhxh/lede/bin/targets/x86/64/packages/kmod-drm_5.15.91-1_x86_64.ipk'
NOTICE: module '/home/zjgzhxh/lede/build_dir/target-x86_64_musl/linux-x86_64/linux-5.15.93/drivers/gpu/drm/drm.ko' is built-in.
NOTICE: module '/home/zjgzhxh/lede/build_dir/target-x86_64_musl/linux-x86_64/linux-5.15.93/drivers/gpu/drm/drm_panel_orientation_quirks.ko' is built-in.
Packaged contents of /home/zjgzhxh/lede/build_dir/target-x86_64_musl/linux-x86_64/packages/ipkg-x86_64/kmod-drm into /home/zjgzhxh/lede/bin/targets/x86/64/packages/kmod-drm_5.15.93-1_x86_64.ipk
removed '/home/zjgzhxh/lede/bin/targets/x86/64/packages/kmod-drm-ttm_5.15.91-1_x86_64.ipk'
NOTICE: module '/home/zjgzhxh/lede/build_dir/target-x86_64_musl/linux-x86_64/linux-5.15.93/drivers/gpu/drm/ttm/ttm.ko' is built-in.
Packaged contents of /home/zjgzhxh/lede/build_dir/target-x86_64_musl/linux-x86_64/packages/ipkg-x86_64/kmod-drm-ttm into /home/zjgzhxh/lede/bin/targets/x86/64/packages/kmod-drm-ttm_5.15.93-1_x86_64.ipk
removed '/home/zjgzhxh/lede/bin/targets/x86/64/packages/kmod-drm-kms-helper_5.15.91-1_x86_64.ipk'
NOTICE: module '/home/zjgzhxh/lede/build_dir/target-x86_64_musl/linux-x86_64/linux-5.15.93/drivers/gpu/drm/drm_kms_helper.ko' is built-in.
Packaged contents of /home/zjgzhxh/lede/build_dir/target-x86_64_musl/linux-x86_64/packages/ipkg-x86_64/kmod-drm-kms-helper into /home/zjgzhxh/lede/bin/targets/x86/64/packages/kmod-drm-kms-helper_5.15.93-1_x86_64.ipk
removed '/home/zjgzhxh/lede/bin/targets/x86/64/packages/kmod-drm-amdgpu_5.15.91-1_x86_64.ipk'
rstrip.sh: /home/zjgzhxh/lede/build_dir/target-x86_64_musl/linux-x86_64/packages/ipkg-x86_64/kmod-drm-amdgpu/lib/modules/5.15.93/gpu-sched.ko: relocatable
rstrip.sh: /home/zjgzhxh/lede/build_dir/target-x86_64_musl/linux-x86_64/packages/ipkg-x86_64/kmod-drm-amdgpu/lib/modules/5.15.93/amdgpu.ko: relocatable
Packaged contents of /home/zjgzhxh/lede/build_dir/target-x86_64_musl/linux-x86_64/packages/ipkg-x86_64/kmod-drm-amdgpu into /home/zjgzhxh/lede/bin/targets/x86/64/packages/kmod-drm-amdgpu_5.15.93-1_x86_64.ipk
removed '/home/zjgzhxh/lede/bin/targets/x86/64/packages/kmod-drm-radeon_5.15.91-1_x86_64.ipk'
rstrip.sh: /home/zjgzhxh/lede/build_dir/target-x86_64_musl/linux-x86_64/packages/ipkg-x86_64/kmod-drm-radeon/lib/modules/5.15.93/radeon.ko: relocatable
Packaged contents of /home/zjgzhxh/lede/build_dir/target-x86_64_musl/linux-x86_64/packages/ipkg-x86_64/kmod-drm-radeon into /home/zjgzhxh/lede/bin/targets/x86/64/packages/kmod-drm-radeon_5.15.93-1_x86_64.ipk
Package kmod-drm-nouveau is missing dependencies for the following libraries:
wmi.ko
make[3]: *** [modules/video.mk:474: /home/zjgzhxh/lede/bin/targets/x86/64/packages/kmod-drm-nouveau_5.15.93-1_x86_64.ipk] Error 1
make[3]: Leaving directory '/home/zjgzhxh/lede/package/kernel/linux'
time: package/kernel/linux/compile#56.74#12.76#60.10
    ERROR: package/kernel/linux failed to build.
make[2]: *** [package/Makefile:116: package/kernel/linux/compile] Error 1
make[2]: Leaving directory '/home/zjgzhxh/lede'
make[1]: *** [package/Makefile:110: /home/zjgzhxh/lede/staging_dir/target-x86_64_musl/stamp/.package_compile] Error 2
make[1]: Leaving directory '/home/zjgzhxh/lede'
make: *** [/home/zjgzhxh/lede/include/toplevel.mk:231: world] Error 2
zjgzhxh@zjgzhxh-virtual-machine:~/lede$

这样能看出来吗?谢谢!

点评

kmod-drm-nouveau_5.15.93-1_x86_64.ipk] 把这个功能去掉  详情 回复 发表于 2023-2-13 09:22
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

熟悉又陌生 发表于 2023-2-12 20:49
removed '/home/zjgzhxh/lede/bin/targets/x86/64/packages/kmod-fb-tft-ili9486_5.15.91-1_x86_64.ipk'
...

kmod-drm-nouveau_5.15.93-1_x86_64.ipk]  把这个功能去掉

点评

都不知道这是哪个功能,在哪里去掉  详情 回复 发表于 2023-2-13 13:49
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

 楼主| | 显示全部楼层
932279632 发表于 2023-2-13 09:22
kmod-drm-nouveau_5.15.93-1_x86_64.ipk]  把这个功能去掉

都不知道这是哪个功能,在哪里去掉

点评

-> Kernel modules | | (1) -> Video Support  详情 回复 发表于 2023-2-13 15:44
你在哪编译的?不是自己添加功能的?  详情 回复 发表于 2023-2-13 13:51
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

熟悉又陌生 发表于 2023-2-13 13:49
都不知道这是哪个功能,在哪里去掉

你在哪编译的?不是自己添加功能的?

点评

复制的别人的config文件,然后自己在LUCI里进行了修改。  详情 回复 发表于 2023-2-15 13:43
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

本帖最后由 shenyz 于 2023-2-13 15:46 编辑
熟悉又陌生 发表于 2023-2-13 13:49
都不知道这是哪个功能,在哪里去掉

-> Kernel modules                                                                                                                              |  
  | (1)   -> Video Support   




ps: 在make menuconfig 的界面 输入  /  查询  会告诉你路径的

点评

感谢大神指导  详情 回复 发表于 2023-2-15 13:42
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

 楼主| | 显示全部楼层
shenyz 发表于 2023-2-13 15:44
-> Kernel modules                                                                                 ...

感谢大神指导
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

 楼主| | 显示全部楼层
932279632 发表于 2023-2-13 13:51
你在哪编译的?不是自己添加功能的?

复制的别人的config文件,然后自己在LUCI里进行了修改。
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

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

本版积分规则

关闭

欢迎大家光临恩山无线论坛上一条 /1 下一条

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

GMT+8, 2024-4-28 18:31

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

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

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