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

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

[Octave-bug-tracker] [bug #37031] Building Octave with SuiteSparse-4.x.x


From: Ben Abbott
Subject: [Octave-bug-tracker] [bug #37031] Building Octave with SuiteSparse-4.x.x
Date: Mon, 06 Aug 2012 02:18:28 +0000
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_7_4) AppleWebKit/537.1 (KHTML, like Gecko) Chrome/21.0.1180.57 Safari/537.1

Follow-up Comment #1, bug #37031 (project octave):

I have a test program (below) that looks to do the job.


#include "umfpack.h"
int
main ()
{
  double stats [2];
  umfpack_tic (stats);
  umfpack_toc (stats);
  return 0;
}


If built without the SuiteSparse lib I get;


$ gcc -o conftest conftest.cc -I/opt/local/include -L/opt/local/lib 
-lumfpack
Undefined symbols for architecture x86_64:
  "_SuiteSparse_time", referenced from:
      _umfpack_tic in libumfpack.a(umfpack_gn_tictoc.o)
      _umfpack_toc in libumfpack.a(umfpack_gn_tictoc.o)
ld: symbol(s) not found for architecture x86_64


If built with the SuiteSparse library there is no error.


$gcc -o conftest conftest.cc -I/opt/local/include -L/opt/local/lib -lumfpack
-lSuiteSparse


Looks like this will be easy to use to create a changeset to allow Octave to
link against SuiteSparse 4.0.x.  I have a busy schedule and may not get to
this quickly.  If anyone is in a hurry, please feel free to take this on.

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?37031>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

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