- Index
- » Users
- » cwarner7_11
- » Profile
Posts
Posts
Recently installed OpenModelica 1.9.0 on Ubuntu 10.04 64-bit. Following the instructions in Section 1.3 of the User Manual, to model a DC motor, I get the following simulation error:
Translation 11:39:28 0:0-0:0 Error building simulator. Buildlog: gcc -falign-functions -march=native -mfpmath=sse -fPIC -I"/usr/include/omc" -I. -c -o DCmotor.o DCmotor.c
gcc -falign-functions -march=native -mfpmath=sse -fPIC -I"/usr/include/omc" -I. -c -o DCmotor_records.o DCmotor_records.c
g++ -I. -o DCmotor DCmotor.o DCmotor_records.o -I"/usr/include/omc" -I. -falign-functions -march=native -mfpmath=sse -fPIC -L"/usr/lib/omc" -lSimulationRuntimeC -ldl -linteractive -lexpat -lrt -fopenmp -lsundials_kinsol -lsundials_nvecserial -llapack -lpthread -Wl,-Bstatic -lf2c -Wl,-Bdynamic
/usr/lib/omc/libSimulationRuntimeC.a(libSimulationRuntimeC.a.o): In function `kinsol_initialization':
(.text+0x59eba): undefined reference to `KINSetUserData'
/usr/lib/omc/libSimulationRuntimeC.a(libSimulationRuntimeC.a.o): In function `kinsol_initialization':
(.text+0x59f05): undefined reference to `KINInit'
/usr/lib/omc/libSimulationRuntimeC.a(libSimulationRuntimeC.a.o): In function `kinsol_initialization':
(.text+0x59f74): undefined reference to `KINDlsGetNumJacEvals'
/usr/lib/omc/libSimulationRuntimeC.a(libSimulationRuntimeC.a.o): In function `kinsol_initialization':
(.text+0x59f85): undefined reference to `KINDlsGetNumFuncEvals'
collect2: ld returned 1 exit status
make: *** [omc_main_target] Error 1
What am I missing?
- Index
- » Users
- » cwarner7_11
- » Profile