Page 1 of 1

gradm compile error in lex

PostPosted: Mon Feb 27, 2006 9:45 am
by fonya
Hi!

I've got this, when I try to compile gradm /latest from download/:

Code: Select all
/usr/bin/gcc -O2 -DGRSEC_DIR=\"/etc/grsec\" -o gradm gradm.tab.o lex.gradm.o le
lex.fulllearn_pass1.o: In function _yy_dummy_uses_of_static_functions_b2f4_517d
lex.fulllearn_pass1.c:(.text+0xdb0): multiple definition of _yy_dummy_uses_of_s
lex.gradm.o:lex.gradm.c:(.text+0x570): first defined here
lex.fulllearn_pass2.o: In function _yy_dummy_uses_of_static_functions_b2f4_517d
lex.fulllearn_pass2.c:(.text+0xe00): multiple definition of _yy_dummy_uses_of_s
lex.gradm.o:lex.gradm.c:(.text+0x570): first defined here
lex.fulllearn_pass3.o: In function _yy_dummy_uses_of_static_functions_b2f4_517d
lex.fulllearn_pass3.c:(.text+0xe00): multiple definition of _yy_dummy_uses_of_s
lex.gradm.o:lex.gradm.c:(.text+0x570): first defined here
lex.learn_pass1.o: In function _yy_dummy_uses_of_static_functions_b2f4_517d_02f
lex.learn_pass1.c:(.text+0xe10): multiple definition of _yy_dummy_uses_of_stati
lex.gradm.o:lex.gradm.c:(.text+0x570): first defined here
lex.learn_pass2.o: In function _yy_dummy_uses_of_static_functions_b2f4_517d_02f
lex.learn_pass2.c:(.text+0xe10): multiple definition of _yy_dummy_uses_of_stati
lex.gradm.o:lex.gradm.c:(.text+0x570): first defined here
lex.grlearn_config.o: In function _yy_dummy_uses_of_static_functions_b2f4_517d_
lex.grlearn_config.c:(.text+0xca0): multiple definition of _yy_dummy_uses_of_st
lex.gradm.o:lex.gradm.c:(.text+0x570): first defined here
collect2: ld returned 1 exit status
make: *** [gradm] Error 1


Can I solve this somehow?
Thanks for Your work, and any help!

PostPosted: Mon Feb 27, 2006 6:43 pm
by spender
Just to make sure, does this happen with the latest gradm in ~spender, or on the main page?

-Brad

gradm compile error in lex

PostPosted: Mon Feb 27, 2006 7:05 pm
by fonya
Just to make sure, does this happen with the latest gradm in ~spender, or on the main page?


Both of them. I just downloaded gradm-2.1.9-200602141850.tar.gz, and it produce the same. I think this is my mistake, but I don't know what, or why?
:oops:

flex

PostPosted: Wed Mar 01, 2006 6:05 am
by fonya
Hi,

Sorry If I waste Your yime, the fault was in my flex install. I recompile/reinstall flex, and everything works fine again! :oops:

Tank You for Your work, Brad!