Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S263578AbTEOFZg (ORCPT ); Thu, 15 May 2003 01:25:36 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S263837AbTEOFZg (ORCPT ); Thu, 15 May 2003 01:25:36 -0400 Received: from blackbird.intercode.com.au ([203.32.101.10]:48656 "EHLO blackbird.intercode.com.au") by vger.kernel.org with ESMTP id S263578AbTEOFZf (ORCPT ); Thu, 15 May 2003 01:25:35 -0400 Date: Thu, 15 May 2003 15:38:15 +1000 (EST) From: James Morris To: Alex Davis cc: linux-kernel@vger.kernel.org, Subject: Re: link error building kernel with gcc-3.3 In-Reply-To: <20030514202941.39519.qmail@web40503.mail.yahoo.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 810 Lines: 28 On Wed, 14 May 2003, Alex Davis wrote: > I got the following linking 2.4.21rc1: > > net/network.o(.text+0xdcb7): In function `rtnetlink_rcv': > : undefined reference to `rtnetlink_rcv_skb' > make: *** [vmlinux] Error 1 > > Removing '__inline__' from the definition of rtnetlink_rcv_skb > in net/core/rtnetlink.c fixed the problem. > > Note: this error also occurs in 2.4.21rc2-ac2 I wonder, does this mean that the compiler failed to inline the function? Removing __inline__ is not the correct solution. - James -- James Morris - 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/