FFG_SK 发表于 2022-7-5 11:34:09

SFT1200编译frp软件包问题

我参考了官方教程进行frp-0.39.1的软件包编译。
前面几步都没有报错,直到这一步,显示缺少这几个依赖::
$ make package/frp-0.39.1/compile V=s

报错为:
WARNING: Makefile 'package/linux/Makefile' has a dependency on 'kmod-phy-bcm-ns-usb2', which does not exist
WARNING: Makefile 'package/linux/Makefile' has a dependency on 'kmod-phy-bcm-ns-usb3', which does not exist
tmp/.config-package.in:36:warning: ignoring type redefinition of 'PACKAGE_libc' from 'boolean' to 'tristate'
tmp/.config-package.in:64:warning: ignoring type redefinition of 'PACKAGE_libgcc' from 'boolean' to 'tristate'
tmp/.config-package.in:149:warning: ignoring type redefinition of 'PACKAGE_libpthread' from 'boolean' to 'tristate'
tmp/.config-package.in:290:warning: ignoring type redefinition of 'PACKAGE_ubus' from 'boolean' to 'tristate'
tmp/.config-package.in:305:warning: ignoring type redefinition of 'PACKAGE_ubusd' from 'boolean' to 'tristate'
tmp/.config-package.in:319:warning: ignoring type redefinition of 'PACKAGE_uci' from 'boolean' to 'tristate'
tmp/.config-package.in:1539:warning: ignoring type redefinition of 'PACKAGE_libopenssl' from 'boolean' to 'tristate'
tmp/.config-package.in:1707:warning: ignoring type redefinition of 'PACKAGE_libblobmsg-json' from 'boolean' to 'tristate'
tmp/.config-package.in:1761:warning: ignoring type redefinition of 'PACKAGE_libjson-c' from 'boolean' to 'tristate'
tmp/.config-package.in:1817:warning: ignoring type redefinition of 'PACKAGE_libnl-tiny' from 'boolean' to 'tristate'
tmp/.config-package.in:1847:warning: ignoring type redefinition of 'PACKAGE_libubox' from 'boolean' to 'tristate'
tmp/.config-package.in:1873:warning: ignoring type redefinition of 'PACKAGE_libubus' from 'boolean' to 'tristate'
tmp/.config-package.in:1900:warning: ignoring type redefinition of 'PACKAGE_libuci' from 'boolean' to 'tristate'
tmp/.config-package.in:1953:warning: ignoring type redefinition of 'PACKAGE_zlib' from 'boolean' to 'tristate'
tmp/.config-package.in:2009:warning: ignoring type redefinition of 'PACKAGE_jshn' from 'boolean' to 'tristate'
tmp/.config-package.in:2080:warning: ignoring type redefinition of 'PACKAGE_libjson-script' from 'boolean' to 'tristate'
#
# configuration written to .config
#
make: Entering directory '/home/a001/sdk/sdk/1806/siflower'
make: *** No rule to make target 'package/frp-0.39.1/compile'.Stop.
make: Leaving directory '/home/a001/sdk/sdk/1806/siflower'
/home/a001/sdk/sdk/1806/siflower/include/toplevel.mk:209: recipe for target 'package/frp-0.39.1/compile' failed
make: *** Error 2但是我按照教程执行命令,却无法安装这2个依赖:
./scripts/feeds update -f
./scripts/feeds install kmod-phy-bcm-ns-usb2
报错为:
WARNING: Makefile 'package/linux/Makefile' has a dependency on 'kmod-phy-bcm-ns-usb2', which does not exist
WARNING: Makefile 'package/linux/Makefile' has a dependency on 'kmod-phy-bcm-ns-usb3', which does not exist
WARNING: No feed for package 'kmod-phy-bcm-ns-usb2' found

./scripts/feeds install kmod-phy-bcm-ns-usb3
报错为:
WARNING: Makefile 'package/linux/Makefile' has a dependency on 'kmod-phy-bcm-ns-usb2', which does not exist
WARNING: Makefile 'package/linux/Makefile' has a dependency on 'kmod-phy-bcm-ns-usb3', which does not exist
WARNING: No feed for package 'kmod-phy-bcm-ns-usb3' found


请问大家,如何能继续编译?
或者有没有现成能用的frpc-0.39.1.ipk?


官方教程:https://github.com/gl-inet/sdk
frp-0.39.1源码:https://github.com/fatedier/frp/archive/refs/tags/v0.39.1.tar.gz

萝卜大侠 发表于 2022-7-6 15:54:40

WARNING: Makefile 'package/linux/Makefile' has a dependency on 'kmod-phy-bcm-ns-usb2', which does not exist
WARNING: Makefile 'package/linux/Makefile' has a dependency on 'kmod-phy-bcm-ns-usb3', which does not exist
WARNING: No feed for package 'kmod-phy-bcm-ns-usb2' found

看这个报错是没有这俩个内核模块的源码呢,一般缺少内核模块就无解了,即使最后编译出来了也会无法安装

FFG_SK 发表于 2022-7-7 08:57:22

萝卜大侠 发表于 2022-7-6 15:54
看这个报错是没有这俩个内核模块的源码呢,一般缺少内核模块就无解了,即使最后编译出来了也会无法安装 ...

我试试别的方法,感谢:lol

sic 发表于 2022-7-29 22:31:07

我直接用二进制版文件

萝卜大侠 发表于 2022-7-29 22:42:53

试试我今天发的新方法,利用Github action编译看看

yuanttx 发表于 2022-8-15 20:33:55

sic 发表于 2022-7-29 22:31
我直接用二进制版文件

大佬,二进制文件你还有吗?

sic 发表于 2022-8-16 00:23:23

yuanttx 发表于 2022-8-15 20:33
大佬,二进制文件你还有吗?

我上github下载的,实在下载不了我再传附件吧

yuanttx 发表于 2022-8-16 14:34:27

sic 发表于 2022-8-16 00:23
我上github下载的,实在下载不了我再传附件吧

可以了,感谢

睡得很晚 发表于 2022-8-30 00:55:42

问题解决了吗?能否发给弄好的ipk

zhouhaixin798 发表于 2022-9-6 16:47:14

我有包啊;直接跟我要。你回个话就有。

睡得很晚 发表于 2022-9-8 22:16:29

zhouhaixin798 发表于 2022-9-6 16:47
我有包啊;直接跟我要。你回个话就有。

:handshake

cxbismel 发表于 2022-9-19 12:16:06

二进制文件怎么弄

nihaolai 发表于 2023-1-14 08:21:14

页: [1]
查看完整版本: SFT1200编译frp软件包问题