Archived OpenModelica forums. Posting is disabled.

Alternative forums include GitHub discussions or StackOverflow (make sure to read the Stack Overflow rules; you need to have well-formed questions)


Forgot password? | Forgot username? | Register
  • Index
  • » Users
  • » brotguru
  • » Profile

Posts

Posts

Dec-16-12 22:39:28
Failure protocol: "ld returned 1 exit status"
Category: Developer

In Ubuntu Linux 11.04 (natty) I installed OpenModelica. It is not possible to simulate, though a check of the model in OMEdit is successful.
I installed from the "lucid nightly" repository. A previous attempt from "lucid stable" did not work - OMEdit did not run at all.
Is it  the right way that I use the "lucid" version?
Can you give me a hint what I should try to get things work?
Many thanks in advance!

The complete failure protocol:
Translation    19:29:19        0:0-0:0    Error building simulator. Buildlog: gcc   -falign-functions -march=native -mfpmath=sse   -I"/usr/include/omc" -I. -L"/home/gw"   -c -o test.o test.c
gcc   -falign-functions -march=native -mfpmath=sse   -I"/usr/include/omc" -I. -L"/home/gw"   -c -o test_records.o test_records.c
g++ -I. -o test test.o test_records.o -I"/usr/include/omc" -I. -L"/home/gw"  -L"/home/gw"     -falign-functions -march=native -mfpmath=sse   -L"/usr/lib/omc" -Wl,-rpath,'/usr/lib/omc' -lSimulationRuntimeC   -ldl -linteractive  -lexpat -Wl,-Bsymbolic-functions  -lrt -lgc -fopenmp   -lpthread -Wl,-Bstatic -lf2c -Wl,-Bdynamic
/usr/bin/ld: cannot find -lSimulationRuntimeC
/usr/bin/ld: cannot find -linteractive
collect2:    
make: *** [omc_main_target] Error 1

  • Index
  • » Users
  • » brotguru
  • » Profile
You are here: