bugGNU Octave - Bugs: bug #37134, 'CHOLMOD_NOT_POSDEF' was not...

 
 

bug #37134: 'CHOLMOD_NOT_POSDEF' was not declared in this scope

Submitter:  Stefan Husmann <haawda>
Submitted:  Fri 17 Aug 2012 09:18:44 PM UTC
   
 
Category:  Configuration and Build System Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Build Failure
Status:  Fixed Assigned to:  None
Originator Name:  Stefan Husmann Open/Closed:  * Closed
Release:  * dev Operating System:  * GNU/Linux
Fixed Release:  None Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Jump to the original submission

Thu 30 Aug 2012 05:49:32 PM UTC, comment #7: 

yes, this does the trick, thanks!

Torsten Lilge <ttl>
Group Member
Wed 29 Aug 2012 08:33:36 PM UTC, comment #6: 
Jordi Gutiérrez Hermoso <jordigh>
Group Member
Wed 29 Aug 2012 07:56:18 PM UTC, comment #5: 

Ah, I see now. You don't have suitesparse at all.

Ok, I'll work on a patch...

Jordi Gutiérrez Hermoso <jordigh>
Group Member
Wed 29 Aug 2012 07:54:29 PM UTC, comment #4: 

Checking my config.log I found the following:

configure:67906: WARNING: AMD library not found.  This will result in some lack of functionality for sparse matrices.
configure:67911: WARNING: CAMD library not found.  This will result in some lack of functionality for sparse matrices.
configure:67916: WARNING: COLAMD library not found.  This will result in some lack of functionality for sparse matrices.
configure:67921: WARNING: CCOLAMD library not found.  This will result in some lack of functionality for sparse matrices.
configure:67926: WARNING: CHOLMOD library not found.  This will result in some lack of functionality for sparse matrices.
configure:67931: WARNING: CXSparse library not found.  This will result in some lack of functionality for sparse matrices.
configure:67936: WARNING: UMFPACK not found.  This will result in some lack of functionality for sparse matrices.

Does "This will result in some lack of functionality" mean that the build will fail? I remember having seen these warnings before without build problems.

Torsten Lilge <ttl>
Group Member
Wed 29 Aug 2012 07:39:04 PM UTC, comment #3: 

What version of suitesparse are y'all using?

Jordi Gutiérrez Hermoso <jordigh>
Group Member
Wed 29 Aug 2012 07:36:48 PM UTC, comment #2: 

I still have to use the workaround proposed by Stefan. Otherwise the compilation of rev. 15250 on ubuntu 12.04 aborts with the same error message as described by Stefan.

Torsten Lilge <ttl>
Group Member
Thu 23 Aug 2012 04:37:50 PM UTC, comment #1: 

This is probably due to bug #37095
  https://savannah.gnu.org/bugs/?37095
but I do manage to compile without problem since Jordi pushed the fix and no one else seemed to have complained about it.

Guillaume <gyom>
Fri 17 Aug 2012 09:18:44 PM UTC, original submission:  

Building octave revision 15193 from mercurial-repo under Arch Linux x86_64 I get

libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I.. -I../libgnu -I../libgnu -I../libcruft/misc -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -pthread -I/usr/include/freetype2 -Wall -W -Wshadow -Wold-style-cast -Wformat -Wpointer-arith -Wwrite-strings -Wcast-align -Wcast-qual -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -pthread -MT liboctave_la-sparse-util.lo -MD -MP -MF .deps/liboctave_la-sparse-util.Tpo -c sparse-util.cc  -fPIC -DPIC -o .libs/liboctave_la-sparse-util.o
sparse-util.cc: In function 'void SparseCholError(int, const char*, int, const char*)':
sparse-util.cc:46:17: error: 'CHOLMOD_NOT_POSDEF' was not declared in this scope

Workaround: Add

#define CHOLMOD_NOT_POSDEF (1)

in e.g. line 40 of liboctave/sparse_util.cc

Stefan Husmann <haawda>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by jordigh (Posted a comment)
  • -email is unavailable- added by ttl (Posted a comment)
  • -email is unavailable- added by gyom (Posted a comment)
  • -email is unavailable- added by gyom
  • -email is unavailable- added by haawda (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only group members can vote.

     

    Follow 3 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2012-08-29 jordigh StatusNone Fixed
        Open/ClosedOpen Closed
    2012-08-23 gyom Carbon-Copy- Added jordigh

    Back to the top

    Powered by Savane 3.13-4b48.
    Corresponding source code