Skip to content
This repository was archived by the owner on Aug 7, 2025. It is now read-only.
This repository was archived by the owner on Aug 7, 2025. It is now read-only.

Unable to compile external modules #1728

Description

@spokV

While building a patched module i'm receiving the following error:
$ make -C /lib/modules/uname -r/build M=$PWD
make: Entering directory '/usr/lib/modules/5.5.2-903.native/build'
CC [M] /home/user/Documents/surface_sam/surface_sam_ssh.o
as: unrecognized option '-mbranches-within-no-boundaries'
make[1]: *** [scripts/Makefile.build:266: /home/user/Documents/surface_sam/surface_sam_ssh.o] Error 1
make: *** [Makefile:1693: /home/user/Documents/surface_sam] Error 2
make: Leaving directory '/usr/lib/modules/5.5.2-903.native/build'

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions