Skip to content

Does not seem to build with homebrew version of gfortran on OSX #7

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Open
daverous opened this issue Apr 21, 2017 · 0 comments
Open

Does not seem to build with homebrew version of gfortran on OSX #7

daverous opened this issue Apr 21, 2017 · 0 comments

Comments

@daverous
Copy link

With array fire installed to the default /usr/local directory, and this being correctly set in common.mk, this fails with the following error: gfortran: error trying to exec 'cc1plus': execvp: No such file or directory

When using gcc instead (changing @gfortran to gcc in the makefile), I get the following errors:

ndefined symbols for architecture x86_64:
"MAIN_", referenced from:
_main in for_main.o
"__ZN2af14getDeviceCountEv", referenced from:
af_device_count in fortran_wrapper.o
"__ZN2af15choleskyInPlaceERNS_5arrayEb", referenced from:
af_arr_cholesky_inplace in fortran_wrapper.o
"_ZN2af2luERNS_5arrayES1_S1_RKS0", referenced from:
af_arr_lu in fortran_wrapper.o
"_ZN2af2qrERNS_5arrayES1_RKS0", referenced from:
af_arr_qr in fortran_wrapper.o
"__ZN2af3absERKNS_5arrayE", referenced from:
af_arr_abs in fortran_wrapper.o
"__ZN2af3cosERKNS_5arrayE", referenced from:
af_arr_cos in fortran_wrapper.o
"__ZN2af3expERKNS_5arrayE", referenced from:
af_arr_exp in fortran_wrapper.o
"__ZN2af3logERKNS_5arrayE", referenced from:
af_arr_log in fortran_wrapper.o
"__ZN2af3maxERKNS_5arrayEi", referenced from:
af_arr_max in fortran_wrapper.o
"__ZN2af3minERKNS_5arrayEi", referenced from:
af_arr_min in fortran_wrapper.o
"_ZN2af3powERKNS_5arrayES2", referenced from:
af_arr_elpow in fortran_wrapper.o
"__ZN2af3powERKNS_5arrayEd", referenced from:
af_arr_scpow in fortran_wrapper.o
"__ZN2af3seqC1Eddd", referenced from:
af_arr_get in fortran_wrapper.o
af_arr_get2 in fortran_wrapper.o
af_arr_get_seq in fortran_wrapper.o
af_arr_set in fortran_wrapper.o
af_arr_set2 in fortran_wrapper.o
af_arr_set_seq in fortran_wrapper.o
af_idx_seq in fortran_wrapper.o

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant