OMNeT++/OMNEST Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0000712OMNeT++simulation kernelpublic2014-01-29 10:492014-01-29 13:48
Reporterandras 
Assigned Torhornig 
PrioritynormalSeverityminorReproducibilityhave not tried
StatusresolvedResolutionwon't fix 
PlatformOSOS Version
Product Version4.4 
Target VersionFixed in Version4.4 
Summary0000712: nedtool linker error: undefined reference to `ned1yylex_destroy()'
DescriptionFrom 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:

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

Neither configure or make display a related warning/error.

I have checked lex.ned1yy.cc 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 lex.ned1yy.cc

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!

--Daniel
TagsNo tags attached.
Attached Filestxt file icon diff_for_flex_verbose_output.txt [^] (364 bytes) 2014-01-29 10:52 [Show Content]
txt file icon diff_for_lexned1yycc.txt [^] (55,077 bytes) 2014-01-29 10:52 [Show Content]

- Relationships

-  Notes
(0000887)
rhornig (administrator)
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.

- Issue History
Date Modified Username Field Change
2014-01-29 10:49 andras New Issue
2014-01-29 10:52 andras File Added: diff_for_flex_verbose_output.txt
2014-01-29 10:52 andras File Added: diff_for_lexned1yycc.txt
2014-01-29 13:48 rhornig Note Added: 0000887
2014-01-29 13:48 rhornig Status new => resolved
2014-01-29 13:48 rhornig Fixed in Version => 4.4
2014-01-29 13:48 rhornig Resolution open => won't fix
2014-01-29 13:48 rhornig Assigned To => rhornig


Copyright © 2000 - 2019 MantisBT Team
Powered by Mantis Bugtracker