problems with 2.4.28 + Julian's patch
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?
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.cfib_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
_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
Hello,
Quoted 5 lines · Brad Barnett
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__.
Quoted 15 lines
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.cfib_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 <[email protected]>
_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
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 availablenet/ipv4/fib_frontend.c:204: sorry, unimplemented: called from hereinclude/net/ip_fib.h:181: sorry, unimplemented: inlining failed in call to 'fib_result_table': function body not availablenet/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 / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
Hello,
Quoted 16 lines · fun
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 availablenet/ipv4/fib_frontend.c:204: sorry, unimplemented: called from hereinclude/net/ip_fib.h:181: sorry, unimplemented: inlining failed in call to 'fib_result_table': function body not availablenet/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
-------------------
Quoted 1 line
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
Quoted 2 lines
BR,
Dominic Lu
Regards
--
Julian Anastasov <[email protected]>
_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
Thanks Julian!
The kernel build is OK after the fib_result_table "__inline__" is removed.
BR, Dominic Lu
Quoted 6 lines
Quoted 1 line
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 thefib_result_table"__inline__" frominclude/net/ip_fib.h
_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/