Skip to content

linux-zen 6.12.4 编译失败 #50

@taotieren

Description

@taotieren
❯ cat /var/lib/dkms/ch343ser/44.6255aaa/build/make.log
DKMS make.log for ch343ser/44.6255aaa for kernel 6.12.4-zen1-1-zen (x86_64)
2024年 12月 10日 星期二 18:17:27 CST
make -C /lib/modules/6.12.4-zen1-1-zen/build M=/var/lib/dkms/ch343ser/44.6255aaa/build modules
make[1]: 进入目录“/usr/lib/modules/6.12.4-zen1-1-zen/build”
CC [M]  /var/lib/dkms/ch343ser/44.6255aaa/build/ch343.o
/var/lib/dkms/ch343ser/44.6255aaa/build/ch343.c:55:10: 致命错误:asm/unaligned.h:没有那个文件或目录
55 | #include <asm/unaligned.h>
|          ^~~~~~~~~~~~~~~~~
编译中断。
make[3]: *** [scripts/Makefile.build:229:/var/lib/dkms/ch343ser/44.6255aaa/build/ch343.o] 错误 1
make[2]: *** [/usr/lib/modules/6.12.4-zen1-1-zen/build/Makefile:1934:/var/lib/dkms/ch343ser/44.6255aaa/build] 错误 2
make[1]: *** [Makefile:224:__sub-make] 错误 2
make[1]: 离开目录“/usr/lib/modules/6.12.4-zen1-1-zen/build”
make: *** [Makefile:9:default] 错误 2

❯ yay -Qo /usr/include/asm/byteorder.h
/usr/include/asm/byteorder.h 由 linux-api-headers 6.10-1 所拥有

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions