Gradm fails to compile...

Discuss usability issues, general maintenance, and general support issues for a grsecurity-enabled system.

Gradm fails to compile...

Postby Gege » Sat Jul 24, 2004 4:46 pm

Hello!

I would like to try out grsecurity, but I have issues compiling gradm. Both with 1.9.12 and 1.9.14. Anyway here's the log my package manager made. I use sourcemage linux(it is a source distro)...

I would appretiate any help according to this problem...

Code: Select all
Computing previously installed dependencies...
Preparing environment for gradm 
Collating dependencies...
Spells are to be cast:
---------------------------
gradm

Do you want to cast these spells? [y] 
]0;Casting spell [gradm]
Waiting for any Solo casts to complete...
Waiting for any other casts of gradm to complete... done.
Building gradm 
Unpacking source file gradm-1.9.12.tar.gz for spell gradm.
Using gcc version: 3.3.3
Installing in dir: /usr/src/gradm
gradm    1.9.12
patching file Makefile
make[1]: Entering directory `/usr/src/gradm'
/usr/bin/bison -y -b gradm -p gradm -d ./gradm.y
/usr/bin/gcc -O2 -DGRSEC_DIR=\"/etc/grsec\"   -c -o gradm.tab.o gradm.tab.c
/usr/bin/flex -B -Pgradm ./gradm.l
/usr/bin/gcc -O2 -DGRSEC_DIR=\"/etc/grsec\"   -c -o lex.gradm.o lex.gradm.c
/usr/bin/bison -y -b learn -p learn -d ./gradm_learner.y
/usr/bin/gcc -O2 -DGRSEC_DIR=\"/etc/grsec\"   -c -o learn.tab.o learn.tab.c
/usr/bin/flex -B -Plearn ./gradm_learner.l
/usr/bin/gcc -O2 -DGRSEC_DIR=\"/etc/grsec\"   -c -o lex.learn.o lex.learn.c
/usr/bin/gcc -O2 -DGRSEC_DIR=\"/etc/grsec\"   -c -o gradm_misc.o gradm_misc.c
/usr/bin/gcc -O2 -DGRSEC_DIR=\"/etc/grsec\"   -c -o gradm_parse.o gradm_parse.c
/usr/bin/gcc -O2 -DGRSEC_DIR=\"/etc/grsec\"   -c -o gradm_arg.o gradm_arg.c
/usr/bin/gcc -O2 -DGRSEC_DIR=\"/etc/grsec\"   -c -o gradm_pw.o gradm_pw.c
/usr/bin/gcc -O2 -DGRSEC_DIR=\"/etc/grsec\"   -c -o gradm_opt.o gradm_opt.c
/usr/bin/gcc -O2 -DGRSEC_DIR=\"/etc/grsec\"   -c -o gradm_cap.o gradm_cap.c
/usr/bin/gcc -O2 -DGRSEC_DIR=\"/etc/grsec\"   -c -o gradm_sha256.o gradm_sha256.c
/usr/bin/gcc -O2 -DGRSEC_DIR=\"/etc/grsec\"   -c -o gradm_adm.o gradm_adm.c
gradm_adm.c: In function `is_valid_elf_binary':
gradm_adm.c:6: error: storage size of `header_elf' isn't known
make[1]: *** [gradm_adm.o] Error 1
make[1]: Leaving directory `/usr/src/gradm'
 ! Problem Detected ! 
Creating compile log /var/log/sorcery/compile/gradm-1.9.12.bz2 
View Compile log for gradm-1.9.12? [n] 


Spells that encountered problems:
---------------------------------
gradm
]0;Casting failed.



Gege
Gege
 
Posts: 2
Joined: Sat Jul 24, 2004 4:42 pm

Postby spender » Sat Jul 24, 2004 7:45 pm

This has been resolved for some time in current CVS.

-Brad
spender
 
Posts: 2185
Joined: Wed Feb 20, 2002 8:00 pm

Postby Gege » Sun Jul 25, 2004 4:36 am

okay, thank you :)
Gege
 
Posts: 2
Joined: Sat Jul 24, 2004 4:42 pm


Return to grsecurity support