gmt-5.2.1 universal build failure
|Target version:||Candidate for next bugfix release|
|Affected version:||other||Platform:||Mac OS X|
Because of inconsistent defis of dsyev_ build fails with gmt_vector.c. dsyev_ is already defined in Accelerate/Accelerate.h for APPLE, included in gmt_fft.h and gmt_grdio.h. See the patch.
#2 Updated by Takeshi over 2 years ago
I have not been aware of the problem either. The problem was found by the report by one of the users who tried to compile for both x86_64 and i386 in MacPorts. This is possible by adding +universal. When -arch i386 is specified, LP64 symbol is not defined and integers in cblas.h become long int, which is now 64-bit. Even if this problem does not occur it is a good idea to avoid redefinition.