Skip to content

make error: Skipping BTF generation #54

@igroman787

Description

@igroman787

Preparation:

git clone --recursive https://github.com/WCHSoftGroup/ch343ser_linux
cd ch343ser_linux/driver && make

Problem:

make -C /lib/modules/5.15.0-131-generic/build  M=/home/user/Документы/git/ch343ser_linux/driver  
make[1]: Entering directory '/usr/src/linux-headers-5.15.0-131-generic'
  CC [M]  /home/user/Документы/git/ch343ser_linux/driver/ch343.o
  MODPOST /home/user/Документы/git/ch343ser_linux/driver/Module.symvers
  CC [M]  /home/user/Документы/git/ch343ser_linux/driver/ch343.mod.o
  LD [M]  /home/user/Документы/git/ch343ser_linux/driver/ch343.ko
  BTF [M] /home/user/Документы/git/ch343ser_linux/driver/ch343.ko
Skipping BTF generation for /home/user/Документы/git/ch343ser_linux/driver/ch343.ko due to unavailability of vmlinux
make[1]: Leaving directory '/usr/src/linux-headers-5.15.0-131-generic'

Proble screen:
Image

Solution:

sudo ln -s /sys/kernel/btf/vmlinux /usr/lib/modules/`uname -r`/build/vmlinux

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