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:
> > -------- Original Message --------
> > Subject: Re: [rsbac] 3.0.3 net/ipv4/route.o compile error
> > From: Amon Ott <[email protected]>
> > Date: Thu, August 18, 2011 1:20 pm
> > To: RSBAC Discussion and Announcements <[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.
>
> Sorry. The above mail is fake. I attached the vanilla config.
>
> I attached the .config to x86_64
> The vanilla kernel is compiling fine.

Just compiles fine here, but I currently have no x86_64 system. Can you please 
recheck your git? You might need to git pull from rsbac.org with --rebase.

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.