Greetings.

I'm just a newbie on Modelica, and got a few problems compiling
openmodelica, and at the end when i run the testsuite i got this:


/tmp/opentrunk/testsuite$ make 2>&1 | grep succeeded
== 261 out of 283 tests succeeded
== 60 out of 60 tests succeeded
== 35 out of 108 tests succeeded
== 0 out of 12 tests succeeded



I'm using the svn version for openmodelica (3649) and for rml (144) and the
Debian packages for:

$ dpkg -l smlnj-runtime  smlnj ml-lex ml-yacc libcml-smlnj
Desired=Unknown/Install/Remove/Purge/Hold
|
Status=Not/Inst/Cfg-files/Unpacked/Failed-cfg/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err:
uppercase=bad)
||/ Name
Version                                        Description
+++-==============================================-==============================================-============================================================================================================
ii  libcml-smlnj
110.67-3                                       Concurrent ML
ii  ml-lex
110.67-3                                       Lexical analyzer generator
for Standard ML
ii  ml-yacc
110.67-3                                       Parser generator for Standard
ML
ii  smlnj
110.67-3                                       Standard ML of New Jersey
interactive compiler
ii  smlnj-runtime
110.67-3                                       Standard ML of New Jersey
runtime system

I run configure with --without-CORBA, and then, when run make omc i got a
few errors with the atoi,atof, and strlen. I added a line #include
<stdlib.h> to Compiler/runtime/ptolemyio.cpp and
c_runtime/simulation_init.cpp, and  a #include <string.h> to
Compiler/runtime/ptolemyio.cpp. After that  make omc ends and i run make
mosh without problems, and then I extract the libraries to the build path
and set the environment variables: export
OPENMODELICALIBRARY=/tmp/opentrunk/build/ModelicaLibrary and export
OPENMODELICAHOME=/tmp/opentrunk/build.

I'm using g++ (Debian 4.3.2-1) 4.3.2 and gcc (Debian 4.3.2-1) 4.3.2.

Maybe i'm missing something on the compilation process but i don't know
what, please help me with it.

Thanks.

-- 
Jorge Eduardo Cardona
[EMAIL PROTECTED]
jorgeecardona.blogspot.com
------------------------------------------------
Linux registered user #391186
Registered machine #291871
------------------------------------------------

Reply via email to