Navigation

    全志在线开发者论坛

    • Register
    • Login
    • Search
    • Categories
    • Tags
    • 在线文档
    • 社区主页
    1. Home
    2. zzidun
    Z
    • Profile
    • Following 0
    • Followers 0
    • my integral 105
    • Topics 1
    • Posts 1
    • Best 0
    • Groups 0

    zzidunLV 2

    @zzidun

    105
    integral
    0
    Reputation
    1
    Profile views
    1
    Posts
    0
    Followers
    0
    Following
    Joined Last Online

    zzidun Unfollow Follow

    Latest posts made by zzidun

    • livesuit编译awusb报错

      按照教程下载sunxi-livesuit,进入awusb执行make.
      报错如下

      make -C /lib/modules/5.13.0-27-generic/build SUBDIR=/home/zzidun/code/sunxi-livesuite/awusb modules
      make[1]: 进入目录“/usr/src/linux-headers-5.13.0-27-generic”
      make[2]: *** 没有规则可制作目标“arch/x86/entry/syscalls/syscall_32.tbl”,由“arch/x86/include/generated/uapi/asm/unistd_32.h” 需求。 停止。
      make[1]: *** [arch/x86/Makefile:231:archheaders] 错误 2
      make[1]: 离开目录“/usr/src/linux-headers-5.13.0-27-generic”
      make: *** [Makefile:6:all] 错误 2
      

      把Makefile里面的SUBDIR=改为M=就可以编译.

      但是加载模块会报modprobe: ERROR: could not insert 'awusb': Exec format error.

      全程都用的uname -r按道理不会这样.

      原本的subdir=是什么含义,我在这文档看只提到M=.

      系统是ubuntu20.04,内核是5.13.0-27.

      posted in 编译和烧写问题专区
      Z
      zzidun