compile gradm

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

compile gradm

Postby bethgocs » Sun Aug 25, 2002 10:19 pm

hello

i´m trying to compile gradm (gradm-1.5-rc1) and get the following error.

chaos:/usr/src/gradm-1.5 # make
/usr/bin/flex: Can't use -f or -F with -l option

i´m using suse linux 7.3 with kernel 2.4.19.

do you have any ideas?

thx

oliver
bethgocs
 
Posts: 3
Joined: Sun Aug 25, 2002 10:08 pm

Postby bethgocs » Sun Aug 25, 2002 10:28 pm

sorry forgot one line.

chaos:/usr/src/gradm-1.5 # make
/usr/bin/flex: Can't use -f or -F with -l option
make: *** [lex.gradm.c] Error 1

I´m using flex-2.5.4-410
bethgocs
 
Posts: 3
Joined: Sun Aug 25, 2002 10:08 pm

Postby spender » Sun Aug 25, 2002 10:32 pm

remove the -f option from the Makefile. It's used in the two places where lex is used. For some reason you've got a wacky distribution of lex that automatically enables -l. I've yet to find an option that will un-enable that, so I will just remove -f from the final version.

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

Postby bethgocs » Sun Aug 25, 2002 10:35 pm

many thanks

oliver
bethgocs
 
Posts: 3
Joined: Sun Aug 25, 2002 10:08 pm


Return to grsecurity support

cron