Page 1 of 1

compile gradm

PostPosted: Sun Aug 25, 2002 10:19 pm
by bethgocs
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

PostPosted: Sun Aug 25, 2002 10:28 pm
by bethgocs
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

PostPosted: Sun Aug 25, 2002 10:32 pm
by spender
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

PostPosted: Sun Aug 25, 2002 10:35 pm
by bethgocs
many thanks

oliver