[grsec] gradm2 Compiling errors on Woody/2.4.28

onyx onyx at sniper.hu
Tue Nov 23 10:07:10 EST 2004


Hi!

I have the same problem. I corrected the ';' error, but gradm still
doesn't compile:

[...]
/usr/bin/bison -y -b learn_pass1 -p learn_pass1 -d ./gradm_learn_pass1.y
/usr/bin/gcc -O2 -DGRSEC_DIR=\"/etc/grsec\" -DKERNVER=`uname -r | cut
-d"." -f 2`   -c -o learn_pass1.tab.o learn_pass1.tab.c
In file included from /usr/include/linux/fs.h:12,
                 from /usr/include/linux/capability.h:17,
                 from gradm.h:29,
                 from ./gradm_learn_pass1.y:2:
/usr/include/linux/wait.h:4: warning: `WNOHANG' redefined
/usr/include/bits/waitflags.h:26: warning: this is the location of the
previous definition
/usr/include/linux/wait.h:5: warning: `WUNTRACED' redefined
/usr/include/bits/waitflags.h:27: warning: this is the location of the
previous definition
/usr/bin/bison -y -b learn_pass2 -p learn_pass2 -d ./gradm_learn_pass2.y
/usr/bin/gcc -O2 -DGRSEC_DIR=\"/etc/grsec\" -DKERNVER=`uname -r | cut
-d"." -f 2`   -c -o learn_pass2.tab.o learn_pass2.tab.c
In file included from /usr/include/linux/fs.h:12,
                 from /usr/include/linux/capability.h:17,
                 from gradm.h:29,
                 from ./gradm_learn_pass2.y:2:
/usr/include/linux/wait.h:4: warning: `WNOHANG' redefined
/usr/include/bits/waitflags.h:26: warning: this is the location of the
previous definition
/usr/include/linux/wait.h:5: warning: `WUNTRACED' redefined
/usr/include/bits/waitflags.h:27: warning: this is the location of the
previous definition
/usr/bin/bison -y -b fulllearn_pass1 -p fulllearn_pass1
-d ./gradm_fulllearn_pass1.y
./gradm_fulllearn_pass1.y:24: type clash (`' `notype') on default action
make: *** [fulllearn_pass1.tab.c] Error 1

The system is the same, as described in the first mail:
woody with 2.4.28 with grsec-2.0.2.

PS: I downloaded the fixed gradm package from the website, but it's the
same.
Thanks in advance,

Balint

On Tue, 2004-11-23 at 08:03 -0500, spender at grsecurity.net wrote:
> > /usr/bin/bison -y -b learn_pass1 -p learn_pass1 -d ./gradm_learn_pass1.y
> > ./gradm_learn_pass1.y:18: `;' is invalid in %token
> > ./gradm_learn_pass1.y:18:    Skipping to next %
> > make: *** [learn_pass1.tab.c] Error 1
> >
> > I am running Debian Woody Stable with kernel 2.4.28 +
> > grsecurity-2.0.2-2.4.28.patch.gz
> >
> > Previous version 2.0.1 of gradm2 still compiles without troubles.
> 
> since it's just a compile error (remove the ; on that line) with bison,
> I've fixed it in the gradm 2.0.2 package on the website.
> 
> -Brad
> _______________________________________________
> grsecurity mailing list
> grsecurity at grsecurity.net
> http://grsecurity.net/cgi-bin/mailman/listinfo/grsecurity
> 
> 
> 
> 
> 



More information about the grsecurity mailing list