Giter VIP home page Giter VIP logo

build-actions's People

Contributors

281677160 avatar github-actions[bot] avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

build-actions's Issues

哪个插件和luci-app-easymesh冲突?

编译到快结束时出现错误,日志节录如下:
2021-10-10T11:44:56.4698520Z Configuring python3-unittest.
2021-10-10T11:44:56.4699283Z Configuring python3-ctypes.
2021-10-10T11:44:56.4700043Z Configuring python3-readline.
2021-10-10T11:44:56.5469575Z Collected errors:
2021-10-10T11:44:56.5470427Z Configuring libgdbm.
2021-10-10T11:44:56.5473755Z * check_conflicts_for: The following packages conflict with wpad-openssl:
2021-10-10T11:44:56.5474709Z Configuring python3-gdbm.
2021-10-10T11:44:56.5475275Z * check_conflicts_for: hostapd *
2021-10-10T11:44:56.5476128Z * opkg_install_cmd: Cannot install package luci-app-easymesh.
2021-10-10T11:44:56.5477375Z * check_conflicts_for: The following packages conflict with wpad-openssl:
2021-10-10T11:44:56.5478079Z * check_conflicts_for: hostapd *
2021-10-10T11:44:56.5478909Z * opkg_install_cmd: Cannot install package wpad-openssl.
2021-10-10T11:44:56.5479648Z make[2]: *** [package/Makefile:70: package/install] Error 255
2021-10-10T11:44:56.5480638Z Configuring python3-sqlite3.
ssh进去配置make menuconfig发现wpad-openssl是必选的,不知道谁选了以后必须依赖它。取消luci-app-easymesh后编译通过,说明确实是这个luci-app-easymesh导致的冲突。

请教如何解?

大佬,想替换掉插件版本如何操作

想编译openclash dev分支的版本,我svn co了分支的luci-app-openclash,然后再make menuconfig中就出现两个openclash,必须同时勾选或者同时取消。
求大佬指教!

有个问题请老大帮忙解惑。。。

手头有个小米路由mini,想利用起来,但是不知道为啥一直编译不出来固件,就加了几个插件,按说体积不该超出啊。我看恩山上有人发布的mini固件,添加的有十几个插件都没事。

老大闲暇之时能不能测试一下看看能不能编译的出来。
用LEDE源码,然后加这几个插件:DDNSTO、TTYD、VSSR、Turbo ACC,如果空间还够,就再加上UPnP和KMS。

感谢感谢!

请教一个小问题

现在想连接SSH进去配置固件就会停止编译,但停止编译后也会有一份配置文件,请问怎么能下载到这配置文件呢?

云编译一直没成功,最近资源被封的厉害,本地编译的几个注意点,像我这样的编译新手可能会踩的坑,供参考

  1. 建议用国外云服务器编译,本地就没尝试了,网络肯定是个大坑,有梯子也没用,网络不稳定就要老命;
  2. 编译对硬盘有要求就不说了,本库大佬的脚本有提示,但是对内存也有要求,最好大一点,可用内存至少 1GB 以上,不够的话就加 swapfile 虚拟内存吧,增加的步骤网上一查就有,编译到某个步骤不动,然后报错很多都是这个原因;
  3. cmake 最好自己提前编译好,当然 $ apt install cmake 也行,但是我编译了一个和大佬库里一模一样的版本,随便搜一下都是 cmake 编译教程,目前是 3.21.3,可能不一样也行,我是以防万一,太多次编译没成功,不想再尝试了;
  4. $ make menuconfig 对终端显示大小竟然有要求,这个有点坑,你把 ssh 终端拉大一点就好了,起码 19*81 大小,否则会出现打不开 menu 自动跳过 config 步骤这样奇怪的问题,你人走开的话可能根本发现不了,更奇怪的是,如果窗口不够大,有时候进去 menu 了,但是竟然无法回车进入 Target System 选目标芯片,下面的选项可以进入,这种问题也太奇怪了,一般人根本想不到是哪里出问题了。。。
  5. 你用 ssh 登陆远程服务器编译的话,你得一直连着 ssh,否则网络问题断开后编译就中断了(国外服务器容易出现 ssh 间歇性断开的问题),你可以下载大佬的 git.io/pile.sh 脚本后改一下,把其中 make -j$(nproc) V=s 2>&1 |tee build.log 改为 nohup sh -c 'make -j$(nproc) V=s 2>&1 >build.log & echo $! > compile.pid' > nohup_sh.out 这样你断开 ssh 也会一直编译了,如果你在 ssh 断网前还想看到输出,并且想让后面的编译成功信息打印出来,可以在上面这句后面加一句 tail -n 100 --pid $(cat compile.pid) -s 5 -f build.log,每 5 秒钟看一下日志并跟随输出。
    希望大家少走弯路,编译愉快!

lienol源码编译错误

请老大查看以下,编译无法成功
make[2]: *** [package/Makefile:70: package/install] Error 255
make[1]: *** [package/Makefile:111: /Lienol_source/openwrt/staging_dir/target-x86_64_musl/stamp/.package_install] Error 2
make: *** [/Lienol_source/openwrt/include/toplevel.mk:230: world] Error 2

本地编译有两个问题请教大佬。另外,今天几次编译都失败了,提示没有bin这个文件夹。。。

1、最近几天,编译过两次,顺利结束后,发现OP_DIY目录下多了个.config,之前自定义文件不是config吗?不带点的。这两个现在到底是哪个在起作用啊?
2、每次都会自动把luci-app-argon-config这个编译进去,即使不选择这个插件,编译完成也有这个插件。全部清空缓存重新再来也不行。神奇!

谢谢!

请教老大一个小米mini固件编译的问题

用的Lede_source源码,编译出来大概15m,刷新完固件,配置好上网环境,一切正常。但是只要一重启,所有配置就丢失了,这时查看软件包空闲空间,居然为0了,这到底是啥原因?

插件就添加了ttyd、ddnsto、VSSR和turboacc这四个。我看有些人发布的MINI固件添加十几个插件的都有,还有很多主题,也没这问题啊!

请教老大,这个是啥原因?有没有在添加上面几个插件的情况下减少固件体积的办法?

感谢!

脚本需要更新,报错luci-app-cupsd/Makefile&&luci-app-mosdns/Makefile

Collecting target info: doneWARNING: Makefile 'package/feeds/danshui/luci-app-cupsd/Makefile' has a dependency on 'luci-lib-ipkg', which does not exist WARNING: Makefile 'package/feeds/danshui/luci-app-mosdns/Makefile' has a dependency on 'mosdns_neo', which does not exist

目前只能这样 啦
sed -i 's/mosdns_neo/mosdns/g' ./package/feeds/danshui/luci-app-mosdns/Makefile
sudo rm -rf ./package/feeds/danshui/luci-app-cupsd
sudo rm -rf ./feeds/danshui/luci-app-cupsd

'udp2raw-tunnel', which does not exist

老哥,这几次编译都失败了,我没有选择luci-app-udp2raw也会报如下的错误,不知道怎么解决。麻烦了。
WARNING: Makefile 'package/feeds/luci/luci-app-udp2raw/Makefile' has a dependency on 'udp2raw-tunnel', which does not exist

Oscam编译出问题

最近一周三次编译,均在Oscam上出问题而失败,从前不曾遇到过。日志如下:请问是哪里可能有问题?
ERROR: package/feeds/danshui/openwrt_oscam failed to build.
..................................................................................................................................................
void add_emu_reader(void);
^~~~~~~~~~~~~~
.c:52:7: warning: redundant redeclaration of 'stop_stream_server' [-Wredundant-decls]
void stop_stream_server(void);
^~~~~oscam~~~~~~~~~~~~~
oscam.c:47:7: note: previous declaration of 'stop_stream_server' was here
void stop_stream_server(void);
^~~~~~~~~~~~~~~~~~
oscam.c: In function 'write_versionfile':
oscam.c:388:34: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'time_t' {aka 'long long int'} [-Wformat=]
fprintf(fp, "Unix starttime: %ld\n", walltime);
~~^ ~~~~~~~~
%lld
.........................................................................................................................................................
...........................................................................................................................................................
collect2: error: ld returned 1 exit status
make[5]: *** [Makefile:446: Distribution/oscam.debug] Error 1
make[4]: *** [Makefile:418: all] Error 2
make[3]: *** [Makefile:156: /Lede_source/openwrt/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/oscam-r11704_c5b2e65/.built] Error 2
make[4]: Leaving directory '/Lede_source/openwrt/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/oscam-r11704_c5b2e65'
make[3]: Leaving directory '/Lede_source/openwrt/feeds/danshui/openwrt_oscam'
time: package/feeds/danshui/openwrt_oscam/compile#49.65#3.75#49.04
ERROR: package/feeds/danshui/openwrt_oscam failed to build.
make[2]: *** [package/Makefile:116: package/feeds/danshui/openwrt_oscam/compile] Error 1
make[2]: Leaving directory '/Lede_source/openwrt'
make[1]: *** [package/Makefile:110: /Lede_source/openwrt/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/stamp/.package_compile] Error 2
make[1]: Leaving directory '/Lede_source/openwrt'
make: *** [/Lede_source/openwrt/include/toplevel.mk:230: world] Error 2
Error: Process completed with exit code 2.

触发compile启动编译出错

在触发compile启动编译这步出错
Run cd $GITHUB_WORKSPACE
cp: cannot create regular file '.github/workflows/build-openwrt.yml': No such file or directory
rm 'build/Lede_source/.config'
rm '.github/workflows/build-openwrt.yml'
rm '.github/workflows/compile.yml'
rm '.github/workflows/synchronization.yml'
Error: Process completed with exit code 1.

编译完成后找不到固件

总耗时12分57秒就编译完成了,但是只有一个config、可以下载,找不到固件在哪里下载呢?

请教大佬一个问题

QQ截图20210818160733
本地编译,想把上面红圈处改回默认名字,如何操作?

改密码改回管理权
终端改回TTYD终端

感谢!

想添加自己修改后的主题,但是会和原本feed里面的主题重名,要怎么操作?

大佬想请教一下,如果想添加自己修改后的主题,但是会和原本feed里面的主题重名,要怎么操作?
把原来neobird里跳转ssr的链接和图标都改成openclash了。
https://github.com/eightsheep67/luci-theme-neobird.git

还有我还发现,我最新编译的这一次,我勾选了neobird和rosy主题,也编译进去了软件包里看得到,但是在固件系统主题选项里没有,我只好删了手动安装ipk,才显示出来。这个是我哪里设置错了吗?

lienol源码编译luci-app-argon-config不可用

如题,lienol编译argon-config成功后不能使用。有没有可能是使用Lede 18.08LUCI。
...ib/lua/luci/model/cbi/argon-config/configuration.lua:3: module 'luci.model.ipkg' not found:
no field package.preload['luci.model.ipkg']
no file './luci/model/ipkg.lua'
no file '/usr/share/lua/luci/model/ipkg.lua'
no file '/usr/share/lua/luci/model/ipkg/init.lua'
no file '/usr/lib/lua/luci/model/ipkg.lua'
no file '/usr/lib/lua/luci/model/ipkg/init.lua'
no file './luci/model/ipkg.so'
no file '/usr/lib/lua/luci/model/ipkg.so'
no file '/usr/lib/lua/loadall.so'
no file './luci.so'
no file '/usr/lib/lua/luci.so'
no file '/usr/lib/lua/loadall.so'
stack traceback:
[C]: in function 'require'
...ib/lua/luci/model/cbi/argon-config/configuration.lua:3: in function 'func'
/usr/lib/lua/luci/cbi.lua:66: in function 'load'
/usr/lib/lua/luci/dispatcher.lua:1526: in function '_form'
/usr/lib/lua/luci/dispatcher.lua:1054: in function 'dispatch'
/usr/lib/lua/luci/dispatcher.lua:479: in function </usr/lib/lua/luci/dispatcher.lua:478>

有个疑惑?为什么 k2p 不管如何删减插件,固件大小总是超过 16MB?

我用的是 Lede源码。不管如何删减插件,只保留我必须的几个插件,都还是超过限制。我在其他仓库看到一个编译 k2p 的。他的插件比我选择的多,但是却只有 13MB。内核也是 5.4 。用的也是 Lede源码的 master 分支。是不是我哪里有问题呢?这是我的 config 文件:

CONFIG_TARGET_ramips=y
CONFIG_TARGET_ramips_mt7621=y
CONFIG_TARGET_ramips_mt7621_DEVICE_phicomm_k2p=y
CONFIG_PACKAGE_6in4=y
CONFIG_PACKAGE_6rd=y
CONFIG_PACKAGE_6to4=y
CONFIG_PACKAGE_adbyby=y
CONFIG_PACKAGE_dnsmasq_full_dhcpv6=y
CONFIG_PACKAGE_etherwake=y
CONFIG_PACKAGE_ip6tables=y
CONFIG_PACKAGE_ipv6helper=y
CONFIG_PACKAGE_kmod-ipt-nat6=y
CONFIG_PACKAGE_kmod-iptunnel=y
CONFIG_PACKAGE_kmod-iptunnel4=y
CONFIG_PACKAGE_kmod-nf-nat6=y
CONFIG_PACKAGE_kmod-sit=y
CONFIG_PACKAGE_libminiupnpc=y
CONFIG_PACKAGE_libnatpmp=y
CONFIG_PACKAGE_libstdcpp=y
# CONFIG_PACKAGE_luci-app-nlbwmon is not set
# CONFIG_PACKAGE_luci-app-ssr-plus_INCLUDE_ShadowsocksR_Libev_Client is not set
CONFIG_PACKAGE_luci-app-ssr-plus_INCLUDE_Xray=y
# CONFIG_PACKAGE_luci-app-ttyd is not set
# CONFIG_PACKAGE_luci-app-unblockmusic is not set
# CONFIG_PACKAGE_luci-app-vlmcsd is not set
# CONFIG_PACKAGE_luci-app-vsftpd is not set
CONFIG_PACKAGE_luci-app-watchcat=y
CONFIG_PACKAGE_luci-app-wolplus=y
CONFIG_PACKAGE_luci-app-zerotier=y
CONFIG_PACKAGE_luci-i18n-watchcat-zh-cn=y
CONFIG_PACKAGE_luci-i18n-wolplus-zh-cn=y
CONFIG_PACKAGE_luci-i18n-zerotier-zh-cn=y
CONFIG_PACKAGE_luci-proto-ipv6=y
CONFIG_PACKAGE_odhcp6c=y
CONFIG_PACKAGE_odhcp6c_ext_cer_id=0
CONFIG_PACKAGE_odhcpd-ipv6only=y
CONFIG_PACKAGE_odhcpd_ipv6only_ext_cer_id=0
CONFIG_PACKAGE_watchcat=y
CONFIG_PACKAGE_xray-core=y
CONFIG_PACKAGE_zerotier=y
CONFIG_PACKAGE_kmod-nf-conntrack-netlink=y
CONFIG_PACKAGE_libcap=y
# CONFIG_PACKAGE_libcap-bin is not set
CONFIG_PACKAGE_libwebsockets-full=y
CONFIG_PACKAGE_nlbwmon=y
CONFIG_PACKAGE_shadowsocksr-libev-ssr-local=y
CONFIG_PACKAGE_shadowsocksr-libev-ssr-redir=y
CONFIG_PACKAGE_ttyd=y
CONFIG_PACKAGE_vlmcsd=y
CONFIG_PACKAGE_vsftpd-alt=y
CONFIG_VSFTPD_USE_UCI_SCRIPTS=y

连续两天编译失败,麻烦请看一下是什么原因

