Build from source for MacOS Sierra - gfortran error

For developers writing C++, Fortran, Java, code who have questions or comments to make.

Moderators: silvia, selimgunay, Moderators

Post Reply
dugtil
Posts: 1
Joined: Mon Oct 23, 2017 9:54 pm
Location: Personal Use

Build from source for MacOS Sierra - gfortran error

Post by dugtil » Thu Nov 02, 2017 10:48 pm

I'm attempting to build opensees from source on MacOS Sierra 10.12.6.

First lines after "make":

Making idamax.o from idamax.f
/usr/local/bin/gfortran -Wall -O -DCUBLAS -x f77-cpp-input --no-second-underscore -c idamax.f -o idamax.o
FATAL:/opt/local/bin/../libexec/as/x86_64/as: I don't understand 'm' flag!
make[1]: *** [idamax.o] Error 1

I'm using gcc version 6.3.0. The Makefile.def comes from "Makefile.def.MacOS10.8" with minor changes.

Anyone coming across this error?

Post Reply