netdev
[Top] [All Lists]

Re: link error building kernel with gcc-3.3

To: Alex Davis <alex14641@xxxxxxxxx>
Subject: Re: link error building kernel with gcc-3.3
From: James Morris <jmorris@xxxxxxxxxxxxxxxx>
Date: Thu, 15 May 2003 15:38:15 +1000 (EST)
Cc: linux-kernel@xxxxxxxxxxxxxxx, <netdev@xxxxxxxxxxx>
In-reply-to: <20030514202941.39519.qmail@xxxxxxxxxxxxxxxxxxxxxxx>
Sender: netdev-bounce@xxxxxxxxxxx
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
<jmorris@xxxxxxxxxxxxxxxx>


<Prev in Thread] Current Thread [Next in Thread>