Bill Janssen <jans...@parc.com> wrote:

> I've updated my svn checkout, and am trying to build OpenModelica again.
> 
> I'm seeing this compile error:
> 
> "/local/open-modelica/bin/rml" -Eplain -Wshow-warnings -ftrace -I../FrontEnd 
> -I../BackEnd -I../Template -I../Util -I../Script -I../Main -I../Global 
> ../FrontEnd/ExpressionSimplify.mo
> gcc-4.2 -I/local/open-modelica/include -I/local/open-modelica/include/plain 
> -c ExpressionSimplify.c
> ExpressionSimplify.c: In function 
> 'ExpressionSimplify__simplifyBuiltinCalls_5fExitCall_5frealMod_5fSC678':
> ExpressionSimplify.c:18988: error: expected expression before '=' token
> ExpressionSimplify.c:85202:1: error: unterminated argument list invoking 
> macro "rml_prim_get_real"
> ExpressionSimplify.c:18988: error: 'rml_prim_get_real' undeclared (first use 
> in this function)
> ExpressionSimplify.c:18988: error: (Each undeclared identifier is reported 
> only once
> ExpressionSimplify.c:18988: error: for each function it appears in.)
> ExpressionSimplify.c:18988: error: expected declaration or statement at end 
> of input
> ExpressionSimplify.c:18988: error: expected declaration or statement at end 
> of input
> ExpressionSimplify.c:18988: error: expected declaration or statement at end 
> of input
> make[3]: *** [ExpressionSimplify.o] Error 1
> make[2]: *** [all] Error 2
> make[1]: *** [omc_release] Error 2
> make: *** [omc] Error 2
> 
> When I look at ExpressionSimplify.c, line 18988 says this:
> 
>       { double tmp35485  =  = rml_prim_get_real(tmp22473 /* 1.0 */;
> 
> which is pretty clearly bogus.
> 
> I'm using this version of rml:
> 
> % rml -v
> rml+mmc compiler version 2.5.0 built 2011-06-15 17:10 using MLton or SML.NET 
> or SMLNJ
> %
> 
> Do I need to upgrade my rml?
> 
> Bill

I upgraded and re-built my rml, and it didn't help.  Same problem.

Bill

Reply via email to