[linux-am33x-headers] arch/arm/kernel/module.lds is missing

Problems with packages? Post here, using [tags] of the package name.

[linux-am33x-headers] arch/arm/kernel/module.lds is missing

Postby JackTheGrinningCat » Thu Dec 20, 2018 1:41 pm

Hi,

I wanted to build the driver for an rtl8811au usb driver that I successfully build on a BeagleBone Black with the debian image.

I tried it on build it on Arch Linux but the make failed due to following message
ld: cannot open linker script file ./arch/arm/kernel/module.lds

After checking many other options, I looked up debian image I found the modules.lds and created it in the folder and it worked.

It seems to be related to
https://bugzilla.redhat.com/show_bug.cgi?id=1531182
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=342246

I think I missed some steps in
1- https://wiki.archlinux.org/index.php/Compile_kernel_module
but as the modules.lds is part of the package source
2- https://mirrors.edge.kernel.org/pub/linux/kernel/v4.x/linux-4.19.tar.gz

I was wondering why the package linux-am33x-headers does not have it, even even when the source header has it.
I cannot wrap my head around what I missed, besides parts of Compile_kernel_module which I took for granted by the Makefile.

Well I hope that helps somehow, or if someone stumble over that problem. Just create the file in the folder. Even if the headers are getting reinstalled or explicit removed and installed again (if that makes a difference, it won't get lost. (I tried it)

Kind regards
JackTheGrinningCat
 
Posts: 1
Joined: Thu Dec 20, 2018 10:34 am

Return to Packages

Who is online

Users browsing this forum: Google [Bot] and 18 guests