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

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

[Octave-bug-tracker] [bug #63358] Compilation error against suitesparse


From: anonyme
Subject: [Octave-bug-tracker] [bug #63358] Compilation error against suitesparse 6.0.0
Date: Sun, 13 Nov 2022 10:17:01 -0500 (EST)

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

                 Summary: Compilation error against suitesparse 6.0.0
                 Project: GNU Octave
               Submitter: None
               Submitted: dim. 13 nov. 2022 15:16:59
                Category: Configuration and Build System
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Unexpected Error or Warning
                  Status: None
             Assigned to: None
         Originator Name: Thierry Thomas
        Originator Email: thierry@FreeBSD.org
             Open/Closed: Open
                 Release: other
         Discussion Lock: Any
        Operating System: BSD


    _______________________________________________________

Follow-up Comments:


-------------------------------------------------------
Date: dim. 13 nov. 2022 15:16:59     By: Anonymous
Building octave 7.3.0 against suitesparse 6.0.0 fails with this error:

libtool: compile:  c++ -DHAVE_CONFIG_H -I. -Iliboctave -I./liboctave
-I./liboctave/array -Iliboctave/numeric -I./liboctave/numeric
-Iliboctave/operators -I./liboctave/operators -I./liboctave/system
-I./liboctave/util -I./liboctave/wrappers -I/usr/local/include
-I/usr/local/include -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG
-D_THREAD_SAFE -fPIC -pthread -Wall -W -Wshadow -Woverloaded-virtual
-Wold-style-cast -Wformat -Wpointer-arith -Wwrite-strings -Wcast-align
-Wcast-qual -O2 -pipe -I/usr/local/openjdk8/include/freebsd -DLIBICONV_PLUG
-fstack-protector-strong -fno-strict-aliasing -DLIBICONV_PLUG -MT
liboctave/array/libarray_la-MArray-fC.lo -MD -MP -MF
liboctave/array/.deps/libarray_la-MArray-fC.Tpo -c
liboctave/array/MArray-fC.cc  -fPIC -DPIC -o
liboctave/array/.libs/libarray_la-MArray-fC.o
In file included from liboctave/array/CSparse.cc:55:
In file included from ./liboctave/util/oct-sparse.h:39:
In file included from /usr/local/include/suitesparse/amd.h:43:
/usr/local/include/suitesparse/SuiteSparse_config.h:942:6: error: conflicting
types for 'dsyrk_'
void SUITESPARSE_BLAS_DSYRK         // C = alpha*A*A' + beta*C, or A'A
     ^
/usr/local/include/suitesparse/SuiteSparse_config.h:655:37: note: expanded
from macro 'SUITESPARSE_BLAS_DSYRK'
#define SUITESPARSE_BLAS_DSYRK      SUITESPARSE_BLAS ( dsyrk  , DSYRK  )
                                    ^
/usr/local/include/suitesparse/SuiteSparse_config.h:643:41: note: expanded
from macro 'SUITESPARSE_BLAS'
    #define SUITESPARSE_BLAS(name,NAME) SUITESPARSE_FORTRAN(name,NAME)
                                        ^
/usr/local/include/suitesparse/SuiteSparse_config.h:555:44: note: expanded
from macro 'SUITESPARSE_FORTRAN'
    #define SUITESPARSE_FORTRAN(name,NAME) name##_
                                           ^
<scratch space>:373:1: note: expanded from here
dsyrk_
^
liboctave/numeric/lo-lapack-proto.h:1755:3: note: previous declaration is
here
  F77_FUNC (dsyrk, DSYRK) (F77_CONST_CHAR_ARG_DECL,
  ^
./config.h:66:29: note: expanded from macro 'F77_FUNC'
#define F77_FUNC(name,NAME) name ## _
                            ^
<scratch space>:288:1: note: expanded from here
dsyrk_
^

And also conflicting types for 'zherk_', 'dpotrf_', 'zpotrf_', etc.

Note: this is on FreeBSD-current and clang, but it seems unrelated.







    _______________________________________________________

Reply to this item at:

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

_______________________________________________
Message posté via Savannah
https://savannah.gnu.org/




reply via email to

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