Re: modules out of tree issue

From: Lucas De Marchi
Date: Thu Apr 16 2015 - 07:25:55 EST


Hi,

On Thu, Apr 16, 2015 at 6:41 AM, HÃnel-Baas, Alexander
<alexander.haenel-baas@xxxxxxxxxxxxx> 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 happening.


> 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 tree?

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/module-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.


--
Lucas De Marchi
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/