Re: 3.0.3 net/ipv4/route.o compile error

Amon Ott <[email protected]>
Newsgroups gmane.linux.rsbac
Message-ID <[email protected]>
On Thursday 18 August 2011 wrote Gergely Lónyai:
>   CC      net/ipv4/route.o
>   CC [M]  drivers/i2c/busses/i2c-intel-mid.o
> net/ipv4/route.c:115:1: error: expected identifier or '(' before '<<'
> token
> net/ipv4/route.c: In function 'rt_garbage_collect':
> net/ipv4/route.c:903:16: error: 'ip_rt_max_size' undeclared (first use
> in this function)
> net/ipv4/route.c:903:16: note: each undeclared identifier is reported
> only once for each function it appears in
>   CC [M]  fs/reiserfs/namei.o
> net/ipv4/route.c: At top level:
> net/ipv4/route.c:3085:13: error: 'ip_rt_max_size' undeclared here (not
> in a function)
> net/ipv4/route.c: In function 'ip_rt_init':
> net/ipv4/route.c:3325:2: warning: statement with no effect
> [-Wunused-value]
> net/ipv4/route.c:3334:2: warning: passing argument 1 of 'xfrm4_init'
> makes integer from pointer without a cast [enabled by default]
> include/net/xfrm.h:1336:13: note: expected 'int' but argument is of type
> 'struct ctl_table *'
> make[2]: *** [net/ipv4/route.o] Error 1
> make[1]: *** [net/ipv4] Error 2
> make: *** [net] Error 2
> make: *** Waiting for unfinished jobs....

It compiles fine here and I cannot find any problem. I will recheck with a new 
clone from rsbac.org git.

Amon.
-- 
http://www.rsbac.org - GnuPG: 2048g/5DEAAA30 2002-10-22
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.