gradm compile error in lex

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

gradm compile error in lex

Postby fonya » Mon Feb 27, 2006 9:45 am

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!
fonya
 
Posts: 36
Joined: Thu Mar 28, 2002 11:22 am

Postby spender » Mon Feb 27, 2006 6:43 pm

Just to make sure, does this happen with the latest gradm in ~spender, or on the main page?

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

gradm compile error in lex

Postby fonya » Mon Feb 27, 2006 7:05 pm

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:
fonya
 
Posts: 36
Joined: Thu Mar 28, 2002 11:22 am

flex

Postby fonya » Wed Mar 01, 2006 6:05 am

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!
fonya
 
Posts: 36
Joined: Thu Mar 28, 2002 11:22 am


Return to grsecurity support