OMNeT++/OMNEST Bug Tracker - OMNeT++
View Issue Details
0000712OMNeT++simulation kernelpublic2014-01-29 10:492014-01-29 13:48
normalminorhave not tried
resolvedwon't fix 
0000712: nedtool linker error: undefined reference to `ned1yylex_destroy()'
From Daniel Pfefferkorn [[email protected]], 1/23/2014:

I have compiled the version 4.4 on a i686 machine without problems.
On our x86_64 machine however I do get the following error message:

executable: /opt/omnetpp/omnetpp-4.4/x86_64/out/gcc-release/src/nedxml/nedtool
/opt/omnetpp/omnetpp-4.4/x86_64/lib/gcc/ undefined reference to `ned1yylex_destroy()'
/opt/omnetpp/omnetpp-4.4/x86_64/lib/gcc/ undefined reference to `msg2yylex_destroy()'
/opt/omnetpp/omnetpp-4.4/x86_64/lib/gcc/ undefined reference to `ned2yylex_destroy()'

Neither configure or make display a related warning/error.

I have checked but the method really does not exist. So I checked the flex versions:
i686 (working): lex 2.5.35
x86_64 (!working): lex 2.5.4

Please find attached diffs for verbose output of flex itself (flex -v) and the generated files

Additional system information:

uname -r: 2.6.32-5-686-bigmem vs. 2.6.32-5-amd64
gcc -v : gcc version 4.4.5 (Debian 4.4.5-8)

Can you confirm the problem?

Thank you guys!

No tags attached.
txt diff_for_flex_verbose_output.txt (364) 2014-01-29 10:52
txt diff_for_lexned1yycc.txt (55,077) 2014-01-29 10:52
Issue History
2014-01-29 10:49andrasNew Issue
2014-01-29 10:52andrasFile Added: diff_for_flex_verbose_output.txt
2014-01-29 10:52andrasFile Added: diff_for_lexned1yycc.txt
2014-01-29 13:48rhornigNote Added: 0000887
2014-01-29 13:48rhornigStatusnew => resolved
2014-01-29 13:48rhornigFixed in Version => 4.4
2014-01-29 13:48rhornigResolutionopen => won't fix
2014-01-29 13:48rhornigAssigned To => rhornig

2014-01-29 13:48   
lex 2.5.4 was released in 1997 ! You need to update the system (or flex) to be able to compile omnet.