octave-maintainers
[Top][All Lists]
Advanced

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

Re: Wrapper dylib to fix OSX libBLAS & libLAPACK with -m64 (Re: 3.5.0+ c


From: Richard Campbell
Subject: Re: Wrapper dylib to fix OSX libBLAS & libLAPACK with -m64 (Re: 3.5.0+ compiled on Mac OSX 10.6.6)
Date: Fri, 28 Jan 2011 15:02:58 -0500

On Jan 28, 2011, at 2:34 PM, Richard Campbell wrote:

> Okay, make failed here:
> 
> /bin/sh ../libtool  --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I. -I..   
>          -m64 -D_REENTRANT -I../libgnu -I../libgnu -I../libcruft/misc -m64 
> -D_REENTRANT -g -O2  -DHAVE_CONFIG_H -I/usr/X11/include/freetype2 
> -I/usr/X11/include -Wall -W -Wshadow -Wold-style-cast -Wformat -g -O2 
> -D_THREAD_SAFE -pthread -g -O2 -MT liboctave_la-boolSparse.lo -MD -MP -MF 
> .deps/liboctave_la-boolSparse.Tpo -c -o liboctave_la-boolSparse.lo `test -f 
> 'boolSparse.cc' || echo './'`boolSparse.cc
> libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I.. -m64 -D_REENTRANT -I../libgnu 
> -I../libgnu -I../libcruft/misc -m64 -D_REENTRANT -g -O2 -DHAVE_CONFIG_H 
> -I/usr/X11/include/freetype2 -I/usr/X11/include -Wall -W -Wshadow 
> -Wold-style-cast -Wformat -g -O2 -D_THREAD_SAFE -pthread -g -O2 -MT 
> liboctave_la-boolSparse.lo -MD -MP -MF .deps/liboctave_la-boolSparse.Tpo -c 
> boolSparse.cc  -fno-common -DPIC -o .libs/liboctave_la-boolSparse.o
> boolSparse.cc: In member function ‘SparseBoolMatrix 
> SparseBoolMatrix::any(int) const’:
> boolSparse.cc:176: error: call of overloaded ‘idx_vector(int)’ is ambiguous
> idx-vector.h:519: note: candidates are: idx_vector::idx_vector(const 
> idx_vector&)
> idx-vector.h:498: note:                 idx_vector::idx_vector(bool)
> idx-vector.h:495: note:                 idx_vector::idx_vector(float)
> idx-vector.h:493: note:                 idx_vector::idx_vector(double)
> idx-vector.h:486: note:                 idx_vector::idx_vector(char)
> idx-vector.h:458: note:                 
> idx_vector::idx_vector(octave_idx_type)
> idx-vector.h:421: note:                 
> idx_vector::idx_vector(idx_vector::idx_base_rep*)
> boolSparse.cc: In member function ‘SparseMatrix SparseBoolMatrix::sum(int) 
> const’:
> boolSparse.cc:224: error: call of overloaded ‘idx_vector(int)’ is ambiguous
> idx-vector.h:519: note: candidates are: idx_vector::idx_vector(const 
> idx_vector&)
> idx-vector.h:498: note:                 idx_vector::idx_vector(bool)
> idx-vector.h:495: note:                 idx_vector::idx_vector(float)
> idx-vector.h:493: note:                 idx_vector::idx_vector(double)
> idx-vector.h:486: note:                 idx_vector::idx_vector(char)
> idx-vector.h:458: note:                 
> idx_vector::idx_vector(octave_idx_type)
> idx-vector.h:421: note:                 
> idx_vector::idx_vector(idx_vector::idx_base_rep*)
> make[3]: *** [liboctave_la-boolSparse.lo] Error 1
> make[2]: *** [all] Error 2
> make[1]: *** [all-recursive] Error 1
> make: *** [all] Error 2
> 
> 
> On Jan 28, 2011, at 2:32 PM, Richard Campbell wrote:
> 
>> Never mind, I saved the first one as blaswrap.c. I changed /opt/local/lib to 
>> /usr/local/lib, it passed configure, and it's making now. I'll let you know 
>> if it works.
>> 
>> On Jan 28, 2011, at 2:20 PM, Richard Campbell wrote:
>> 
>>> Jarno,
>>> 
>>> How do I open the .obj file attached to your email? I want to try this 
>>> patch. I have a 32-bit build working with only two dependencies over 
>>> vanilla OSX without Macports or Fink.
>>> 
>>> Campbell
>> 
> 


So it turns out I had preemptively tried --enable-64 last time. I got rid of it 
and it successfully built. But it doesn't run:

[cara:~/Downloads/octave-3.3.54] xnk% ./run-octave
dyld: Symbol not found: 
__ZNSt15basic_stringbufIcSt11char_traitsIcESaIcEE7seekoffElSt12_Ios_SeekdirSt13_Ios_Openmode
  Referenced from: 
/Users/xnk/Downloads/octave-3.3.54/src/.libs/liboctinterp-3.3.54.dylib
  Expected in: flat namespace
 in /Users/xnk/Downloads/octave-3.3.54/src/.libs/liboctinterp-3.3.54.dylib
Trace/BPT trap



reply via email to

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