• Register
    • Login
    • Search
    • Categories
    • Popular
    • Recent
    • Tags
    • 关于
    • 捐赠

    make hybris-hal 时出现错误

    移植
    2
    6
    188
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • Z
      zhangke200377 last edited by

      各位好,编译hybris-hal 时出现了以下问题:

      net/Kconfig:78: can't open file "net/wireguard/Kconfig"
      make[2]: *** [/home/zhangke200377/hadk/kernel/wingtech/msm8916/scripts/kconfig/Makefile:105:lineageos_wt88047_defconfig] 错误 1
      make[1]: *** [/home/zhangke200377/hadk/kernel/wingtech/msm8916/Makefile:507:lineageos_wt88047_defconfig] 错误 2
      make: *** [Makefile:130: sub-make] Error 2
      make: Leaving directory '/home/zhangke200377/hadk/kernel/wingtech/msm8916'
      ninja: build stopped: subcommand failed.
      make: *** [build/core/ninja.mk:152: ninja_wrapper] Error 1
      

      进入 ~/hadk/kernel/wingtech/msm8916/net 发现的确没有wireguard 文件夹,尝试再次repo sync后还是没有出现该文件夹。想请教一下我应该去哪里找这个文件,或者直接注释掉报错的行数会不会出现什么问题。

      (第一次玩这个,就想尝试一下,以前没有编译android的经验,还请见谅。想编译的系统是最新的那个,但是好像还没到那步就卡住了呢。。。。。。)

      1 Reply Last reply Reply Quote 0
      • Z
        zhangke200377 last edited by

        用的这个仓库:https://github.com/sailfishos-wt88047/
        作者说不再维护了,好像支持的版本也停留在了3.0.0.8。
        我寻思要是自己编译一个出来好像也很不错,然后就尝试了一下。。。。。。。

        1 Reply Last reply Reply Quote 0
        • BirdZhang
          BirdZhang 船长 last edited by

          @zhangke200377 在 make hybris-hal 时出现错误 中说:

          net/wireguard/Kconfig

          https://github.com/sailfishos-wt88047/android_kernel_wingtech_msm8916/commit/40259322cb57b1016147fdf05e122f85e16b3f55

          scripts/fetch-latest-wireguard.sh 这个会下载最新的,建议下载完把这个脚本改一下不让它每次下载

          欢迎来 https://t.me/jollacn 讨论

          0 zx2c4 committed to sailfishos-wt88047/android_kernel_wingtech_msm8916
          net/wireguard: add wireguard importer
          
          Signed-off-by: Jason A. Donenfeld <[email protected]>
          Signed-off-by: YudiWidiyanto <[email protected]>

          ———扬帆起航🚢

          1 Reply Last reply Reply Quote 0
          • Z
            zhangke200377 last edited by

            啊啊啊啊啊啊,这么多年过去了,python3已经成熟得很了,为什么buildtool还是要python2啊。。。。。。。。其他想要编译的小伙伴用Ubuntu的一定要装python2和python-is-python2这两个包

            Z 1 Reply Last reply Reply Quote 0
            • Z
              zhangke200377 @zhangke200377 last edited by

              @zhangke200377 要不然整个编译过程会折磨死你

              Z 1 Reply Last reply Reply Quote 0
              • Z
                zhangke200377 @zhangke200377 last edited by zhangke200377

                @zhangke200377 还有,上面鸟张大大提到的wireguard那个仓库已经archive并改名了,大家可以在那个文件里所提到的网页的tag目录( https://git.zx2c4.com/wireguard-monolithic-historical/refs/tags )中下载到需要的版本自己解压到脚本所需要的文件夹里(我的是内核目录下net/wireguard文件夹),然后根据脚本自行创建所需要的文件。

                1 Reply Last reply Reply Quote 0
                • 1 / 1
                • First post
                  Last post
                Copyright © 2017-2021 旗鱼俱乐部 旗鱼系统交流论坛
                🐟🐠🐡论坛客户端下载🐟🐠🐡
                友情链接 SailfishOS.org | Jolla | 官方论坛 | 第三方商店 | BirdZhang的博客
                除非另有声明,本网站采用知识共享“署名 4.0 中国大陆”许可协议授权。
                根据相关法律法规,本站不对欧盟用户提供服务。
                Powered by NodeBB