- Index
- » Developer
- » OpenModelica development
- » Problem compiling omc
Problem compiling omc
Problem compiling omc
When trying to compile a freshly checked-out copy of the OpenModelica code, the build process halts with this error. Can anyone suggest a solution?
"/usr/local/rml/bin/rml" -Eplain -Wshow-warnings -ftrace -I../FrontEnd -I../BackEnd -I../Template -I../Util -I../Script -I../Main -I../Global ../FrontEnd/AbsynDep.mo
AbsynDep.mo:316.17-316.34 Error: not a data constructor: stringDelimitList
Error: StaticElaborationError
make[3]: *** [AbsynDep.c] Error 1
Re: Problem compiling omc
Update to a newer rml-mmc version
- sjoelund.se
- 1700 Posts
Re: Problem compiling omc
Does make clean (or simply rm -f Compiler/omc_release/*.{sig,sigx,srz}) solve it?
- sjoelund.se
- 1700 Posts
Re: Problem compiling omc
Then your installed rml is probably not the latest revision. Note that I don't trust the rml makefiles for 2 cents so it's possible a clean compilation is required. But just to save you some time: if your /usr/local/bin/rml is older than 2011-09-25, it's not recent enough.
- sjoelund.se
- 1700 Posts
Re: Problem compiling omc
I'm running Ubuntu and I have rml-mmc version 222-1. My openmodelica SVN revision is 10454 and when trying to compile, I get the following error:
omi_Calculation.cpp:25:30: fatal error: simulation_delay.h: No such file or directory
This makes the omc compilation to fail. Is this a known bug?
Re: Problem compiling omc
The files are undergoing some major changes and I guess a Windows developer made a breaking change for Linux. Try r 10442. It's my last commit and should be known good unless I forgot to update before committing.
- sjoelund.se
- 1700 Posts
Re: Problem compiling omc
Unfortunately I have the same problem there. I removed my trunk directory, checked out using
svn co https://openmodelica.org/svn/OpenModelica/trunk/ -r 10442
Then I ran './configure --with-omniORB' and 'make -j2 omc'.
Re: Problem compiling omc
They sure forgot to update a lot of makefiles for unix... 10464 should work as I just fixed it, did make clean and made sure it runs.
- sjoelund.se
- 1700 Posts
Re: Problem compiling omc
I too have this problem with r 10442 and r 10460
Three things I tried:
1. In Modelica/trunk/SimulationRuntime/interactive
file: Makefile.in
line 10: change -I../c/math-support
to: -I../c/simulation/math-support
2. In Modelica/trunk/SimulationRuntime/c/simulation/solver
file: Makefile.in
line 10: change -I../math-support
to: -I../../math-support
3. In Modelica/trunk/SimulationRuntime/c/simulation/results
file: Makefile.in
line 10: change -I../math-support
to: -I../../math-support
While this allowed the compiles to proceed, alas things died again on:
ar: creating libSimulationCRuntime.a
ar: ./simulation/math-support/bigden.o: No such file or directory
make[1]: *** [libSimulationCRuntime.a] Error 1
make[1]: Leaving directory Modelica/trunk/SimulationRuntime/c'
Some help would be appreciated.
Paul Neelands
- Index
- » Developer
- » OpenModelica development
- » Problem compiling omc