forum.gl-inet.cn

 找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索
热搜: 活动 交友 discuz
    查看: 1546|回复: 12

    [编译问题] SFT1200编译frp软件包问题

    [复制链接]

    1

    主题

    2

    帖子

    35

    积分

    新手上路

    Rank: 1

    积分
    35
    发表于 2022-7-5 11:34:09 | 显示全部楼层 |阅读模式
    我参考了官方教程进行frp-0.39.1的软件包编译。
    前面几步都没有报错,直到这一步,显示缺少这几个依赖::
    1. $ make package/frp-0.39.1/compile V=s
    复制代码

    1. 报错为:
    2. WARNING: Makefile 'package/linux/Makefile' has a dependency on 'kmod-phy-bcm-ns-usb2', which does not exist
    3. WARNING: Makefile 'package/linux/Makefile' has a dependency on 'kmod-phy-bcm-ns-usb3', which does not exist
    4. tmp/.config-package.in:36:warning: ignoring type redefinition of 'PACKAGE_libc' from 'boolean' to 'tristate'
    5. tmp/.config-package.in:64:warning: ignoring type redefinition of 'PACKAGE_libgcc' from 'boolean' to 'tristate'
    6. tmp/.config-package.in:149:warning: ignoring type redefinition of 'PACKAGE_libpthread' from 'boolean' to 'tristate'
    7. tmp/.config-package.in:290:warning: ignoring type redefinition of 'PACKAGE_ubus' from 'boolean' to 'tristate'
    8. tmp/.config-package.in:305:warning: ignoring type redefinition of 'PACKAGE_ubusd' from 'boolean' to 'tristate'
    9. tmp/.config-package.in:319:warning: ignoring type redefinition of 'PACKAGE_uci' from 'boolean' to 'tristate'
    10. tmp/.config-package.in:1539:warning: ignoring type redefinition of 'PACKAGE_libopenssl' from 'boolean' to 'tristate'
    11. tmp/.config-package.in:1707:warning: ignoring type redefinition of 'PACKAGE_libblobmsg-json' from 'boolean' to 'tristate'
    12. tmp/.config-package.in:1761:warning: ignoring type redefinition of 'PACKAGE_libjson-c' from 'boolean' to 'tristate'
    13. tmp/.config-package.in:1817:warning: ignoring type redefinition of 'PACKAGE_libnl-tiny' from 'boolean' to 'tristate'
    14. tmp/.config-package.in:1847:warning: ignoring type redefinition of 'PACKAGE_libubox' from 'boolean' to 'tristate'
    15. tmp/.config-package.in:1873:warning: ignoring type redefinition of 'PACKAGE_libubus' from 'boolean' to 'tristate'
    16. tmp/.config-package.in:1900:warning: ignoring type redefinition of 'PACKAGE_libuci' from 'boolean' to 'tristate'
    17. tmp/.config-package.in:1953:warning: ignoring type redefinition of 'PACKAGE_zlib' from 'boolean' to 'tristate'
    18. tmp/.config-package.in:2009:warning: ignoring type redefinition of 'PACKAGE_jshn' from 'boolean' to 'tristate'
    19. tmp/.config-package.in:2080:warning: ignoring type redefinition of 'PACKAGE_libjson-script' from 'boolean' to 'tristate'
    20. #
    21. # configuration written to .config
    22. #
    23. make[1]: Entering directory '/home/a001/sdk/sdk/1806/siflower'
    24. make[1]: *** No rule to make target 'package/frp-0.39.1/compile'.  Stop.
    25. make[1]: Leaving directory '/home/a001/sdk/sdk/1806/siflower'
    26. /home/a001/sdk/sdk/1806/siflower/include/toplevel.mk:209: recipe for target 'package/frp-0.39.1/compile' failed
    27. make: *** [package/frp-0.39.1/compile] Error 2
    复制代码
    但是我按照教程执行命令,却无法安装这2个依赖:
    1. ./scripts/feeds update -f
    复制代码
    1. ./scripts/feeds install kmod-phy-bcm-ns-usb2
    2. 报错为:
    3. WARNING: Makefile 'package/linux/Makefile' has a dependency on 'kmod-phy-bcm-ns-usb2', which does not exist
    4. WARNING: Makefile 'package/linux/Makefile' has a dependency on 'kmod-phy-bcm-ns-usb3', which does not exist
    5. WARNING: No feed for package 'kmod-phy-bcm-ns-usb2' found
    复制代码
    1. ./scripts/feeds install kmod-phy-bcm-ns-usb3
    2. 报错为:
    3. WARNING: Makefile 'package/linux/Makefile' has a dependency on 'kmod-phy-bcm-ns-usb2', which does not exist
    4. WARNING: Makefile 'package/linux/Makefile' has a dependency on 'kmod-phy-bcm-ns-usb3', which does not exist
    5. 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

    回复

    使用道具 举报

    76

    主题

    2144

    帖子

    9642

    积分

    管理员

    Rank: 9Rank: 9Rank: 9

    积分
    9642

    官方人员

    发表于 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


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

    使用道具 举报

    1

    主题

    2

    帖子

    35

    积分

    新手上路

    Rank: 1

    积分
    35
     楼主| 发表于 2022-7-7 08:57:22 | 显示全部楼层
    萝卜大侠 发表于 2022-7-6 15:54
    看这个报错是没有这俩个内核模块的源码呢,一般缺少内核模块就无解了,即使最后编译出来了也会无法安装 ...

    我试试别的方法,感谢
    回复

    使用道具 举报

    4

    主题

    34

    帖子

    884

    积分

    高级会员

    Rank: 4

    积分
    884
    发表于 2022-7-29 22:31:07 | 显示全部楼层
    我直接用二进制版文件
    回复

    使用道具 举报

    76

    主题

    2144

    帖子

    9642

    积分

    管理员

    Rank: 9Rank: 9Rank: 9

    积分
    9642

    官方人员

    发表于 2022-7-29 22:42:53 | 显示全部楼层
    试试我今天发的新方法,利用Github action编译看看
    回复

    使用道具 举报

    0

    主题

    2

    帖子

    40

    积分

    新手上路

    Rank: 1

    积分
    40
    发表于 2022-8-15 20:33:55 | 显示全部楼层
    sic 发表于 2022-7-29 22:31
    我直接用二进制版文件

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

    使用道具 举报

    4

    主题

    34

    帖子

    884

    积分

    高级会员

    Rank: 4

    积分
    884
    发表于 2022-8-16 00:23:23 | 显示全部楼层
    yuanttx 发表于 2022-8-15 20:33
    大佬,二进制文件你还有吗?

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

    使用道具 举报

    0

    主题

    2

    帖子

    40

    积分

    新手上路

    Rank: 1

    积分
    40
    发表于 2022-8-16 14:34:27 | 显示全部楼层
    sic 发表于 2022-8-16 00:23
    我上github下载的,实在下载不了我再传附件吧

    可以了,感谢
    回复

    使用道具 举报

    0

    主题

    3

    帖子

    42

    积分

    新手上路

    Rank: 1

    积分
    42
    发表于 2022-8-30 00:55:42 | 显示全部楼层
    问题解决了吗?能否发给弄好的ipk
    回复

    使用道具 举报

    9

    主题

    41

    帖子

    193

    积分

    注册会员

    Rank: 2

    积分
    193
    发表于 2022-9-6 16:47:14 来自手机 | 显示全部楼层
    我有包啊;直接跟我要。你回个话就有。
    回复

    使用道具 举报

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

    本版积分规则

    Archiver|手机版|小黑屋|gl-inet.cn ( 粤ICP备18130956号 )

    GMT+8, 2024-5-8 08:03 , Processed in 0.024085 second(s), 25 queries .

    Powered by Discuz! X3.4

    Copyright © 2001-2021, Tencent Cloud.

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