Subject: gcc confused about static inline. - route.c

From: cliff white <[email-masked]>
Date: Mon, 28 Mar 2005 13:23:14 -0800

Building the gkernel bits, have this error:

net/ipv4/route.c: In function `rt_remove_balanced_route':
net/ipv4/route.c:151: sorry, unimplemented: inlining failed in call to 'compare_keys': function body not available
net/ipv4/route.c:540: sorry, unimplemented: called from here

route.c has this define at line 151
:
static inline int compare_keys(struct flowi *fl1, struct flowi *fl2);

function body is defined starting at line 861. 

We are using gcc 3.4.2 right now, is there a way to fix this?
thanks
cliffw

-- 
"Ive always gone through periods where I bolt upright at four in the morning; 
now at least theres a reason." -Michael Feldman