make[3] -C target/linux compile
ERROR: target/linux failed to build.
make -r world: build failed. Please re-run make with -j1 V=s or V=sc for a higher verbosity level to see what's going on
make: *** [/Lede_source/openwrt/include/toplevel.mk:230: world] Error 1
make[1]: Entering directory '/Lede_source/openwrt'
make[2]: Entering directory '/Lede_source/openwrt'
make[3]: Entering directory '/Lede_source/openwrt/target/linux'
make[4]: Entering directory '/Lede_source/openwrt/target/linux/ramips'
rm -f /Lede_source/openwrt/build_dir/target-mipsel_24kc_musl/linux-ramips_mt7621/linux-5.4.187/localversion
/Lede_source/openwrt/scripts/kconfig.pl + /Lede_source/openwrt/target/linux/generic/config-5.4 /Lede_source/openwrt/target/linux/ramips/mt7621/config-5.4 > /Lede_source/openwrt/build_dir/target-mipsel_24kc_musl/linux-ramips_mt7621/linux-5.4.187/.config.target
awk '/^(#[[:space:]]+)?CONFIG_KERNEL/{sub("CONFIG_KERNEL_","CONFIG_");print}' /Lede_source/openwrt/.config >> /Lede_source/openwrt/build_dir/target-mipsel_24kc_musl/linux-ramips_mt7621/linux-5.4.187/.config.target
echo "# CONFIG_KALLSYMS_EXTRA_PASS is not set" >> /Lede_source/openwrt/build_dir/target-mipsel_24kc_musl/linux-ramips_mt7621/linux-5.4.187/.config.target
echo "# CONFIG_KALLSYMS_ALL is not set" >> /Lede_source/openwrt/build_dir/target-mipsel_24kc_musl/linux-ramips_mt7621/linux-5.4.187/.config.target
echo "CONFIG_KALLSYMS_UNCOMPRESSED=y" >> /Lede_source/openwrt/build_dir/target-mipsel_24kc_musl/linux-ramips_mt7621/linux-5.4.187/.config.target
/Lede_source/openwrt/scripts/package-metadata.pl kconfig /Lede_source/openwrt/tmp/.packageinfo /Lede_source/openwrt/.config 5.4 > /Lede_source/openwrt/build_dir/target-mipsel_24kc_musl/linux-ramips_mt7621/linux-5.4.187/.config.override
/Lede_source/openwrt/scripts/kconfig.pl 'm+' '+' /Lede_source/openwrt/build_dir/target-mipsel_24kc_musl/linux-ramips_mt7621/linux-5.4.187/.config.target /dev/null /Lede_source/openwrt/build_dir/target-mipsel_24kc_musl/linux-ramips_mt7621/linux-5.4.187/.config.override > /Lede_source/openwrt/build_dir/target-mipsel_24kc_musl/linux-ramips_mt7621/linux-5.4.187/.config.set
mv /Lede_source/openwrt/build_dir/target-mipsel_24kc_musl/linux-ramips_mt7621/linux-5.4.187/.config.set /Lede_source/openwrt/build_dir/target-mipsel_24kc_musl/linux-ramips_mt7621/linux-5.4.187/.config.old
grep -v INITRAMFS /Lede_source/openwrt/build_dir/target-mipsel_24kc_musl/linux-ramips_mt7621/linux-5.4.187/.config.old > /Lede_source/openwrt/build_dir/target-mipsel_24kc_musl/linux-ramips_mt7621/linux-5.4.187/.config.set
echo 'CONFIG_INITRAMFS_SOURCE=""' >> /Lede_source/openwrt/build_dir/target-mipsel_24kc_musl/linux-ramips_mt7621/linux-5.4.187/.config.set
echo '# CONFIG_INITRAMFS_FORCE is not set' >> /Lede_source/openwrt/build_dir/target-mipsel_24kc_musl/linux-ramips_mt7621/linux-5.4.187/.config.set
rm -rf /Lede_source/openwrt/build_dir/target-mipsel_24kc_musl/linux-ramips_mt7621/modules
cmp -s /Lede_source/openwrt/build_dir/target-mipsel_24kc_musl/linux-ramips_mt7621/linux-5.4.187/.config.set /Lede_source/openwrt/build_dir/target-mipsel_24kc_musl/linux-ramips_mt7621/linux-5.4.187/.config.prev || { cp /Lede_source/openwrt/build_dir/target-mipsel_24kc_musl/linux-ramips_mt7621/linux-5.4.187/.config.set /Lede_source/openwrt/build_dir/target-mipsel_24kc_musl/linux-ramips_mt7621/linux-5.4.187/.config; cp /Lede_source/openwrt/build_dir/target-mipsel_24kc_musl/linux-ramips_mt7621/linux-5.4.187/.config.set /Lede_source/openwrt/build_dir/target-mipsel_24kc_musl/linux-ramips_mt7621/linux-5.4.187/.config.prev; }
export MAKEFLAGS= ; [ -d /Lede_source/openwrt/build_dir/target-mipsel_24kc_musl/linux-ramips_mt7621/linux-5.4.187/user_headers ] || make -C /Lede_source/openwrt/build_dir/target-mipsel_24kc_musl/linux-ramips_mt7621/linux-5.4.187 KCFLAGS="-fmacro-prefix-map=/Lede_source/openwrt/build_dir/target-mipsel_24kc_musl=target-mipsel_24kc_musl" HOSTCFLAGS="-O2 -I/Lede_source/openwrt/staging_dir/host/include -Wall -Wmissing-prototypes -Wstrict-prototypes" CROSS_COMPILE="mipsel-openwrt-linux-musl-" ARCH="mips" KBUILD_HAVE_NLS=no KBUILD_BUILD_USER="" KBUILD_BUILD_HOST="" KBUILD_BUILD_TIMESTAMP="Wed Mar 30 10:22:37 2022" KBUILD_BUILD_VERSION="0" HOST_LOADLIBES="-L/Lede_source/openwrt/staging_dir/host/lib" KBUILD_HOSTLDLIBS="-L/Lede_source/openwrt/staging_dir/host/lib" CONFIG_SHELL="bash" V='' cmd_syscalls= KERNELRELEASE=5.4.187 CC="mipsel-openwrt-linux-musl-gcc" INSTALL_HDR_PATH=/Lede_source/openwrt/build_dir/target-mipsel_24kc_musl/linux-ramips_mt7621/linux-5.4.187/user_headers headers_install
grep '=[ym]' /Lede_source/openwrt/build_dir/target-mipsel_24kc_musl/linux-ramips_mt7621/linux-5.4.187/.config.set | LC_ALL=C sort | /Lede_source/openwrt/staging_dir/host/bin/mkhash md5 > /Lede_source/openwrt/build_dir/target-mipsel_24kc_musl/linux-ramips_mt7621/linux-5.4.187/.vermagic
touch /Lede_source/openwrt/build_dir/target-mipsel_24kc_musl/linux-ramips_mt7621/linux-5.4.187/.configured
rm -f /Lede_source/openwrt/build_dir/target-mipsel_24kc_musl/linux-ramips_mt7621/linux-5.4.187/vmlinux /Lede_source/openwrt/build_dir/target-mipsel_24kc_musl/linux-ramips_mt7621/linux-5.4.187/System.map
make -C /Lede_source/openwrt/build_dir/target-mipsel_24kc_musl/linux-ramips_mt7621/linux-5.4.187 KCFLAGS="-fmacro-prefix-map=/Lede_source/openwrt/build_dir/target-mipsel_24kc_musl=target-mipsel_24kc_musl" HOSTCFLAGS="-O2 -I/Lede_source/openwrt/staging_dir/host/include -Wall -Wmissing-prototypes -Wstrict-prototypes" CROSS_COMPILE="mipsel-openwrt-linux-musl-" ARCH="mips" KBUILD_HAVE_NLS=no KBUILD_BUILD_USER="" KBUILD_BUILD_HOST="" KBUILD_BUILD_TIMESTAMP="Wed Mar 30 10:22:37 2022" KBUILD_BUILD_VERSION="0" HOST_LOADLIBES="-L/Lede_source/openwrt/staging_dir/host/lib" KBUILD_HOSTLDLIBS="-L/Lede_source/openwrt/staging_dir/host/lib" CONFIG_SHELL="bash" V='' cmd_syscalls= KERNELRELEASE=5.4.187 CC="mipsel-openwrt-linux-musl-gcc" olddefconfig
make[5]: Entering directory '/Lede_source/openwrt/build_dir/target-mipsel_24kc_musl/linux-ramips_mt7621/linux-5.4.187'
scripts/kconfig/conf --olddefconfig Kconfig
net/sched/Kconfig:45: warning: menuconfig statement without prompt
net/Kconfig:478:warning: multi-line strings not supported

No change to .config

make[5]: Leaving directory '/Lede_source/openwrt/build_dir/target-mipsel_24kc_musl/linux-ramips_mt7621/linux-5.4.187'
make -C /Lede_source/openwrt/build_dir/target-mipsel_24kc_musl/linux-ramips_mt7621/linux-5.4.187 KCFLAGS="-fmacro-prefix-map=/Lede_source/openwrt/build_dir/target-mipsel_24kc_musl=target-mipsel_24kc_musl" HOSTCFLAGS="-O2 -I/Lede_source/openwrt/staging_dir/host/include -Wall -Wmissing-prototypes -Wstrict-prototypes" CROSS_COMPILE="mipsel-openwrt-linux-musl-" ARCH="mips" KBUILD_HAVE_NLS=no KBUILD_BUILD_USER="" KBUILD_BUILD_HOST="" KBUILD_BUILD_TIMESTAMP="Wed Mar 30 10:22:37 2022" KBUILD_BUILD_VERSION="0" HOST_LOADLIBES="-L/Lede_source/openwrt/staging_dir/host/lib" KBUILD_HOSTLDLIBS="-L/Lede_source/openwrt/staging_dir/host/lib" CONFIG_SHELL="bash" V='' cmd_syscalls= KERNELRELEASE=5.4.187 CC="mipsel-openwrt-linux-musl-gcc" vmlinux vmlinuz modules
make[5]: Entering directory '/Lede_source/openwrt/build_dir/target-mipsel_24kc_musl/linux-ramips_mt7621/linux-5.4.187'
CALL scripts/checksyscalls.sh
CALL scripts/atomic/check-atomics.sh
CHK include/generated/compile.h
CC drivers/net/ethernet/ralink/mtk_eth_soc.o
drivers/net/ethernet/ralink/mtk_eth_soc.c: In function 'fe_init':
drivers/net/ethernet/ralink/mtk_eth_soc.c:1405:13: error: too few arguments to function 'of_get_mac_address'
mac_addr = of_get_mac_address(priv->dev->of_node);
^~~~~~~~~~~~~~~~~~
In file included from drivers/net/ethernet/ralink/mtk_eth_soc.c:26:
./include/linux/of_net.h:14:12: note: declared here
extern int of_get_mac_address(struct device_node *np, u8 *mac);
^~~~~~~~~~~~~~~~~~
make[9]: *** [scripts/Makefile.build:262: drivers/net/ethernet/ralink/mtk_eth_soc.o] Error 1
make[8]: *** [scripts/Makefile.build:497: drivers/net/ethernet/ralink] Error 2
make[7]: *** [scripts/Makefile.build:497: drivers/net/ethernet] Error 2
make[6]: *** [scripts/Makefile.build:497: drivers/net] Error 2
make[5]: Leaving directory '/Lede_source/openwrt/build_dir/target-mipsel_24kc_musl/linux-ramips_mt7621/linux-5.4.187'
make[5]: *** [Makefile:1734: drivers] Error 2
make[4]: *** [Makefile:25: /Lede_source/openwrt/build_dir/target-mipsel_24kc_musl/linux-ramips_mt7621/linux-5.4.187/.modules] Error 2
make[4]: Leaving directory '/Lede_source/openwrt/target/linux/ramips'
make[3]: Leaving directory '/Lede_source/openwrt/target/linux'
time: target/linux/compile#5.39#1.81#6.84
make[3]: *** [Makefile:11: compile] Error 2
ERROR: target/linux failed to build.
make[2]: *** [target/Makefile:25: target/linux/compile] Error 1
make[2]: Leaving directory '/Lede_source/openwrt'
make[1]: *** [target/Makefile:18: /Lede_source/openwrt/staging_dir/target-mipsel_24kc_musl/stamp/.target_compile] Error 2
make[1]: Leaving directory '/Lede_source/openwrt'
make: *** [/Lede_source/openwrt/include/toplevel.mk:230: world] Error 2
Error: Process completed with exit code 2.

请教斐讯N1如何构建成完整的img文件

我用您的脚本编译N1的openwrt,得到两个文件openwrt-armvirt-64-Image和openwrt-armvirt-64-Image-initramfs,前者文件大小为8.73M,后者为356M(编译时去掉了一些包,所以比较小),都是没有后缀名的文件,不知道前者是不是boot分区引导文件,后者是openwrt的根分区文件,请教如何合成为一个完整的硬盘img文件,我之前编译x64版本都是得到一个完整的img文件,然后用写盘工具即可。

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.