- Index
- » Users
- » abizjak
- » Profile
Posts
Posts
i tried to build OpenModelica from source for raspberry pi 2 (armv7 architecture). I am using Ubuntu Mate.
Code:
$./configure --without-paradiseo --without-omc --disable-modelica3d
So everything went fine, except I had to manually build antlr using
Code:
./configure --disable-abiflags
After changing this and running make again I get following error. Could you please point me out, what now could be a problem? Thank you.
...
gcc build/_main.o -Wl,-z,origin -Wl,-rpath,'$ORIGIN/../lib/armv7l-linux-gnueabihf/omc' -Wl,-rpath,'$ORIGIN' -g -O2 -fno-stack-protector -fPIC -I"/home/abizjak/programs/OpenModelica/build/include/omc/c" -DADD_METARECORD_DEFINITIONS= -o build/omc -L. -Lbuild/ -L"/home/abizjak/programs/OpenModelica/build/lib/armv7l-linux-gnueabihf/omc" -lomparse -lomcruntime -lOpenModelicaRuntimeC -lModelicaExternalC -lomantlr3 -L/home/abizjak/programs/OpenModelica/OMCompiler/3rdParty/FMIL/install/lib -lfmilib -L/home/abizjak/programs/OpenModelica/OMCompiler/3rdParty/graphstream/gs-netstream/c++/ -lnetstream -lomcgc -lpthread -lm -ldl -lstdc++ -rdynamic -llpsolve55_pic -lcolamd -lm -ldl -lhwloc -L/home/abizjak/programs/OpenModelica/build/lib/armv7l-linux-gnueabihf/omc -lmetis -lexpat -llapack -lblas -lOpenModelicaCompiler
cp -a build/OpenModelicaScriptingAPI.h /home/abizjak/programs/OpenModelica/build/include/omc/scripting-API
cp -a build/omc /home/abizjak/programs/OpenModelica/build/bin/
cp -a /home/abizjak/programs/OpenModelica/build/lib/armv7l-linux-gnueabihf/omc/libOpenModelicaCompiler.so /home/abizjak/programs/OpenModelica/build/bin/
make[4]: Leaving directory '/home/abizjak/programs/OpenModelica/OMCompiler/Compiler/boot'
Bootstrapping phase 1/3 completed
make -f Makefile clean OMC=/home/abizjak/programs/OpenModelica/build/bin/omc
make[4]: Entering directory '/home/abizjak/programs/OpenModelica/OMCompiler/Compiler/boot'
rm -rf build/
rm -f Makefile.sources LoadCompilerInterface.mos Makefile.depends
make[4]: Leaving directory '/home/abizjak/programs/OpenModelica/OMCompiler/Compiler/boot'
make -f Makefile generate-files-in-steps OMC=/home/abizjak/programs/OpenModelica/build/bin/omc
make[4]: Entering directory '/home/abizjak/programs/OpenModelica/OMCompiler/Compiler/boot'
make -f Makefile templates scripting
make[5]: Entering directory '/home/abizjak/programs/OpenModelica/OMCompiler/Compiler/boot'
make -f Makefile --no-print-directory -C /home/abizjak/programs/OpenModelica/OMCompiler/Compiler/Template
** AbsynDumpTpl template compilation **
/home/abizjak/programs/OpenModelica/build/bin/omc AbsynDumpTpl.tpl > AbsynDumpTpl.mo.log || (cat AbsynDumpTpl.mo.log && false)
Limited backtrace at point of segmentation fault
Segmentation fault (core dumped)
Makefile.common:8: recipe for target 'AbsynDumpTpl.mo' failed
make[6]: *** [AbsynDumpTpl.mo] Error 1
Makefile.common:63: recipe for target 'templates' failed
make[5]: *** [templates] Error 2
make[5]: Leaving directory '/home/abizjak/programs/OpenModelica/OMCompiler/Compiler/boot'
Makefile.common:22: recipe for target 'generate-files-in-steps' failed
make[4]: *** [generate-files-in-steps] Error 2
make[4]: Leaving directory '/home/abizjak/programs/OpenModelica/OMCompiler/Compiler/boot'
Makefile.common:35: recipe for target 'bootstrap-from-tarball' failed
make[3]: *** [bootstrap-from-tarball] Error 2
make[3]: Leaving directory '/home/abizjak/programs/OpenModelica/OMCompiler/Compiler/boot'
Makefile.common:14: recipe for target 'all' failed
make[2]: *** [all] Error 2
make[2]: Leaving directory '/home/abizjak/programs/OpenModelica/OMCompiler/Compiler/boot'
Makefile:79: recipe for target 'omc-bootstrapped' failed
make[1]: *** [omc-bootstrapped] Error 2
make[1]: Leaving directory '/home/abizjak/programs/OpenModelica/OMCompiler'
Makefile:6: recipe for target 'omc' failed
make: *** [omc] Error 2
- Index
- » Users
- » abizjak
- » Profile