ambit icon indicating copy to clipboard operation
ambit copied to clipboard

Build fails on FreeBSD with clang-40

Open yurivict opened this issue 8 years ago • 1 comments

Version 0.2 fails this way:

-- checking Fortran linkage: DGEMM_
-- checking Fortran linkage: dgemm_
-- checking Fortran linkage: DGEMM
-- checking Fortran linkage: dgemm
CMake Error at cmake/GenericMacros.cmake:169 (message):
  Unable to detect Fortran name mangling.  This should not happen, please set
  --with-f77symbol manually.

The current revision 9c7049a fails too:

src/libambit.so: undefined reference to `dgebal_'
src/libambit.so: undefined reference to `dsprfs_'
src/libambit.so: undefined reference to `dpbstf_'

I think, lines like this cause it:

src/math/lapack.cc:#define FC_GLOBAL(lc, UC) lc ## _

Please advise how do I build it?

yurivict avatar Nov 12 '17 19:11 yurivict

I was able to build it by disabling the test directory. But please fix the test build.

yurivict avatar Nov 12 '17 20:11 yurivict