JuliaLang/julia — Issue #378: SuiteSparse fails to compile on Mac OSX
Author: jdp
Created: 2012-02-18 21:22:59+00:00
State: open

The step to compile SuiteSparse fails on Mac OSX:

/usr/bin/ranlib: file: libspqr.a(spqr_parallel.o) has no symbols
/usr/bin/ranlib: file: libspqr.a(spqr_debug.o) has no symbols
ranlib: file: libspqr.a(spqr_parallel.o) has no symbols
ranlib: file: libspqr.a(spqr_debug.o) has no symbols
ld: library not found for -lgfortran
collect2: ld returned 1 exit status
make[4]: *** [qrdemo] Error 1
make[3]: *** [all] Error 2
ar: creating archive librbio.a
a - RBio.o

===========================================================
title: [1U 8 STAGE COLUMN SECTION, ALL SECTIONS RIGOROUS ( CHEM. ENG. )]
status 0
key [WEST0479] nrow 479 ncol 479
mkind 0 skind 0 asize 3820 znz 22
mtype from file: [RUA]
(A) RBok status 0 0 0
(Z) RBok status 0 0 0
mtype from examining matrix: [rua]
mtype after reading from file: [rua]
raw nrow 479 ncol 479 nnz 1910 nelnz 0 xsize 1910
mtype from raw read from file: [rua]
(P) RBok status 0 0 0
mtype of pattern: [pua]
mtype of tril(A): [rua]
(L) RBok status 0 0 22
RBdemo OK
Undefined symbols:
"___gxx_personality_v0", referenced from:
long SuiteSparseQR >(int, double, long, int, cholmod_sparse_struct*, cholmod_sparse_struct*, cholmod_dense_struct*, cholmod_sparse_struct**, cholmod_dense_struct**, cholmod_sparse_struct**, long**, cholmod_sparse_struct**, long**, cholmod_dense_struct**, cholmod_common_struct*)in SuiteSparseQR.o
long SuiteSparseQR >(int, double, long, cholmod_sparse_struct*, cholmod_sparse_struct**, long**, cholmod_sparse_struct**, long**, cholmod_dense_struct**, cholmod_common_struct*)in SuiteSparseQR.o
long SuiteSparseQR >(int, double, long, cholmod_sparse_struct*, cholmod_sparse_struct*, cholmod_sparse_struct**, cholmod_sparse_struct**, long**, cholmod_common_struct*)in SuiteSparseQR.o
long SuiteSparseQR >(int, double, long, cholmod_sparse_struct*, cholmod_dense_struct*, cholmod_dense_struct**, cholmod_sparse_struct**, long**, cholmod_common_struct*)in SuiteSparseQR.o
long SuiteSparseQR >(int, double, long, cholmod_sparse_struct*, cholmod_sparse_struct**, long**, cholmod_common_struct*)in SuiteSparseQR.o
long SuiteSparseQR >(int, double, long, cholmod_sparse_struct*, cholmod_sparse_struct**, cholmod_sparse_struct**, long**, cholmod_common_struct*)in SuiteSparseQR.o
cholmod_sparse_struct* SuiteSparseQR >(int, double, cholmod_sparse_struct*, cholmod_sparse_struct*, cholmod_common_struct*)in SuiteSparseQR.o
cholmod_dense_struct* SuiteSparseQR >(cholmod_sparse_struct*, cholmod_dense_struct*, cholmod_common_struct*)in SuiteSparseQR.o
cholmod_dense_struct* SuiteSparseQR >(int, double, cholmod_sparse_struct*, cholmod_dense_struct*, cholmod_common_struct*)in SuiteSparseQR.o
long SuiteSparseQR(int, double, long, int, cholmod_sparse_struct*, cholmod_sparse_struct*, cholmod_dense_struct*, cholmod_sparse_struct**, cholmod_dense_struct**, cholmod_sparse_struct**, long**, cholmod_sparse_struct**, long**, cholmod_dense_struct**, cholmod_common_struct*)in SuiteSparseQR.o
long SuiteSparseQR(int, double, long, cholmod_sparse_struct*, cholmod_sparse_struct**, long**, cholmod_sparse_struct**, long**, cholmod_dense_struct**, cholmod_common_struct*)in SuiteSparseQR.o
long SuiteSparseQR(int, double, long, cholmod_sparse_struct*, cholmod_sparse_struct*, cholmod_sparse_struct**, cholmod_sparse_struct**, long**, cholmod_common_struct*)in SuiteSparseQR.o
long SuiteSparseQR(int, double, long, cholmod_sparse_struct*, cholmod_dense_struct*, cholmod_dense_struct**, cholmod_sparse_struct**, long**, cholmod_common_struct*)in SuiteSparseQR.o
long SuiteSparseQR(int, double, long, cholmod_sparse_struct*, cholmod_sparse_struct**, long**, cholmod_common_struct*)in SuiteSparseQR.o
long SuiteSparseQR(int, double, long, cholmod_sparse_struct*, cholmod_sparse_struct**, cholmod_sparse_struct**, long**, cholmod_common_struct*)in SuiteSparseQR.o
cholmod_sparse_struct* SuiteSparseQR(int, double, cholmod_sparse_struct*, cholmod_sparse_struct*, cholmod_common_struct*)in SuiteSparseQR.o
cholmod_dense_struct* SuiteSparseQR(cholmod_sparse_struct*, cholmod_dense_struct*, cholmod_common_struct*)in SuiteSparseQR.o
cholmod_dense_struct* SuiteSparseQR(int, double, cholmod_sparse_struct*, cholmod_dense_struct*, cholmod_common_struct*)in SuiteSparseQR.o
CIE in SuiteSparseQR.o
_SuiteSparseQR_C_qmult in SuiteSparseQR_C.o
_SuiteSparseQR_C_solve in SuiteSparseQR_C.o
_SuiteSparseQR_C_free in SuiteSparseQR_C.o
_SuiteSparseQR_C_numeric in SuiteSparseQR_C.o
_SuiteSparseQR_C_backslash_sparse in SuiteSparseQR_C.o
_SuiteSparseQR_C_backslash in SuiteSparseQR_C.o
_SuiteSparseQR_C_backslash_default in SuiteSparseQR_C.o
_SuiteSparseQR_C_QR in SuiteSparseQR_C.o
_SuiteSparseQR_C in SuiteSparseQR_C.o
_SuiteSparseQR_C_factorize in SuiteSparseQR_C.o
_SuiteSparseQR_C_symbolic in SuiteSparseQR_C.o
CIE in SuiteSparseQR_C.o
int SuiteSparseQR_free >(SuiteSparseQR_factorization >**, cholmod_common_struct*)in SuiteSparseQR_expert.o
int SuiteSparseQR_free(SuiteSparseQR_factorization**, cholmod_common_struct*)in SuiteSparseQR_expert.o
cholmod_dense_struct* SuiteSparseQR_solve(int, SuiteSparseQR_factorization*, cholmod_dense_struct*, cholmod_common_struct*)in SuiteSparseQR_expert.o
cholmod_sparse_struct* SuiteSparseQR_solve(int, SuiteSparseQR_factorization*, cholmod_sparse_struct*, cholmod_common_struct*)in SuiteSparseQR_expert.o
SuiteSparseQR_factorization >* SuiteSparseQR_factorize >(int, double, cholmod_sparse_struct*, cholmod_common_struct*)in SuiteSparseQR_expert.o
SuiteSparseQR_factorization* SuiteSparseQR_factorize(int, double, cholmod_sparse_struct*, cholmod_common_struct*)in SuiteSparseQR_expert.o
int SuiteSparseQR_numeric >(double, cholmod_sparse_struct*, SuiteSparseQR_factorization >*, cholmod_common_struct*)in SuiteSparseQR_expert.o
int SuiteSparseQR_numeric(double, cholmod_sparse_struct*, SuiteSparseQR_factorization*, cholmod_common_struct*)in SuiteSparseQR_expert.o
SuiteSparseQR_factorization >* SuiteSparseQR_symbolic >(int, int, cholmod_sparse_struct*, cholmod_common_struct*)in SuiteSparseQR_expert.o
SuiteSparseQR_factorization* SuiteSparseQR_symbolic(int, int, cholmod_sparse_struct*, cholmod_common_struct*)in SuiteSparseQR_expert.o
cholmod_dense_struct* SuiteSparseQR_solve >(int, SuiteSparseQR_factorization >*, cholmod_dense_struct*, cholmod_common_struct*)in SuiteSparseQR_expert.o
cholmod_sparse_struct* SuiteSparseQR_solve >(int, SuiteSparseQR_factorization >*, cholmod_sparse_struct*, cholmod_common_struct*)in SuiteSparseQR_expert.o
cholmod_dense_struct* SuiteSparseQR_qmult(int, SuiteSparseQR_factorization*, cholmod_dense_struct*, cholmod_common_struct*)in SuiteSparseQR_expert.o
cholmod_dense_struct* SuiteSparseQR_min2norm(int, double, cholmod_sparse_struct*, cholmod_dense_struct*, cholmod_common_struct*)in SuiteSparseQR_expert.o
cholmod_sparse_struct* SuiteSparseQR_min2norm(int, double, cholmod_sparse_struct*, cholmod_sparse_struct*, cholmod_common_struct*)in SuiteSparseQR_expert.o
cholmod_sparse_struct* SuiteSparseQR_qmult(int, SuiteSparseQR_factorization*, cholmod_sparse_struct*, cholmod_common_struct*)in SuiteSparseQR_expert.o
cholmod_dense_struct* SuiteSparseQR_qmult >(int, SuiteSparseQR_factorization >*, cholmod_dense_struct*, cholmod_common_struct*)in SuiteSparseQR_expert.o
cholmod_dense_struct* SuiteSparseQR_min2norm >(int, double, cholmod_sparse_struct*, cholmod_dense_struct*, cholmod_common_struct*)in SuiteSparseQR_expert.o
cholmod_sparse_struct* SuiteSparseQR_min2norm >(int, double, cholmod_sparse_struct*, cholmod_sparse_struct*, cholmod_common_struct*)in SuiteSparseQR_expert.o
cholmod_sparse_struct* SuiteSparseQR_qmult >(int, SuiteSparseQR_factorization >*, cholmod_sparse_struct*, cholmod_common_struct*)in SuiteSparseQR_expert.o
void spqr_private_rtsolve(SuiteSparseQR_factorization*, int, long, long, double*, double*, cholmod_common_struct*)in SuiteSparseQR_expert.o
void spqr_private_rtsolve >(SuiteSparseQR_factorization >*, int, long, long, std::complex*, std::complex*, cholmod_common_struct*)in SuiteSparseQR_expert.o
void spqr_private_Happly(int, SuiteSparseQR_factorization*, long, long, long, double*, double*, long*, long*, double*, double*, double*, cholmod_common_struct*)in SuiteSparseQR_expert.o
void spqr_private_Happly >(int, SuiteSparseQR_factorization >*, long, long, long, std::complex*, std::complex*, long*, long*, std::complex*, std::complex*, std::complex*, cholmod_common_struct*)in SuiteSparseQR_expert.o
CIE in SuiteSparseQR_expert.o
cholmod_sparse_struct* SuiteSparseQR_qmult >(int, cholmod_sparse_struct*, cholmod_dense_struct*, long*, cholmod_sparse_struct*, cholmod_common_struct*)in SuiteSparseQR_qmult.o
cholmod_sparse_struct* SuiteSparseQR_qmult(int, cholmod_sparse_struct*, cholmod_dense_struct*, long*, cholmod_sparse_struct*, cholmod_common_struct*)in SuiteSparseQR_qmult.o
cholmod_dense_struct* SuiteSparseQR_qmult(int, cholmod_sparse_struct*, cholmod_dense_struct*, long*, cholmod_dense_struct*, cholmod_common_struct*)in SuiteSparseQR_qmult.o
cholmod_dense_struct* SuiteSparseQR_qmult >(int, cholmod_sparse_struct*, cholmod_dense_struct*, long*, cholmod_dense_struct*, cholmod_common_struct*)in SuiteSparseQR_qmult.o
CIE in SuiteSparseQR_qmult.o
int spqr_1colamd(int, double, long, cholmod_sparse_struct*, long**, long**, long**, cholmod_sparse_struct**, long*, long*, cholmod_common_struct*)in spqr_1colamd.o
int spqr_1colamd >(int, double, long, cholmod_sparse_struct*, long**, long**, long**, cholmod_sparse_struct**, long*, long*, cholmod_common_struct*)in spqr_1colamd.o
CIE in spqr_1colamd.o
SuiteSparseQR_factorization* spqr_1factor(int, double, long, int, cholmod_sparse_struct*, long, long*, long*, double*, cholmod_common_struct*)in spqr_1factor.o
SuiteSparseQR_factorization >* spqr_1factor >(int, double, long, int, cholmod_sparse_struct*, long, long*, long*, std::complex*, cholmod_common_struct*)in spqr_1factor.o
CIE in spqr_1factor.o
int spqr_1fixed >(double, long, cholmod_sparse_struct*, long**, long**, cholmod_sparse_struct**, long*, long*, cholmod_common_struct*)in spqr_1fixed.o
int spqr_1fixed(double, long, cholmod_sparse_struct*, long**, long**, cholmod_sparse_struct**, long*, long*, cholmod_common_struct*)in spqr_1fixed.o
CIE in spqr_1fixed.o
spqr_analyze(cholmod_sparse_struct*, int, long*, int, int, cholmod_common_struct*)in spqr_analyze.o
CIE in spqr_analyze.o
int spqr_append(double*, long*, cholmod_sparse_struct*, long*, cholmod_common_struct*)in spqr_append.o
int spqr_append >(std::complex*, long*, cholmod_sparse_struct*, long*, cholmod_common_struct*)in spqr_append.o
CIE in spqr_append.o
void spqr_assemble(long, long, int, long*, long*, long*, long*, long*, long*, long*, long*, double*, long*, long*, double**, long*, long*, long*, long*, double*, long*)in spqr_assemble.o
void spqr_assemble >(long, long, int, long*, long*, long*, long*, long*, long*, long*, long*, std::complex*, long*, long*, std::complex**, long*, long*, long*, long*, std::complex*, long*)in spqr_assemble.o
CIE in spqr_assemble.o
long spqr_cpack(long, long, long, long, double*, double*)in spqr_cpack.o
long spqr_cpack >(long, long, long, long, std::complex*, std::complex*)in spqr_cpack.o
CIE in spqr_cpack.o
spqr_csize(long, long*, long*, long*)in spqr_csize.o
CIE in spqr_csize.o
spqr_cumsum(long, long*)in spqr_cumsum.o
CIE in spqr_cumsum.o
spqr_numeric >* spqr_factorize >(cholmod_sparse_struct**, long, double, long, spqr_symbolic*, cholmod_common_struct*)in spqr_factorize.o
spqr_numeric* spqr_factorize(cholmod_sparse_struct**, long, double, long, spqr_symbolic*, cholmod_common_struct*)in spqr_factorize.o
void free_Work >(spqr_work >*, long, long, long, long, cholmod_common_struct*)in spqr_factorize.o
void free_Work(spqr_work*, long, long, long, long, cholmod_common_struct*)in spqr_factorize.o
spqr_work >* get_Work >(long, long, long, long, long, long*, cholmod_common_struct*)in spqr_factorize.o
spqr_work* get_Work(long, long, long, long, long, long*, cholmod_common_struct*)in spqr_factorize.o
CIE in spqr_factorize.o
spqr_fcsize(long, long, long, long)in spqr_fcsize.o
CIE in spqr_fcsize.o
void spqr_freefac >(SuiteSparseQR_factorization >**, cholmod_common_struct*)in spqr_freefac.o
void spqr_freefac(SuiteSparseQR_factorization**, cholmod_common_struct*)in spqr_freefac.o
CIE in spqr_freefac.o
void spqr_freenum >(spqr_numeric >**, cholmod_common_struct*)in spqr_freenum.o
void spqr_freenum(spqr_numeric**, cholmod_common_struct*)in spqr_freenum.o
CIE in spqr_freenum.o
spqr_freesym(spqr_symbolic**, cholmod_common_struct*) in spqr_freesym.o
CIE in spqr_freesym.o
long spqr_front(long, long, long, double, long, long, double*, long*, char*, double*, double*, double*, double*, cholmod_common_struct*)in spqr_front.o
long spqr_front >(long, long, long, double, long, long, std::complex*, long*, char*, std::complex*, std::complex*, double*, double*, cholmod_common_struct*)in spqr_front.o
CIE in spqr_front.o
spqr_fsize(long, long*, long*, long*, long*, long*, long*, long*, long*, long*)in spqr_fsize.o
CIE in spqr_fsize.o
void spqr_happly(int, long, long, long, long*, long*, double*, double*, double*, long, long, long*, long*, double*, double*, cholmod_common_struct*)in spqr_happly.o
void spqr_happly >(int, long, long, long, long*, long*, std::complex*, std::complex*, std::complex*, long, long, long*, long*, std::complex*, std::complex*, cholmod_common_struct*)in spqr_happly.o
CIE in spqr_happly.o
spqr_happly_work(int, long, long, long, long*, long, long*, long*, long*)in spqr_happly_work.o
CIE in spqr_happly_work.o
void spqr_hpinv(spqr_symbolic*, spqr_numeric*, long*)in spqr_hpinv.o
void spqr_hpinv >(spqr_symbolic*, spqr_numeric >*, long*)in spqr_hpinv.o
CIE in spqr_hpinv.o
void spqr_kernel >(long, spqr_blob >*)in spqr_kernel.o
void spqr_kernel(long, spqr_blob*)in spqr_kernel.o
CIE in spqr_kernel.o
void spqr_larftb(int, long, long, long, long, long, double*, double*, double*, double*, cholmod_common_struct*)in spqr_larftb.o
void spqr_larftb >(int, long, long, long, long, long, std::complex*, std::complex*, std::complex*, std::complex*, cholmod_common_struct*)in spqr_larftb.o
CIE in spqr_larftb.o
double spqr_maxcolnorm >(cholmod_sparse_struct*, cholmod_common_struct*)in spqr_maxcolnorm.o
double spqr_maxcolnorm(cholmod_sparse_struct*, cholmod_common_struct*)in spqr_maxcolnorm.o
CIE in spqr_maxcolnorm.o
void spqr_panel >(int, long, long, long, long, long*, std::complex*, std::complex*, long, std::complex*, std::complex*, std::complex*, cholmod_common_struct*)in spqr_panel.o
void spqr_panel(int, long, long, long, long, long*, double*, double*, long, double*, double*, double*, cholmod_common_struct*)in spqr_panel.o
CIE in spqr_panel.o
void spqr_rconvert(spqr_symbolic*, spqr_numeric*, long, long, long, int, long*, long*, double*, long*, long*, double*, long*, long*, double*, double*)in spqr_rconvert.o
void spqr_rconvert >(spqr_symbolic*, spqr_numeric >*, long, long, long, int, long*, long*, std::complex*, long*, long*, std::complex*, long*, long*, std::complex*, std::complex*)in spqr_rconvert.o
CIE in spqr_rconvert.o
void spqr_rcount(spqr_symbolic*, spqr_numeric*, long, long, long, int, long*, long*, long*, long*)in spqr_rcount.o
void spqr_rcount >(spqr_symbolic*, spqr_numeric >*, long, long, long, int, long*, long*, long*, long*)in spqr_rcount.o
CIE in spqr_rcount.o
long spqr_rhpack(int, long, long, long, long*, double*, double*, long*)in spqr_rhpack.o
long spqr_rhpack >(int, long, long, long, long*, std::complex*, std::complex*, long*)in spqr_rhpack.o
CIE in spqr_rhpack.o
int spqr_rmap >(SuiteSparseQR_factorization >*, cholmod_common_struct*)in spqr_rmap.o
int spqr_rmap(SuiteSparseQR_factorization*, cholmod_common_struct*)in spqr_rmap.o
CIE in spqr_rmap.o
void spqr_rsolve(SuiteSparseQR_factorization*, int, long, long, double*, double*, double**, long*, double*, cholmod_common_struct*)in spqr_rsolve.o
void spqr_rsolve >(SuiteSparseQR_factorization >*, int, long, long, std::complex*, std::complex*, std::complex**, long*, std::complex*, cholmod_common_struct*)in spqr_rsolve.o
CIE in spqr_rsolve.o
spqr_shift(long, long*)in spqr_shift.o
CIE in spqr_shift.o
spqr_stranspose1(cholmod_sparse_struct*, long*, long*, long*, long*, long*, long*)in spqr_stranspose1.o
CIE in spqr_stranspose1.o
void spqr_stranspose2(cholmod_sparse_struct*, long*, long*, long*, double*, long*)in spqr_stranspose2.o
void spqr_stranspose2 >(cholmod_sparse_struct*, long*, long*, long*, std::complex*, long*)in spqr_stranspose2.o
CIE in spqr_stranspose2.o
double spqr_tol(cholmod_sparse_struct*, cholmod_common_struct*)in spqr_tol.o
double spqr_tol >(cholmod_sparse_struct*, cholmod_common_struct*)in spqr_tol.o
CIE in spqr_tol.o
long spqr_trapezoidal >(long, long*, long*, std::complex*, long, long*, int, long**, long**, std::complex**, long**, cholmod_common_struct*)in spqr_trapezoidal.o
long spqr_trapezoidal(long, long*, long*, double*, long, long*, int, long**, long**, double**, long**, cholmod_common_struct*)in spqr_trapezoidal.o
CIE in spqr_trapezoidal.o
int spqr_type()in spqr_type.o
int spqr_type >()in spqr_type.o
CIE in spqr_type.o
ld: symbol(s) not found
collect2: ld returned 1 exit status
make[1]: *** [SuiteSparse-3.7.0/lib/libsuitesparse.dylib] Error 1
make: *** [julia-release] Error 2

The output from `uname -a` is `Darwin bulbasaur.local 10.8.0 Darwin Kernel Version 10.8.0: Tue Jun 7 16:32:41 PDT 2011; root:xnu-1504.15.3~1/RELEASE_X86_64 x86_64`.