[MacPorts] #50311: gmt5: build fails on Mavericks: error: conflicting types for 'dsyev_'

MacPorts noreply at macports.org
Tue Jan 12 18:17:47 PST 2016


#50311: gmt5: build fails on Mavericks: error: conflicting types for 'dsyev_'
--------------------+--------------------------------
 Reporter:  mp@…    |      Owner:  macports-tickets@…
     Type:  defect  |     Status:  new
 Priority:  Normal  |  Milestone:
Component:  ports   |    Version:  2.3.4
 Keywords:          |       Port:  gmt5
--------------------+--------------------------------
 Extract from the log:
 {{{
 :info:build
 /opt/local/var/macports/build/_...dports_science_gmt5/gmt5/work/gmt-5.2.1/src/gmt_vector.c:693:13:
 error: conflicting types for 'dsyev_'
 :info:build         extern int dsyev_ (char* jobz, char* uplo, int* n,
 double* a, int* lda, double* w, double* work, int* lwork, int* info);
 :info:build                    ^
 :info:build
 /System/Library/Frameworks/vecLib.framework/Headers/clapack.h:2800:5:
 note: previous declaration is here
 :info:build int dsyev_(char *jobz, char *uplo, __CLPK_integer *n,
 __CLPK_doublereal *a,
 :info:build     ^
 :info:build
 /opt/local/var/macports/build/_...dports_science_gmt5/gmt5/work/gmt-5.2.1/src/gmt_vector.c:699:38:
 warning:
                 incompatible pointer types passing 'int *' to parameter of
 type '__CLPK_integer *' (aka 'long *') [-Wincompatible-pointer-types]
 :info:build         dsyev_ ( "Vectors", "Upper", &n, a, &lda, w, &wkopt,
 &lwork, &info );
 :info:build                                      ^~
 :info:build
 /System/Library/Frameworks/vecLib.framework/Headers/clapack.h:2800:52:
 note: passing argument to parameter 'n' here
 :info:build int dsyev_(char *jobz, char *uplo, __CLPK_integer *n,
 __CLPK_doublereal *a,
 :info:build                                                    ^
 [...]
 }}}

 Attaching full log file.

-- 
Ticket URL: <https://trac.macports.org/ticket/50311>
MacPorts <https://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list