From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from pasmtpA.tele.dk (pasmtpa.tele.dk [80.160.77.114]) by ozlabs.org (Postfix) with ESMTP id 8BA95DDE0D for ; Tue, 6 May 2008 06:44:15 +1000 (EST) Date: Mon, 5 May 2008 22:44:49 +0200 From: Sam Ravnborg To: Kumar Gala Subject: Re: How to link a .o with all modules Message-ID: <20080505204449.GA9446@uranus.ravnborg.org> References: <6C8AB345-2DA0-460D-B7C8-262463247DDE@kernel.crashing.org> <20080504192434.GA23752@uranus.ravnborg.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii In-Reply-To: Cc: "linuxppc-dev@ozlabs.org list" , lkml List List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , > > > > > >Let me know if this does address your question. > > The problem is MODPOST complains about undefined symbols: > > MODPOST 24 modules > ERROR: "_restgpr_20_x" [net/key/af_key.ko] undefined! > ERROR: "_restgpr_25_x" [net/key/af_key.ko] undefined! > ERROR: "_restgpr_30_x" [net/key/af_key.ko] undefined! I need a bit more context to try to analyse this. Where did you expect _restgpr_20_x to be defined. If in vmlinux then were they present in the Module.symvers file? If in the linked in .o file - could you see the symbols using objdump. etc. Sorry - not much help right away. PS. Travelling - do not expect responses until the weekend. Sam From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757723AbYEEUo0 (ORCPT ); Mon, 5 May 2008 16:44:26 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1753792AbYEEUoP (ORCPT ); Mon, 5 May 2008 16:44:15 -0400 Received: from pasmtpa.tele.dk ([80.160.77.114]:57223 "EHLO pasmtpA.tele.dk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753516AbYEEUoP (ORCPT ); Mon, 5 May 2008 16:44:15 -0400 Date: Mon, 5 May 2008 22:44:49 +0200 From: Sam Ravnborg To: Kumar Gala Cc: lkml List , "linuxppc-dev@ozlabs.org list" Subject: Re: How to link a .o with all modules Message-ID: <20080505204449.GA9446@uranus.ravnborg.org> References: <6C8AB345-2DA0-460D-B7C8-262463247DDE@kernel.crashing.org> <20080504192434.GA23752@uranus.ravnborg.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.1i Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org > > > > > >Let me know if this does address your question. > > The problem is MODPOST complains about undefined symbols: > > MODPOST 24 modules > ERROR: "_restgpr_20_x" [net/key/af_key.ko] undefined! > ERROR: "_restgpr_25_x" [net/key/af_key.ko] undefined! > ERROR: "_restgpr_30_x" [net/key/af_key.ko] undefined! I need a bit more context to try to analyse this. Where did you expect _restgpr_20_x to be defined. If in vmlinux then were they present in the Module.symvers file? If in the linked in .o file - could you see the symbols using objdump. etc. Sorry - not much help right away. PS. Travelling - do not expect responses until the weekend. Sam