Opened 11 years ago
Closed 11 years ago
#2317 closed defect (fixed)
Compiling model does not work with "Error building simulator"
Reported by: | anonymous | Owned by: | Martin Sjölund |
---|---|---|---|
Priority: | high | Milestone: | 1.9.0 |
Component: | Build Environment | Version: | 1.9.0Beta |
Keywords: | omc, compiler, gcc | Cc: |
Description
nearly All examples do not work anymore (at least those that I have checked so far). The Error Message is for the "Electrical.Analog.Examples.CauerLowPassAnalog" model.
Translation 12:29:19 0:0-0:0 Error building simulator. Build log: gcc -falign-functions -march=native -mfpmath=sse -fPIC -I"/usr/include/omc" -I. -L"/usr/lib/omlibrary/Modelica 3.2.1/Electrical/Analog/Examples" -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -c -o Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.o Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.c gcc -falign-functions -march=native -mfpmath=sse -fPIC -I"/usr/include/omc" -I. -L"/usr/lib/omlibrary/Modelica 3.2.1/Electrical/Analog/Examples" -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -c -o Modelica.Electrical.Analog.Examples.CauerLowPassAnalog_records.o Modelica.Electrical.Analog.Examples.CauerLowPassAnalog_records.c g++ -I. -o Modelica.Electrical.Analog.Examples.CauerLowPassAnalog Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.o Modelica.Electrical.Analog.Examples.CauerLowPassAnalog_records.o -I"/usr/include/omc" -I. -L"/usr/lib/omlibrary/Modelica 3.2.1/Electrical/Analog/Examples" -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -L"/usr/lib/omlibrary/Modelica 3.2.1/Electrical/Analog/Examples" -falign-functions -march=native -mfpmath=sse -fPIC -L"/usr/lib/omc" -Wl,-rpath,'/usr/lib/omc' -lSimulationRuntimeC -ldl -linteractive -lexpat -lhwloc -lrt -lgc -fopenmp -lsundials_kinsol -lsundials_nvecserial -llapack -lpthread -Wl,-Bstatic -lf2c -Wl,-Bdynamic /usr/bin/ld: cannot find -lhwloc collect2: error: ld returned 1 exit status make: *** [omc_main_target] Error 1
Change History (3)
comment:1 by , 11 years ago
comment:2 by , 11 years ago
Source: openmodelica Version: 16855-1 Depends: ..., libhwloc5, ...
Anyway, it is a useless link and I removed it. Should be there in the thursday build (so 26 hours or so).
comment:3 by , 11 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
I forgot to mention: I use ubuntu 13.04. The working solution is to install the packages, so I guess the open modelica packages shoudl be updated: