[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#194196: Can't compile kernel 2.4.20



I have experienced this as well. It appears to be because, on line 397
of net/core/rtnetlink.c, rtnetlink_rcv_skb() is flagged as 'extern'. An
analysis of the offending object file with 'nm' shows that symbol as
unresolved (type U). Apparently GCC 3.3 obeys the 'extern' keyword now
even if the function is defined there (apparently why it never popped up
till now). I replaced that 'extern' with a 'static' (I believe that,
based on other neighboring functions, that's what was originally
intended), and the kernel linked fine.

Also, there are some multiline string constants in some other modules
(I encountered them in net/ipv4/netfilter/ip_nat_core.c and
drivers/scsi/aic7xxx/aic7xxx_osm.c) that caused the compiler to throw
errors about no terminating " character.

-- 
Derrik Pates
dpates@dsdk12.net
dpates@voxel.net



Reply to: