Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756939AbbDPLZt (ORCPT ); Thu, 16 Apr 2015 07:25:49 -0400 Received: from mail-oi0-f52.google.com ([209.85.218.52]:36292 "EHLO mail-oi0-f52.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753899AbbDPLZj convert rfc822-to-8bit (ORCPT ); Thu, 16 Apr 2015 07:25:39 -0400 MIME-Version: 1.0 In-Reply-To: <9BA84827B30CBE4996725F98F7DC912342962FC2@SMExchange01.siebmeyer.org> References: <9BA84827B30CBE4996725F98F7DC912342962FC2@SMExchange01.siebmeyer.org> From: Lucas De Marchi Date: Thu, 16 Apr 2015 08:25:18 -0300 Message-ID: Subject: Re: modules out of tree issue To: =?UTF-8?Q?H=C3=A4nel=2DBaas=2C_Alexander?= Cc: "linux-modules@vger.kernel.org" , lkml Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8BIT Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1128 Lines: 38 Hi, On Thu, Apr 16, 2015 at 6:41 AM, Hänel-Baas, Alexander 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@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/