Compilation error Mac
Posted: 30. Jul 2018, 14:32
Dear Florian,
We had some compilation errors on Mac (MacOS 10.13.6, gfortran 6.3.0, Xcode 9.4.1). The error message is
We were able to fix it by removing the -U flag in the model specific makefile. We do not know, what it does, but the binary runs, so we guess it is not crucial. We just wanted to let you and other potential users know.
Best,
Martin
We had some compilation errors on Mac (MacOS 10.13.6, gfortran 6.3.0, Xcode 9.4.1). The error message is
Code: Select all
/Applications/Xcode.app/Contents/Developer/usr/bin/make F90=gfortran ../lib/libSPhenoSUSY_EW_ISS.a
gfortran -c -g -ffree-line-length-none -J../include -I../include Settings.f90
ar -ruc -U ../lib/libSPhenoSUSY_EW_ISS.a Settings.o
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ar: illegal option -- U
usage: ar -d [-TLsv] archive file ...
ar -m [-TLsv] archive file ...
ar -m [-abiTLsv] position archive file ...
ar -p [-TLsv] archive [file ...]
ar -q [-cTLsv] archive file ...
ar -r [-cuTLsv] archive file ...
ar -r [-abciuTLsv] position archive file ...
ar -t [-TLsv] archive [file ...]
ar -x [-ouTLsv] archive [file ...]
make[2]: *** [../lib/libSPhenoSUSY_EW_ISS.a(Settings.o)] Error 1
make[1]: *** [bin/SPhenoSUSY_EW_ISS] Error 2
make: *** [bin/SPheno] Error 2
Best,
Martin