octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #57033] Replace CXSPARSE with SPQR


From: Markus Mützel
Subject: [Octave-bug-tracker] [bug #57033] Replace CXSPARSE with SPQR
Date: Sat, 12 Oct 2019 06:47:42 -0400 (EDT)
User-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:70.0) Gecko/20100101 Firefox/70.0

Follow-up Comment #2, bug #57033 (project octave):

I tried to compile with this patch (to eventually try with a cross-build on
Windows). However, the linker fails to resolve some references:

  CXXLD    src/octave-cli
/usr/bin/ld: liboctave/.libs/liboctave.so: undefined reference to
`cholmod_dense_struct* SuiteSparseQR_qmult<double>(int,
cholmod_sparse_struct*, cholmod_dense_struct*, long*, cholmod_dense_struct*,
cholmod_common_struct*)'
/usr/bin/ld: liboctave/.libs/liboctave.so: undefined reference to
`cholmod_sparse_struct* SuiteSparseQR_min2norm<double>(int, double,
cholmod_sparse_struct*, cholmod_sparse_struct*, cholmod_common_struct*)'
/usr/bin/ld: liboctave/.libs/liboctave.so: undefined reference to `long
SuiteSparseQR<double>(int, double, long, cholmod_sparse_struct*,
cholmod_sparse_struct**, long**, cholmod_sparse_struct**, long**,
cholmod_dense_struct**, cholmod_common_struct*)'
/usr/bin/ld: liboctave/.libs/liboctave.so: undefined reference to `long
SuiteSparseQR<std::complex<double> >(int, double, long,
cholmod_sparse_struct*, cholmod_sparse_struct**, long**,
cholmod_sparse_struct**, long**, cholmod_dense_struct**,
cholmod_common_struct*)'
/usr/bin/ld: liboctave/.libs/liboctave.so: undefined reference to
`cholmod_sparse_struct* SuiteSparseQR_qmult<double>(int,
cholmod_sparse_struct*, cholmod_dense_struct*, long*, cholmod_sparse_struct*,
cholmod_common_struct*)'
/usr/bin/ld: liboctave/.libs/liboctave.so: undefined reference to
`cholmod_dense_struct* SuiteSparseQR_qmult<std::complex<double> >(int,
cholmod_sparse_struct*, cholmod_dense_struct*, long*, cholmod_dense_struct*,
cholmod_common_struct*)'
/usr/bin/ld: liboctave/.libs/liboctave.so: undefined reference to
`cholmod_dense_struct* SuiteSparseQR_min2norm<std::complex<double> >(int,
double, cholmod_sparse_struct*, cholmod_dense_struct*,
cholmod_common_struct*)'
/usr/bin/ld: liboctave/.libs/liboctave.so: undefined reference to
`cholmod_sparse_struct* SuiteSparseQR_min2norm<std::complex<double> >(int,
double, cholmod_sparse_struct*, cholmod_sparse_struct*,
cholmod_common_struct*)'
/usr/bin/ld: liboctave/.libs/liboctave.so: undefined reference to
`cholmod_dense_struct* SuiteSparseQR_min2norm<double>(int, double,
cholmod_sparse_struct*, cholmod_dense_struct*, cholmod_common_struct*)'
collect2: error: ld returned 1 exit status
make[2]: *** [Makefile:15663: src/octave-cli] Error 1
make[2]: Leaving directory
'/home/osboxes/Repositories/Octave/octave-1/.build'
make[1]: *** [Makefile:27400: all-recursive] Error 1
make[1]: Leaving directory
'/home/osboxes/Repositories/Octave/octave-1/.build'
make: *** [Makefile:11032: all] Error 2


My steps were:
1) Update octave repo to hg id 3fe26656e73c
2) Apply the patch from comment #0.
3) Run "make maintainer-clean"
4) Complete "bootstrap"-"configure"-"make all" cycle.

This was on Ubuntu 19.04 with libsuitesparse-dev 5.4.0.
I understand that this is an incomplete patch. Please, let me know if it is
too early to try it on a cross-build for Windows.
Otherwise: What do I have to do to get this to compile and link (on
Ubuntu-Linux as a first step)?

    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?57033>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]