- Index
- » Developer
- » OpenModelica development
- » rmlc fails to compile some .mo files...
rmlc fails to compile some .mo files with unbound variable errors
rmlc fails to compile some .mo files with unbound variable errors
I am trying to build openmodelica from a fresh svn checkout of the trunk and I got these errors:
make[3]: Entering directory `/srv/scratch/sources/openmodelica/openmodelica-1.9b4-svn/Compiler/omc_release'
/usr/local/stow/mmc/bin/rmlc -Wr,-Wshow-warnings,-ftrace,-I../FrontEnd,-I../BackEnd,-I../Template,-I../Util,-I../Script,-I../Main,-I../Global +C ../FrontEnd/Ceval.mo
"/usr/local/stow/mmc/bin/rml" -Eplain -Wshow-warnings -ftrace -I../FrontEnd -I../BackEnd -I../Template -I../Util -I../Script -I../Main -I../Global ../FrontEnd/Ceval.mo
Ceval.mo:6085.77-6085.81 Error: unbound variable info
Error: StaticElaborationError
make[3]: *** [Ceval.c] Error 1
/usr/local/stow/mmc/bin/rmlc -Wr,-Wshow-warnings,-ftrace,-I../FrontEnd,-I../BackEnd,-I../Template,-I../Util,-I../Script,-I../Main,-I../Global +C ../FrontEnd/Inst.mo
"/usr/local/stow/mmc/bin/rml" -Eplain -Wshow-warnings -ftrace -I../FrontEnd -I../BackEnd -I../Template -I../Util -I../Script -I../Main -I../Global ../FrontEnd/Inst.mo
Inst.mo:130.11-130.11 Warning: unused imported module: Inline
Inst.mo:13149.33-13149.35 Error: unbound variable ty
Error: StaticElaborationError
make[3]: *** [Inst.c] Error 1
/usr/local/stow/mmc/bin/rmlc -Wr,-Wshow-warnings,-ftrace,-I../FrontEnd,-I../BackEnd,-I../Template,-I../Util,-I../Script,-I../Main,-I../Global +C ../FrontEnd/Mod.mo
"/usr/local/stow/mmc/bin/rml" -Eplain -Wshow-warnings -ftrace -I../FrontEnd -I../BackEnd -I../Template -I../Util -I../Script -I../Main -I../Global ../FrontEnd/Mod.mo
Mod.mo:1183.27-1183.31 Error: unbound variable name
Error: StaticElaborationError
make[3]: *** [Mod.c] Error 1
/usr/local/stow/mmc/bin/rmlc -Wr,-Wshow-warnings,-ftrace,-I../FrontEnd,-I../BackEnd,-I../Template,-I../Util,-I../Script,-I../Main,-I../Global +C ../FrontEnd/SCode.mo
"/usr/local/stow/mmc/bin/rml" -Eplain -Wshow-warnings -ftrace -I../FrontEnd -I../BackEnd -I../Template -I../Util -I../Script -I../Main -I../Global ../FrontEnd/SCode.mo
SCode.mo:1784.24-1784.37 Error: unbound variable partialPrefix
Error: StaticElaborationError
make[3]: *** [SCode.c] Error 1
/usr/local/stow/mmc/bin/rmlc -Wr,-Wshow-warnings,-ftrace,-I../FrontEnd,-I../BackEnd,-I../Template,-I../Util,-I../Script,-I../Main,-I../Global +C ../BackEnd/BackendDAECreate.mo
"/usr/local/stow/mmc/bin/rml" -Eplain -Wshow-warnings -ftrace -I../FrontEnd -I../BackEnd -I../Template -I../Util -I../Script -I../Main -I../Global ../BackEnd/BackendDAECreate.mo
BackendDAECreate.mo:1445.56-1445.65 Error: unbound variable condition
Error: StaticElaborationError
make[3]: *** [BackendDAECreate.c] Error 1
/usr/local/stow/mmc/bin/rmlc -Wr,-Wshow-warnings,-ftrace,-I../FrontEnd,-I../BackEnd,-I../Template,-I../Util,-I../Script,-I../Main,-I../Global +C ../BackEnd/BackendDump.mo
"/usr/local/stow/mmc/bin/rml" -Eplain -Wshow-warnings -ftrace -I../FrontEnd -I../BackEnd -I../Template -I../Util -I../Script -I../Main -I../Global ../BackEnd/BackendDump.mo
BackendDump.mo:794.61-794.65 Error: unbound variable vars
Error: StaticElaborationError
make[3]: *** [BackendDump.c] Error 1
/usr/local/stow/mmc/bin/rmlc -Wr,-Wshow-warnings,-ftrace,-I../FrontEnd,-I../BackEnd,-I../Template,-I../Util,-I../Script,-I../Main,-I../Global +C ../BackEnd/RemoveSimpleEquations.mo
"/usr/local/stow/mmc/bin/rml" -Eplain -Wshow-warnings -ftrace -I../FrontEnd -I../BackEnd -I../Template -I../Util -I../Script -I../Main -I../Global ../BackEnd/RemoveSimpleEquations.mo
RemoveSimpleEquations.mo:2403.49-2403.52 Error: unbound variable exp
Error: StaticElaborationError
make[3]: *** [RemoveSimpleEquations.c] Error 1
make[3]: Target `omc' not remade because of errors.
I built myself MMC using SMLNJ 110.74 according to the README.
>/usr/local/stow/mmc/bin/rml -v
rml+mmc compiler version 2.5.0 built 2011-06-15 17:10 using MLton or SML.NET or SMLNJ
- Index
- » Developer
- » OpenModelica development
- » rmlc fails to compile some .mo files...