[rsbac] 3.0.3 net/ipv4/route.o compile error

Gergely Lónyai aleph at mandriva.org
Tue Aug 23 22:55:41 CEST 2011


> -------- Original Message --------
> Subject: Re: [rsbac] 3.0.3 net/ipv4/route.o compile error
> From: Amon Ott <ao at rsbac.org>
> Date: Tue, August 23, 2011 12:34 pm
> To: RSBAC Discussion and Announcements <rsbac at rsbac.org>
> 
> 
> 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 <ao at rsbac.org>
> > > Date: Thu, August 18, 2011 1:20 pm
> > > To: RSBAC Discussion and Announcements <rsbac at rsbac.org>
> > >
> > > 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.

I can't understand. I changed the network config, and I tried and... It
compile fine.
http://svn.mandriva.com/cgi-bin/viewvc.cgi/packages/cooker/kernel-rsbac/current/PATCHES/configs/x86_64.config?r1=694646&r2=696292
I submit the new kernel-3.0.3 to Mandriva repos.

Aleph



More information about the rsbac mailing list