lkml.org 
[lkml]   [2003]   [Apr]   [29]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
/
DateTue, 29 Apr 2003 12:54:20 +0100
FromJames Courtier-Dutton <>
SubjectRe: 2.4.21-rc1-ac3: unresolved symbol only with gcc-3.3
Nicholas Wourms wrote:

> Axel Siebenwirth wrote:
>
>> Hi,
>>
>> today I have successfully built 2.4.21-rc1-ac3 with gcc-3.2.3. 
>> Everything
>> was fine.
>> Then I built with gcc-3.3 and I encountered an error:
>>
>> net/network.o(.text+0xdcd7): In function `rtnetlink_rcv':
>> : undefined reference to `rtnetlink_rcv_skb'
>>
>> This build error only occurs with gcc-3.3.
>>
>> Can somebody who knows the kernel look whether the error is 
>> legitimate or gcc is making errors.
>
>
> I'm not sure if this is necessarily the right way, but changing the 
> declaration for rtnetlink_rcv_skb() in net/core/rtnetlink.c from 
> "extern" to "static" seems to have fixed the problem for me.  In any 
> case, I couldn't find any external references to that function, so it 
> seems to me that this is the way to go.
>
> Cheers,
> Nicholas
>
>
Please ignore my last email. I in fact did the same as Nicholas and it 
fixed it for me.
I also had a problem in the reiserfs module, with a kprintf statement 
format string spread over two lines. Removing what looked like a 
misplaced newline fixed it.

Cheers
James


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

\
 
 \ /
  Last update: 2005-03-22 13:35    [W:0.247 / U:0.230 seconds]
©2003-2008 Jasper Spaans