* Re: [LARTC] problems with 2.4.28 + Julian's patch
2005-01-08 20:13 [LARTC] problems with 2.4.28 + Julian's patch Brad Barnett
@ 2005-01-08 20:47 ` Julian Anastasov
2005-02-09 10:13 ` fun
` (2 subsequent siblings)
3 siblings, 0 replies; 5+ messages in thread
From: Julian Anastasov @ 2005-01-08 20:47 UTC (permalink / raw)
To: lartc
Hello,
On Sat, 8 Jan 2005, Brad Barnett wrote:
> With 2.4.28 and Julian Anastasov's
>
> http://www.ssi.bg/~ja/routes-2.4.27-9.diff
>
> patch, I get the following when I attempt to build my kernel. Any ideas?
Can you try routes-2.4.28-9.diff, i just uploaded it
after removing __inline__.
> Thanks!
>
> gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=i686 -fno-unit-at-a-time -nostdinc -iwithprefix include -DKBUILD_BASENAME=fib_frontend -c -o fib_frontend.o fib_frontend.c
> fib_frontend.c: In function `fib_validate_source':
> /usr/src/linux/include/net/ip_fib.h:178: sorry, unimplemented: inlining failed in call to 'fib_result_table': function body not available
> fib_frontend.c:253: sorry, unimplemented: called from here
> /usr/src/linux/include/net/ip_fib.h:178: sorry, unimplemented: inlining failed in call to 'fib_result_table': function body not available
> fib_frontend.c:263: sorry, unimplemented: called from here
> make[3]: *** [fib_frontend.o] Error 1
> make[3]: Leaving directory `/usr/src/linux/net/ipv4'
> make[2]: *** [first_rule] Error 2
> make[2]: Leaving directory `/usr/src/linux/net/ipv4'
> make[1]: *** [_subdir_ipv4] Error 2
> make[1]: Leaving directory `/usr/src/linux/net'
> make: *** [_dir_net] Error 2
Regards
--
Julian Anastasov <ja@ssi.bg>
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
^ permalink raw reply [flat|nested] 5+ messages in thread* Re: [LARTC] problems with 2.4.28 + Julian's patch
2005-01-08 20:13 [LARTC] problems with 2.4.28 + Julian's patch Brad Barnett
2005-01-08 20:47 ` Julian Anastasov
@ 2005-02-09 10:13 ` fun
2005-02-09 10:39 ` Julian Anastasov
2005-02-09 12:39 ` fun
3 siblings, 0 replies; 5+ messages in thread
From: fun @ 2005-02-09 10:13 UTC (permalink / raw)
To: lartc
I am using kernel 2.6.9 (gentoo,AMD64 version) + routes-2.6.9-11.diff
If compile kernel with gcc 3.4.3, then the similar error comes out:
------------------
net/ipv4/fib_frontend.c: In function `fib_validate_source':
include/net/ip_fib.h:181: sorry, unimplemented: inlining failed in call to 'fib_result_table': function body not
available
net/ipv4/fib_frontend.c:204: sorry, unimplemented: called from here
include/net/ip_fib.h:181: sorry, unimplemented: inlining failed in call to 'fib_result_table': function body not
available
net/ipv4/fib_frontend.c:214: sorry, unimplemented: called from here
make[2]: *** [net/ipv4/fib_frontend.o] Error 1
make[1]: *** [net/ipv4] Error 2
make: *** [net] Error 2
-------------------
Anyway, it will be OK if use gcc 3.3.5 to compile. Can Julian check that? Thanks!
BR,
Dominic Lu
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [LARTC] problems with 2.4.28 + Julian's patch
2005-01-08 20:13 [LARTC] problems with 2.4.28 + Julian's patch Brad Barnett
2005-01-08 20:47 ` Julian Anastasov
2005-02-09 10:13 ` fun
@ 2005-02-09 10:39 ` Julian Anastasov
2005-02-09 12:39 ` fun
3 siblings, 0 replies; 5+ messages in thread
From: Julian Anastasov @ 2005-02-09 10:39 UTC (permalink / raw)
To: lartc
Hello,
On Wed, 9 Feb 2005, fun wrote:
> I am using kernel 2.6.9 (gentoo,AMD64 version) + routes-2.6.9-11.diff
> If compile kernel with gcc 3.4.3, then the similar error comes out:
>
> ------------------
> net/ipv4/fib_frontend.c: In function `fib_validate_source':
> include/net/ip_fib.h:181: sorry, unimplemented: inlining failed in call to 'fib_result_table': function body not
> available
> net/ipv4/fib_frontend.c:204: sorry, unimplemented: called from here
> include/net/ip_fib.h:181: sorry, unimplemented: inlining failed in call to 'fib_result_table': function body not
> available
> net/ipv4/fib_frontend.c:214: sorry, unimplemented: called from here
> make[2]: *** [net/ipv4/fib_frontend.o] Error 1
> make[1]: *** [net/ipv4] Error 2
> make: *** [net] Error 2
> -------------------
>
> Anyway, it will be OK if use gcc 3.3.5 to compile. Can Julian check that? Thanks!
It should be fixed month ago but you need routes-2.6.10-12.diff.
Another option is to remove the fib_result_table "__inline__" from
include/net/ip_fib.h
> BR,
> Dominic Lu
Regards
--
Julian Anastasov <ja@ssi.bg>
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [LARTC] problems with 2.4.28 + Julian's patch
2005-01-08 20:13 [LARTC] problems with 2.4.28 + Julian's patch Brad Barnett
` (2 preceding siblings ...)
2005-02-09 10:39 ` Julian Anastasov
@ 2005-02-09 12:39 ` fun
3 siblings, 0 replies; 5+ messages in thread
From: fun @ 2005-02-09 12:39 UTC (permalink / raw)
To: lartc
Thanks Julian!
The kernel build is OK after the fib_result_table "__inline__" is removed.
BR, Dominic Lu
> > Anyway, it will be OK if use gcc 3.3.5 to compile. Can Julian check that? Thanks!
>
> It should be fixed month ago but you need routes-2.6.10-12.diff.
> Another option is to remove the fib_result_table "__inline__" from
> include/net/ip_fib.h
>
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
^ permalink raw reply [flat|nested] 5+ messages in thread