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

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

[Octave-bug-tracker] [bug #63344] Build fails with suitesparse 6


From: anónimo
Subject: [Octave-bug-tracker] [bug #63344] Build fails with suitesparse 6
Date: Fri, 11 Nov 2022 07:15:44 -0500 (EST)

URL:
  <https://savannah.gnu.org/bugs/?63344>

                 Summary: Build fails with suitesparse 6
                 Project: GNU Octave
               Submitter: None
               Submitted: vie 11 nov 2022 12:15:42
                Category: Configuration and Build System
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Build Failure
                  Status: None
             Assigned to: None
         Originator Name: Antonio Rojas
        Originator Email: arojas@archlinux.org
             Open/Closed: Open
                 Release: other
         Discussion Lock: Any
        Operating System: GNU/Linux


    _______________________________________________________

Follow-up Comments:


-------------------------------------------------------
Date: vie 11 nov 2022 12:15:42       By: Anonymous
Octave 7.3 fails to build against suitesparse 6, due to conflicting blas
function declarations:


In file included from /usr/include/amd.h:43,
                 from ./liboctave/util/oct-sparse.h:43,
                 from liboctave/array/dSparse.cc:47:
/usr/include/SuiteSparse_config.h:942:6: error: conflicting declaration of C
function 'void dsyrk_(const char*, const char*, const int32_t*, const
int32_t*, const double*, const double*, const int32_t*, const double*,
double*, const int32_t*)'
  942 | void SUITESPARSE_BLAS_DSYRK         // C = alpha*A*A' + beta*C, or
A'A
      |      ^~~~~~~~~~~~~~~~~~~~~~
In file included from liboctave/array/dSparse.cc:27:
liboctave/numeric/lo-lapack-proto.h:1755:13: note: previous declaration 'void
dsyrk_(const char*, const char*, const F77_INT&, const F77_INT&, const
F77_DBLE&, const F77_DBLE*, const F77_INT&, const F77_DBLE&, F77_DBLE*, const
F77_INT&, std::size_t, std::size_t)'
 1755 |   F77_FUNC (dsyrk, DSYRK) (F77_CONST_CHAR_ARG_DECL,
      |             ^~~~~
./config.h:66:29: note: in definition of macro 'F77_FUNC'
   66 | #define F77_FUNC(name,NAME) name ## _
      |                             ^~~~
/usr/include/SuiteSparse_config.h:972:6: error: conflicting declaration of C
function 'void zherk_(const char*, const char*, const int32_t*, const
int32_t*, const void*, const void*, const int32_t*, const void*, void*, const
int32_t*)'
  972 | void SUITESPARSE_BLAS_ZHERK         // C = alpha*A*A^H + beta*C, or
A^H*A
      |      ^~~~~~~~~~~~~~~~~~~~~~
liboctave/numeric/lo-lapack-proto.h:1361:13: note: previous declaration 'void
zherk_(const char*, const char*, const F77_INT&, const F77_INT&, const
F77_DBLE&, const F77_DBLE_CMPLX*, const F77_INT&, const F77_DBLE&,
F77_DBLE_CMPLX*, const F77_INT&, std::size_t, std::size_t)'
 1361 |   F77_FUNC (zherk, ZHERK) (F77_CONST_CHAR_ARG_DECL,
      |             ^~~~~
./config.h:66:29: note: in definition of macro 'F77_FUNC'
   66 | #define F77_FUNC(name,NAME) name ## _
      |                             ^~~~
/usr/include/SuiteSparse_config.h:1002:6: error: conflicting declaration of C
function 'void dpotrf_(const char*, const int32_t*, double*, const int32_t*,
int32_t*)'
 1002 | void SUITESPARSE_LAPACK_DPOTRF      // Cholesky factorization
      |      ^~~~~~~~~~~~~~~~~~~~~~~~~
liboctave/numeric/lo-lapack-proto.h:1602:13: note: previous declaration 'void
dpotrf_(const char*, const F77_INT&, F77_DBLE*, const F77_INT&, F77_INT&,
std::size_t)'
 1602 |   F77_FUNC (dpotrf, DPOTRF) (F77_CONST_CHAR_ARG_DECL,
      |             ^~~~~~
./config.h:66:29: note: in definition of macro 'F77_FUNC'
   66 | #define F77_FUNC(name,NAME) name ## _
      |                             ^~~~
/usr/include/SuiteSparse_config.h:1028:6: error: conflicting declaration of C
function 'void zpotrf_(const char*, const int32_t*, void*, const int32_t*,
int32_t*)'
 1028 | void SUITESPARSE_LAPACK_ZPOTRF      // Cholesky factorization
      |      ^~~~~~~~~~~~~~~~~~~~~~~~~
liboctave/numeric/lo-lapack-proto.h:1614:13: note: previous declaration 'void
zpotrf_(const char*, const F77_INT&, F77_DBLE_CMPLX*, const F77_INT&,
F77_INT&, std::size_t)'
 1614 |   F77_FUNC (zpotrf, ZPOTRF) (F77_CONST_CHAR_ARG_DECL,
      |             ^~~~~~
./config.h:66:29: note: in definition of macro 'F77_FUNC'
   66 | #define F77_FUNC(name,NAME) name ## _
      |                             ^~~~
make[2]: *** [Makefile:21516: liboctave/array/libarray_la-dSparse.lo] Error 1








    _______________________________________________________

Reply to this item at:

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

_______________________________________________
Mensaje enviado vía Savannah
https://savannah.gnu.org/




reply via email to

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