konsul wrote:hello. i try to make gradm 1.4 on debian woody3.0 and got the following errors:
--
joker:~/gradm# make
/usr/bin/gcc -static -O2 -c -o y.tab.o y.tab.c
btyaccpa.ske:96: parse error before `yylval'
btyaccpa.ske:96: warning: data definition has no type or storage class
btyaccpa.ske:100: parse error before `yyretlval'
btyaccpa.ske:100: warning: data definition has no type or storage class
btyaccpa.ske:111: parse error before `yyparsestate'
btyaccpa.ske:111: warning: no semicolon at end of struct or union
btyaccpa.ske:115: parse error before `*'
btyaccpa.ske:115: warning: data definition has no type or storage class
btyaccpa.ske:117: parse error before `val'
btyaccpa.ske:117: warning: data definition has no type or storage class
btyaccpa.ske:120: parse error before `*'
btyaccpa.ske:120: warning: data definition has no type or storage class
btyaccpa.ske:125: parse error before `}'
btyaccpa.ske:128: parse error before `*'
------
and more more more. lex/flex and yacc installed. can anyone help to solve this trouble?
Hi Konsul,
I was just some secs before saying "typical woody"
... I don't like woody. I've heard so many problems of any kind which I've never experienced with SID
root@codeman:[/tmp/gradm] # grep -r "1.4" *
gradm_defs.h:#define GR_VERSION "1.4"
root@codeman:[/tmp/gradm] # make
/usr/bin/gcc -static -O2 -c -o y.tab.o y.tab.c
/usr/bin/gcc -static -O2 -c -o lex.yy.o lex.yy.c
/usr/bin/gcc -static -O2 -c -o gradm_misc.o gradm_misc.c
/usr/bin/gcc -static -O2 -c -o gradm_parse.o gradm_parse.c
/usr/bin/gcc -static -O2 -c -o gradm_arg.o gradm_arg.c
/usr/bin/gcc -static -O2 -c -o gradm_pw.o gradm_pw.c
/usr/bin/gcc -static -O2 -c -o gradm_opt.o gradm_opt.c
/usr/bin/gcc -static -O2 -c -o gradm_cap.o gradm_cap.c
/usr/bin/gcc -static -O2 -c -o gradm_hash.o gradm_hash.c
/usr/bin/gcc -static -O2 -c -o gradm_adm.o gradm_adm.c
/usr/bin/gcc -static -O2 -c -o gradm_analyze.o gradm_analyze.c
/usr/bin/gcc -static -O2 -c -o gradm_res.o gradm_res.c
/usr/bin/gcc -static -O2 -o gradm y.tab.o lex.yy.o gradm_misc.o gradm_parse.o gradm_arg.o gradm_pw.o gradm_opt.o gradm_cap.o gradm_hash.o gradm_adm.o gradm_analyze.o gradm_res.o -lfl
root@codeman:[/tmp/gradm] # ./gradm
gradm 1.4
grsecurity administration program
.........
root@codeman:[/tmp/gradm] # ls -lsa gradm
476 -rwxr-xr-x 1 root root 485292 Sep 19 21:23 gradm
... works. gradm 1.4 downloaded some secs ago cause I use newest 1.5-rc4 thingies.
what is the "btyaccpa.ske" thing?!?! Maybe your version is messed up?
Check the md5sum you can find on grsecurity.net download page against your downloaded package.
Also, just thinking about, maybe some "strange" locales?
try export LC_ALL="C" ... sometimes it helps. I've seen REALLY strange compile errors with anything else than C as locale
ciao, Marc