Re: modules out of tree issue
From: Lucas De Marchi <hidden>
Date: 2015-04-16 11:25:49
Also in:
lkml
From: Lucas De Marchi <hidden>
Date: 2015-04-16 11:25:49
Also in:
lkml
Hi, On Thu, Apr 16, 2015 at 6:41 AM, H=C3=A4nel-Baas, Alexander [off-list ref] wrote:
Hi, I cross compile my own kernelmodule out of tree. Now I changed the kernel to 3.18.1 and when I compile my own module I get=
the error:
-ld: no input files
could you share your makefile? otherwise it's difficult to say what's happe= ning.
The first call is the ld and not the compiler. This is the problem. With kernel 3.14 and older always compiled good. Is there any changes in the kernel makefile to build the kernel out of tr=
ee? Not that I'm aware of. I compile out-of-tree modules just fine. See https://git.kernel.org/cgit/utils/kernel/kmod/kmod.git/tree/testsuite/modul= e-playground/Makefile for an example.
Any ideas? I'm not sure is this the right group, sorry.
You probably should CC lkml as well. Doing it now. --=20 Lucas De Marchi