281677160 / build-actions Goto Github PK
View Code? Open in Web Editor NEW超简单的在线编译OpenWrt固件
License: GNU General Public License v3.0
超简单的在线编译OpenWrt固件
License: GNU General Public License v3.0
编译到快结束时出现错误,日志节录如下:
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导致的冲突。
如题,使用lede源码,启动openwrt时不显示代码是否跑完,直接黑屏,请问老大如何解决,谢谢
想编译openclash dev分支的版本,我svn co了分支的luci-app-openclash,然后再make menuconfig中就出现两个openclash,必须同时勾选或者同时取消。
求大佬指教!
请教老大,本地Ubuntu一键编译脚本说明里:
问:“请在/OP_DIY/xxx_source里面设置好自定义文件”是什么意思?
答:OP_DIY文件跟openwrt文件是同一个目录里面。
WinSCP进去OpenWrt下好像没找到OP_DIY这个目录呢?
手头有个小米路由mini,想利用起来,但是不知道为啥一直编译不出来固件,就加了几个插件,按说体积不该超出啊。我看恩山上有人发布的mini固件,添加的有十几个插件都没事。
老大闲暇之时能不能测试一下看看能不能编译的出来。
用LEDE源码,然后加这几个插件:DDNSTO、TTYD、VSSR、Turbo ACC,如果空间还够,就再加上UPnP和KMS。
感谢感谢!
如果是做主路由用,后台地址设置为192.168.2.1,再注释掉网关地址,状态页面显示可以正常
现在想连接SSH进去配置固件就会停止编译,但停止编译后也会有一份配置文件,请问怎么能下载到这配置文件呢?
您好,今天拉取最新代码,又云编译失败了,谢谢
1GB
以上,不够的话就加 swapfile
虚拟内存吧,增加的步骤网上一查就有,编译到某个步骤不动,然后报错很多都是这个原因;cmake
最好自己提前编译好,当然 $ apt install cmake
也行,但是我编译了一个和大佬库里一模一样的版本,随便搜一下都是 cmake
编译教程,目前是 3.21.3
,可能不一样也行,我是以防万一,太多次编译没成功,不想再尝试了;$ make menuconfig
对终端显示大小竟然有要求,这个有点坑,你把 ssh
终端拉大一点就好了,起码 19*81
大小,否则会出现打不开 menu
自动跳过 config
步骤这样奇怪的问题,你人走开的话可能根本发现不了,更奇怪的是,如果窗口不够大,有时候进去 menu
了,但是竟然无法回车进入 Target System
选目标芯片,下面的选项可以进入,这种问题也太奇怪了,一般人根本想不到是哪里出问题了。。。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
秒钟看一下日志并跟随输出。请老大查看以下,编译无法成功
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
1、最近几天,编译过两次,顺利结束后,发现OP_DIY目录下多了个.config,之前自定义文件不是config吗?不带点的。这两个现在到底是哪个在起作用啊?
2、每次都会自动把luci-app-argon-config这个编译进去,即使不选择这个插件,编译完成也有这个插件。全部清空缓存重新再来也不行。神奇!
谢谢!
用的Lede_source源码,编译出来大概15m,刷新完固件,配置好上网环境,一切正常。但是只要一重启,所有配置就丢失了,这时查看软件包空闲空间,居然为0了,这到底是啥原因?
插件就添加了ttyd、ddnsto、VSSR和turboacc这四个。我看有些人发布的MINI固件添加十几个插件的都有,还有很多主题,也没这问题啊!
请教老大,这个是啥原因?有没有在添加上面几个插件的情况下减少固件体积的办法?
感谢!
lean源码是否包含mosdns的package,如果有,请删除并替换这边的版本,
https://github.com/coolsnowwolf/packages/tree/master/net/mosdns
和你库里的有冲突,现在要删除lean库里带的mosdns只用你库里的该怎么弄。
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
老哥,这几次编译都失败了,我没有选择luci-app-udp2raw也会报如下的错误,不知道怎么解决。麻烦了。
WARNING: Makefile 'package/feeds/luci/luci-app-udp2raw/Makefile' has a dependency on 'udp2raw-tunnel', which does not exist
最近一周三次编译,均在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.
luci-app-store无法更新提示更新,但是点击升级后并不生效。
在触发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、可以下载,找不到固件在哪里下载呢?
问一下,ssh之后怎么提取.config。用其他网站制作的config配置,编译完之后多吃来几个插件
大佬想请教一下,如果想添加自己修改后的主题,但是会和原本feed里面的主题重名,要怎么操作?
把原来neobird里跳转ssr的链接和图标都改成openclash了。
https://github.com/eightsheep67/luci-theme-neobird.git
还有我还发现,我最新编译的这一次,我勾选了neobird和rosy主题,也编译进去了软件包里看得到,但是在固件系统主题选项里没有,我只好删了手动安装ipk,才显示出来。这个是我哪里设置错了吗?
sed -i "s/OpenWrt /${Author} compiled in $(TZ=UTC-8 date "+%Y.%m.%d") @ OpenWrt /g" $ZZZ_PATH
这条命令对lede源不起作用,望修改。
如题,可以配置一下自己要的插件,谢谢!!
如题,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>
建议编译时加上 luci-ssl-openssl libuhttpd-openssl ,便于开启uhttpd的SSL
我用的是 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
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.
编译时看日志到上传.config配置失败,另外开启微信通知也会报错
编译的时候删除默认密码该怎么写?我试了几个都不行,L大的源码。(一个web的密码password,另一个putty那个web页面的密码)
麻烦指点一下,多谢。
https://github.com/Tao173/Actions-OpenWrt-Node/blob/main/diy-part2.sh
我用您的脚本编译N1的openwrt,得到两个文件openwrt-armvirt-64-Image和openwrt-armvirt-64-Image-initramfs,前者文件大小为8.73M,后者为356M(编译时去掉了一些包,所以比较小),都是没有后缀名的文件,不知道前者是不是boot分区引导文件,后者是openwrt的根分区文件,请教如何合成为一个完整的硬盘img文件,我之前编译x64版本都是得到一个完整的img文件,然后用写盘工具即可。
RT
你好,我想编译时间加入vmdk格式的固件,问一下需要改哪个脚本。
本人小白,全靠大神的教程一步一步编译的。
勿笑,老年人,没办法
编译的是Lienol的源码,运行一会就停止,也就是您页面说的问题,ssh不开直接编译也同样,不知怎么解决了
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.