Skip to content

How to install the kernel headers properly from source? #1

@EdXian

Description

@EdXian

Hi @ant9000 ,
Nice to meet you! I am trying to install kernel source into a roadrunner. The follows are my steps:

  1. using scp to copy deploy/roadrunner/root/linux-headers-5.15.111_5.15.112-1_armhf.deb to the roadrunner.
  2. sudo dpkg -i linux-headers-5.15.111_5.15.111-1_armhf.deb
  3. Trying to build kernel module with a basic example. (The example is built okay with cross-compile toolchain)
  4. Finally,I got the error returned by the roadrunner:
    Screenshot from 2023-05-30 11-56-34
    Any idea ?

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