OMNeT++/OMNEST Bug Tracker - OMNeT++
View Issue Details
0000679OMNeT++Installer / Productizingpublic2013-10-13 00:022013-10-17 17:21
david_costa 
rhornig 
normalmajoralways
resolvedfixed 
4.3 
5.0b1 
0000679: Build broken on Linux
The file src/common/matchexpression.tab.cc gives error while compiling reporting "statePtr undeclared" and "yyparse: too few arguments".

The problem lies in matchexpression.y: bison must be informed to add statePtr as a parameter.

Patch attached.
Compiled OMNeT++ 4.3.1 using:
bison 3.0
gcc 4.8.1 20130725 (prerelease)
No tags attached.
patch add-stateptr.patch (1,660) 2013-10-13 00:02
https://dev.omnetpp.org/bugs/file_download.php?file_id=113&type=bug
Issue History
2013-10-13 00:02david_costaNew Issue
2013-10-13 00:02david_costaFile Added: add-stateptr.patch
2013-10-17 17:21rhornigNote Added: 0000818
2013-10-17 17:21rhornigStatusnew => resolved
2013-10-17 17:21rhornigFixed in Version => 5.0b1
2013-10-17 17:21rhornigResolutionopen => fixed
2013-10-17 17:21rhornigAssigned To => rhornig

Notes
(0000818)
rhornig   
2013-10-17 17:21   
fixed in both the master and the 4.3.x branch. It was a bit more tricky to find a configuration that works both with bison 2.x and 3.x