help-octave
[Top][All Lists]
Advanced

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

Re: ltfat 1.4.2 released


From: Alexander Hansen
Subject: Re: ltfat 1.4.2 released
Date: Thu, 19 Sep 2013 08:02:31 -0700
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:17.0) Gecko/20130801 Thunderbird/17.0.8

On 9/19/13 6:48 AM, Lukas Reichlin wrote:
On 19.09.2013, at 15:41, address@hidden wrote:

On 18.09.2013, at 18:17, Alexander Hansen <address@hidden>
wrote:

On 9/18/13 2:05 AM, Lukas Reichlin wrote:
On 18.09.2013, at 10:57, address@hidden wrote:

On 18.09.2013, at 10:27, address@hidden wrote:


Hi,

The configure script couldn't find my fftw library, please find the
error
message and the octave_config_info below.
I'm using Mac OS X 10.8.5 with Octave 3.6.4 installed by the Fink
package
manager.

I have not tested the package on MacOS, so I am not surprised. Could
you
try to install it from here, and tell me if it works?

http://ltfat.sourceforge.net/devel/ltfat-1.4.2.tar.gz

The package is identical, except that I deleted the check for the
header.
The point is, if Octave is installed then so is fftw, so there is no
need
to check for the library anyway.

Cheers,
Peter.



Hi Peter

Please find the error message below.

Regards,
Lukas


octave:1> pkg install ltfat*


<snip>


In file included from ./ltfat_oct_template_helper.h:6:
../src/ltfat.h:8:10: fatal error: 'cblas.h' file not found
#include "cblas.h"
        ^

Please try to install the package from the same link again:

http://ltfat.sourceforge.net/devel/ltfat-1.4.2.tar.gz

I updated the Makefile so it should be able to find cblas.h

Cheers,
Peter.

Hmm, I CC'ed Alexander Hansen, the Fink maintainer. Maybe he has some
tips?

octave:1> pkg install ltfat*
ar: creating archive libltfat.a
/usr/bin/ranlib: file: libltfat.a(dspread.o) has no symbols
/usr/bin/ranlib: file: libltfat.a(dgabdual.o) has no symbols
/usr/bin/ranlib: file: libltfat.a(dgabtight.o) has no symbols
ranlib: file: libltfat.a(dspread.o) has no symbols
ranlib: file: libltfat.a(dgabdual.o) has no symbols
ranlib: file: libltfat.a(dgabtight.o) has no symbols
ar: creating archive libltfatf.a
/usr/bin/ranlib: file: libltfatf.a(sspread.o) has no symbols
/usr/bin/ranlib: file: libltfatf.a(sgabdual.o) has no symbols
/usr/bin/ranlib: file: libltfatf.a(sgabtight.o) has no symbols
ranlib: file: libltfatf.a(sspread.o) has no symbols
ranlib: file: libltfatf.a(sgabdual.o) has no symbols
ranlib: file: libltfatf.a(sgabtight.o) has no symbols
In file included from comp_atrousfilterbank_td.cc:9:
In file included from ./ltfat_oct_template_helper.h:4:
In file included from
/sw/include/octave-3.6.4/octave/../octave/oct.h:36:
In file included from /sw/include/octave-3.6.4/octave/defun-dld.h:30:
In file included from /sw/include/octave-3.6.4/octave/defun-int.h:28:
In file included from /sw/include/octave-3.6.4/octave/ov-builtin.h:28:
In file included from /sw/include/octave-3.6.4/octave/ov-fcn.h:35:
In file included from /sw/include/octave-3.6.4/octave/symtab.h:34:
/sw/include/octave-3.6.4/octave/regexp.h:90:3: warning: 'opts' defined
as a struct here but previously declared as a
      class [-Wmismatched-tags]
  struct opts
  ^
/sw/include/octave-3.6.4/octave/regexp.h:40:3: note: did you mean
struct here?
  class opts;
  ^~~~~
  struct
1 warning generated.
Undefined symbols for architecture x86_64:
  "_cgemm_", referenced from:
      _ltfat_gemm_s in libltfatf.a(sltfat_blaslapack.o)
  "_cgesvd_", referenced from:
      _ltfat_gesvd_s in libltfatf.a(sltfat_blaslapack.o)
  "_cposv_", referenced from:
      _ltfat_posv_s in libltfatf.a(sltfat_blaslapack.o)
  "_fftw_execute", referenced from:
      _iwfac_d in libltfat.a(diwfac.o)
      _iwfacreal_d in libltfat.a(diwfac.o)
      _iwfac_r_d in libltfat.a(diwfac.o)
      _wfac_d in libltfat.a(dwfac.o)
      _wfacreal_d in libltfat.a(dwfac.o)
      _wfac_r_d in libltfat.a(dwfac.o)
  "_fftw_free", referenced from:
      _ltfat_free in libltfat.a(c-safe-memalloc.o)
      _ltfat_realloc in libltfat.a(c-safe-memalloc.o)
      _ltfat_realloc_and_copy in libltfat.a(c-safe-memalloc.o)
  "_fftw_malloc", referenced from:
      _ltfat_malloc in libltfat.a(c-safe-memalloc.o)
      _ltfat_realloc in libltfat.a(c-safe-memalloc.o)
      _ltfat_calloc in libltfat.a(c-safe-memalloc.o)
      _ltfat_realloc_and_copy in libltfat.a(c-safe-memalloc.o)
  "_fftw_plan_dft_1d", referenced from:
      _iwfac_d in libltfat.a(diwfac.o)
      _iwfac_r_d in libltfat.a(diwfac.o)
      _wfac_d in libltfat.a(dwfac.o)
      _wfac_r_d in libltfat.a(dwfac.o)
  "_fftw_plan_dft_c2r_1d", referenced from:
      _iwfacreal_d in libltfat.a(diwfac.o)
  "_fftw_plan_dft_r2c_1d", referenced from:
      _wfacreal_d in libltfat.a(dwfac.o)
  "_fftwf_execute", referenced from:
      _iwfac_s in libltfatf.a(siwfac.o)
      _iwfacreal_s in libltfatf.a(siwfac.o)
      _iwfac_r_s in libltfatf.a(siwfac.o)
      _wfac_s in libltfatf.a(swfac.o)
      _wfacreal_s in libltfatf.a(swfac.o)
      _wfac_r_s in libltfatf.a(swfac.o)
  "_fftwf_plan_dft_1d", referenced from:
      _iwfac_s in libltfatf.a(siwfac.o)
      _iwfac_r_s in libltfatf.a(siwfac.o)
      _wfac_s in libltfatf.a(swfac.o)
      _wfac_r_s in libltfatf.a(swfac.o)
  "_fftwf_plan_dft_c2r_1d", referenced from:
      _iwfacreal_s in libltfatf.a(siwfac.o)
  "_fftwf_plan_dft_r2c_1d", referenced from:
      _wfacreal_s in libltfatf.a(swfac.o)
  "_zgemm_", referenced from:
      _ltfat_gemm_d in libltfat.a(dltfat_blaslapack.o)
  "_zgesvd_", referenced from:
      _ltfat_gesvd_d in libltfat.a(dltfat_blaslapack.o)
  "_zposv_", referenced from:
      _ltfat_posv_d in libltfat.a(dltfat_blaslapack.o)
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see
invocation)
make[1]: *** [comp_atrousfilterbank_td.oct] Error 1
make: *** [all] Error 2
'make' returned the following error: make -f Makefile_unix
gcc -w -O3 -fpic -std=c99 -Ithirdparty -fvisibility=hidden
-DLTFAT_DOUBLE  -c dgt.c -o ddgt.o
gcc -w -O3 -fpic -std=c99 -Ithirdparty -fvisibility=hidden
-DLTFAT_DOUBLE  -c dgt_fac.c -o ddgt_fac.o
gcc -w -O3 -fpic -std=c99 -Ithirdparty -fvisibility=hidden
-DLTFAT_DOUBLE  -c dgt_fb.c -o ddgt_fb.o
gcc -w -O3 -fpic -std=c99 -Ithirdparty -fvisibility=hidden
-DLTFAT_DOUBLE  -c dgt_multi.c -o ddgt_multi.o
gcc -w -O3 -fpic -std=c99 -Ithirdparty -fvisibility=hidden
-DLTFAT_DOUBLE  -c dgt_ola.c -o ddgt_ola.o
gcc -w -O3 -fpic -std=c99 -Ithirdparty -fvisibility=hidden
-DLTFAT_DOUBLE  -c dgt_shear.c -o ddgt_shear.o
gcc -w -O3 -fpic -std=c99 -Ithirdparty -fvisibility=hidden
-DLTFAT_DOUBLE  -c dgt_walnut.c -o ddgt_walnut.o
gcc -w -O3 -fpic -std=c99 -Ithirdparty -fvisibility=hidden
-DLTFAT_DOUBLE  -c dgtreal_fac.c -o ddgtreal_fac.o
gcc -w -O3 -fpic -std=c99 -Ithirdparty -fvisibility=hidden
-DLTFAT_DOUBLE  -c dwilt.c -o ddwilt.o
gcc -w -O3 -fpic -std=c99 -Ithirdparty -fvisibility=hidden
-DLTFAT_DOUBLE  -c filterbank.c -o dfilterbank.o
gcc -w -O3 -fpic -std=c99 -Ithirdparty -fvisibility=hidden
-DLTFAT_DOUBLE  -c heapint.c -o dheapint.o
gcc -w -O3 -fpic -std=c99 -Ithirdparty -fvisibility=hidden
-DLTFAT_DOUBLE  -c idgt_fac.c -o didgt_fac.o
gcc -w -O3 -fpic -std=c99 -Ithirdparty -fvisibility=hidden
-DLTFAT_DOUBLE  -c idgt_fb.c -o didgt_fb.o
gcc -w -O3 -fpic -std=c99 -Ithirdparty -fvisibility=hidden
-DLTFAT_DOUBLE  -c iwfac.c -o diwfac.o
gcc -w -O3 -fpic -std=c99 -Ithirdparty -fvisibility=hidden
-DLTFAT_DOUBLE  -c pfilt.c -o dpfilt.o
gcc -w -O3 -fpic -std=c99 -Ithirdparty -fvisibility=hidden
-DLTFAT_DOUBLE  -c reassign.c -o dreassign.o
gcc -w -O3 -fpic -std=c99 -Ithirdparty -fvisibility=hidden
-DLTFAT_DOUBLE  -c spread.c -o dspread.o
gcc -w -O3 -fpic -std=c99 -Ithirdparty -fvisibility=hidden
-DLTFAT_DOUBLE  -c tfutil.c -o dtfutil.o
gcc -w -O3 -fpic -std=c99 -Ithirdparty -fvisibility=hidden
-DLTFAT_DOUBLE  -c wfac.c -o dwfac.o
gcc -w -O3 -fpic -std=c99 -Ithirdparty -fvisibility=hidden
-DLTFAT_DOUBLE  -c windows.c -o dwindows.o
gcc -w -O3 -fpic -std=c99 -Ithirdparty -fvisibility=hidden
-DLTFAT_DOUBLE  -c winmanip.c -o dwinmanip.o
gcc -w -O3 -fpic -std=c99 -Ithirdparty -fvisibility=hidden
-DLTFAT_DOUBLE  -c ltfat_complexindependent.c -o
dltfat_complexindependent.o
gcc -w -O3 -fpic -std=c99 -Ithirdparty -fvisibility=hidden
-DLTFAT_DOUBLE  -c dgt_shearola.c -o ddgt_shearola.o
gcc -w -O3 -fpic -std=c99 -Ithirdparty -fvisibility=hidden
-DLTFAT_DOUBLE  -c ltfat_blaslapack.c -o dltfat_blaslapack.o
gcc -w -O3 -fpic -std=c99 -Ithirdparty -fvisibility=hidden
-DLTFAT_DOUBLE  -c gabdual.c -o dgabdual.o
gcc -w -O3 -fpic -std=c99 -Ithirdparty -fvisibility=hidden
-DLTFAT_DOUBLE  -c gabtight.c -o dgabtight.o
gcc -w -O3 -fpic -std=c99 -Ithirdparty -fvisibility=hidden
-DLTFAT_DOUBLE  -c gabdual_fac.c -o dgabdual_fac.o
gcc -w -O3 -fpic -std=c99 -Ithirdparty -fvisibility=hidden
-DLTFAT_DOUBLE  -c gabtight_fac.c -o dgabtight_fac.o
gcc -w -O3 -fpic -std=c99 -Ithirdparty -fvisibility=hidden
-DCOMPILING_LTFAT -DLTFAT_DLL_NEVERUSED -DLTFAT_BACKEND_EXPORTS
-DLTFAT_DOUBLE  -c c-safe-memalloc.c
gcc -w -O3 -fpic -std=c99 -Ithirdparty -fvisibility=hidden
-DCOMPILING_LTFAT -DLTFAT_DLL_NEVERUSED -DLTFAT_BACKEND_EXPORTS
-DLTFAT_DOUBLE  -c integer_manip.c
ar rvu libltfat.a ddgt.o ddgt_fac.o ddgt_fb.o ddgt_multi.o ddgt_ola.o
ddgt_shear.o ddgt_walnut.o ddgtreal_fac.o ddwilt.o dfilterbank.o
dheapint.o didgt_fac.o didgt_fb.o diwfac.o dpfilt.o dreassign.o
dspread.o dtfutil.o dwfac.o dwindows.o dwinmanip.o
dltfat_complexindependent.o ddgt_shearola.o dltfat_blaslapack.o
dgabdual.o dgabtight.o dgabdual_fac.o dgabtight_fac.o c-safe-memalloc.o
integer_manip.o
a - ddgt.o
a - ddgt_fac.o
a - ddgt_fb.o
a - ddgt_multi.o
a - ddgt_ola.o
a - ddgt_shear.o
a - ddgt_walnut.o
a - ddgtreal_fac.o
a - ddwilt.o
a - dfilterbank.o
a - dheapint.o
a - didgt_fac.o
a - didgt_fb.o
a - diwfac.o
a - dpfilt.o
a - dreassign.o
a - dspread.o
a - dtfutil.o
a - dwfac.o
a - dwindows.o
a - dwinmanip.o
a - dltfat_complexindependent.o
a - ddgt_shearola.o
a - dltfat_blaslapack.o
a - dgabdual.o
a - dgabtight.o
a - dgabdual_fac.o
a - dgabtight_fac.o
a - c-safe-memalloc.o
a - integer_manip.o
ranlib libltfat.a
cp -f libltfat.a ../lib
gcc -w -O3 -fpic -std=c99 -Ithirdparty -fvisibility=hidden
-DLTFAT_SINGLE  -c dgt.c -o sdgt.o
gcc -w -O3 -fpic -std=c99 -Ithirdparty -fvisibility=hidden
-DLTFAT_SINGLE  -c dgt_fac.c -o sdgt_fac.o
gcc -w -O3 -fpic -std=c99 -Ithirdparty -fvisibility=hidden
-DLTFAT_SINGLE  -c dgt_fb.c -o sdgt_fb.o
gcc -w -O3 -fpic -std=c99 -Ithirdparty -fvisibility=hidden
-DLTFAT_SINGLE  -c dgt_multi.c -o sdgt_multi.o
gcc -w -O3 -fpic -std=c99 -Ithirdparty -fvisibility=hidden
-DLTFAT_SINGLE  -c dgt_ola.c -o sdgt_ola.o
gcc -w -O3 -fpic -std=c99 -Ithirdparty -fvisibility=hidden
-DLTFAT_SINGLE  -c dgt_shear.c -o sdgt_shear.o
gcc -w -O3 -fpic -std=c99 -Ithirdparty -fvisibility=hidden
-DLTFAT_SINGLE  -c dgt_walnut.c -o sdgt_walnut.o
gcc -w -O3 -fpic -std=c99 -Ithirdparty -fvisibility=hidden
-DLTFAT_SINGLE  -c dgtreal_fac.c -o sdgtreal_fac.o
gcc -w -O3 -fpic -std=c99 -Ithirdparty -fvisibility=hidden
-DLTFAT_SINGLE  -c dwilt.c -o sdwilt.o
gcc -w -O3 -fpic -std=c99 -Ithirdparty -fvisibility=hidden
-DLTFAT_SINGLE  -c filterbank.c -o sfilterbank.o
gcc -w -O3 -fpic -std=c99 -Ithirdparty -fvisibility=hidden
-DLTFAT_SINGLE  -c heapint.c -o sheapint.o
gcc -w -O3 -fpic -std=c99 -Ithirdparty -fvisibility=hidden
-DLTFAT_SINGLE  -c idgt_fac.c -o sidgt_fac.o
gcc -w -O3 -fpic -std=c99 -Ithirdparty -fvisibility=hidden
-DLTFAT_SINGLE  -c idgt_fb.c -o sidgt_fb.o
gcc -w -O3 -fpic -std=c99 -Ithirdparty -fvisibility=hidden
-DLTFAT_SINGLE  -c iwfac.c -o siwfac.o
gcc -w -O3 -fpic -std=c99 -Ithirdparty -fvisibility=hidden
-DLTFAT_SINGLE  -c pfilt.c -o spfilt.o
gcc -w -O3 -fpic -std=c99 -Ithirdparty -fvisibility=hidden
-DLTFAT_SINGLE  -c reassign.c -o sreassign.o
gcc -w -O3 -fpic -std=c99 -Ithirdparty -fvisibility=hidden
-DLTFAT_SINGLE  -c spread.c -o sspread.o
gcc -w -O3 -fpic -std=c99 -Ithirdparty -fvisibility=hidden
-DLTFAT_SINGLE  -c tfutil.c -o stfutil.o
gcc -w -O3 -fpic -std=c99 -Ithirdparty -fvisibility=hidden
-DLTFAT_SINGLE  -c wfac.c -o swfac.o
gcc -w -O3 -fpic -std=c99 -Ithirdparty -fvisibility=hidden
-DLTFAT_SINGLE  -c windows.c -o swindows.o
gcc -w -O3 -fpic -std=c99 -Ithirdparty -fvisibility=hidden
-DLTFAT_SINGLE  -c winmanip.c -o swinmanip.o
gcc -w -O3 -fpic -std=c99 -Ithirdparty -fvisibility=hidden
-DLTFAT_SINGLE  -c ltfat_complexindependent.c -o
sltfat_complexindependent.o
gcc -w -O3 -fpic -std=c99 -Ithirdparty -fvisibility=hidden
-DLTFAT_SINGLE  -c dgt_shearola.c -o sdgt_shearola.o
gcc -w -O3 -fpic -std=c99 -Ithirdparty -fvisibility=hidden
-DLTFAT_SINGLE  -c ltfat_blaslapack.c -o sltfat_blaslapack.o
gcc -w -O3 -fpic -std=c99 -Ithirdparty -fvisibility=hidden
-DLTFAT_SINGLE  -c gabdual.c -o sgabdual.o
gcc -w -O3 -fpic -std=c99 -Ithirdparty -fvisibility=hidden
-DLTFAT_SINGLE  -c gabtight.c -o sgabtight.o
gcc -w -O3 -fpic -std=c99 -Ithirdparty -fvisibility=hidden
-DLTFAT_SINGLE  -c gabdual_fac.c -o sgabdual_fac.o
gcc -w -O3 -fpic -std=c99 -Ithirdparty -fvisibility=hidden
-DLTFAT_SINGLE  -c gabtight_fac.c -o sgabtight_fac.o
ar rvu libltfatf.a sdgt.o sdgt_fac.o sdgt_fb.o sdgt_multi.o sdgt_ola.o
sdgt_shear.o sdgt_walnut.o sdgtreal_fac.o sdwilt.o sfilterbank.o
sheapint.o sidgt_fac.o sidgt_fb.o siwfac.o spfilt.o sreassign.o
sspread.o stfutil.o swfac.o swindows.o swinmanip.o
sltfat_complexindependent.o sdgt_shearola.o sltfat_blaslapack.o
sgabdual.o sgabtight.o sgabdual_fac.o sgabtight_fac.o
a - sdgt.o
a - sdgt_fac.o
a - sdgt_fb.o
a - sdgt_multi.o
a - sdgt_ola.o
a - sdgt_shear.o
a - sdgt_walnut.o
a - sdgtreal_fac.o
a - sdwilt.o
a - sfilterbank.o
a - sheapint.o
a - sidgt_fac.o
a - sidgt_fb.o
a - siwfac.o
a - spfilt.o
a - sreassign.o
a - sspread.o
a - stfutil.o
a - swfac.o
a - swindows.o
a - swinmanip.o
a - sltfat_complexindependent.o
a - sdgt_shearola.o
a - sltfat_blaslapack.o
a - sgabdual.o
a - sgabtight.o
a - sgabdual_fac.o
a - sgabtight_fac.o
ranlib libltfatf.a
cp -f libltfatf.a ../lib
make -C ../oct -f Makefile_unix
mkoctfile -Wall -I../thirdparty -I. -I../src -I../src/thirdparty
-L../lib -lltfat -lltfatf comp_atrousfilterbank_td.cc
error: called from 'pkg>configure_make' in file
/sw/share/octave/3.6.4/m/pkg/pkg.m near line 1385, column 9
error: called from:
error:   /sw/share/octave/3.6.4/m/pkg/pkg.m at line 827, column 5
error:   /sw/share/octave/3.6.4/m/pkg/pkg.m at line 383, column 9
octave:1>



If you're using the -ref variant (built against the unoptimized
reference LAPACK) for Octave, the issue is that the LAPACK source
doesn't have a cblas.h, and so one isn't installed by that.

It also appears that the configuration isn't picking up the cblas.h from
Accelerate.framework, i.e. the built-in BLAS/LAPACK on OS X.

I'm presuming (without having tried it yet) that this would work
properly against our -atlas variant without any patching, since that's
got a cblas.h in the include path, as expected.

I'm open to suggestions about a BLAS to use to go along with the bare
LAPACK.  We've got a tracker submission for openblas:

http://sourceforge.net/p/fink/package-submissions/4293/

but I've been too busy to play around with it.
--
Alexander Hansen, Ph.D.
Fink User Liaison
My package updates: http://finkakh.wordpress.com/

Thank you Alexander. Peter, would these commands from the control package
solve the problem?

MKOCTFILE ?= mkoctfile

ifndef LAPACK_LIBS
LAPACK_LIBS := $(shell $(MKOCTFILE) -p LAPACK_LIBS)
endif
ifndef BLAS_LIBS
BLAS_LIBS := $(shell $(MKOCTFILE) -p BLAS_LIBS)
endif
ifndef FLIBS
FLIBS := $(shell $(MKOCTFILE) -p FLIBS)
endif
LFLAGS := $(shell $(MKOCTFILE) -p LFLAGS) $(LAPACK_LIBS) $(BLAS_LIBS)
$(FLIBS)


http://sourceforge.net/p/octave/control/ci/default/tree/src/Makefile

Brilliant, that might work, I had no clue that I could use mkoctfile to
provide the path to the libraries.

I cannot test it, as I don't have a Mac (and it already works on Linux),
but I have uploaded a new development package at the usual place:

http://ltfat.sourceforge.net/devel/ltfat-1.4.2.tar.gz

Please try it out.

Cheers,
Peter.




Hmm, there are still errors:

octave:1> pkg install ltfat*
ar: creating archive libltfat.a
/usr/bin/ranlib: file: libltfat.a(dspread.o) has no symbols
/usr/bin/ranlib: file: libltfat.a(dgabdual.o) has no symbols
/usr/bin/ranlib: file: libltfat.a(dgabtight.o) has no symbols
ranlib: file: libltfat.a(dspread.o) has no symbols
ranlib: file: libltfat.a(dgabdual.o) has no symbols
ranlib: file: libltfat.a(dgabtight.o) has no symbols
ar: creating archive libltfatf.a
/usr/bin/ranlib: file: libltfatf.a(sspread.o) has no symbols
/usr/bin/ranlib: file: libltfatf.a(sgabdual.o) has no symbols
/usr/bin/ranlib: file: libltfatf.a(sgabtight.o) has no symbols
ranlib: file: libltfatf.a(sspread.o) has no symbols
ranlib: file: libltfatf.a(sgabdual.o) has no symbols
ranlib: file: libltfatf.a(sgabtight.o) has no symbols
In file included from comp_atrousfilterbank_td.cc:9:
In file included from ./ltfat_oct_template_helper.h:4:
In file included from /sw/include/octave-3.6.4/octave/../octave/oct.h:36:
In file included from /sw/include/octave-3.6.4/octave/defun-dld.h:30:
In file included from /sw/include/octave-3.6.4/octave/defun-int.h:28:
In file included from /sw/include/octave-3.6.4/octave/ov-builtin.h:28:
In file included from /sw/include/octave-3.6.4/octave/ov-fcn.h:35:
In file included from /sw/include/octave-3.6.4/octave/symtab.h:34:
/sw/include/octave-3.6.4/octave/regexp.h:90:3: warning: 'opts' defined as a 
struct here but previously declared as a
       class [-Wmismatched-tags]
   struct opts
   ^
/sw/include/octave-3.6.4/octave/regexp.h:40:3: note: did you mean struct here?
   class opts;
   ^~~~~
   struct
1 warning generated.
Undefined symbols for architecture x86_64:
   "_cgemm_", referenced from:
       _ltfat_gemm_s in libltfatf.a(sltfat_blaslapack.o)
   "_cgesvd_", referenced from:
       _ltfat_gesvd_s in libltfatf.a(sltfat_blaslapack.o)
   "_cposv_", referenced from:
       _ltfat_posv_s in libltfatf.a(sltfat_blaslapack.o)
   "_fftw_execute", referenced from:
       _iwfac_d in libltfat.a(diwfac.o)
       _iwfac_r_d in libltfat.a(diwfac.o)
       _iwfacreal_d in libltfat.a(diwfac.o)
       _wfac_d in libltfat.a(dwfac.o)
       _wfac_r_d in libltfat.a(dwfac.o)
       _wfacreal_d in libltfat.a(dwfac.o)
   "_fftw_free", referenced from:
       _ltfat_realloc in libltfat.a(c-safe-memalloc.o)
       _ltfat_free in libltfat.a(c-safe-memalloc.o)
       _ltfat_realloc_and_copy in libltfat.a(c-safe-memalloc.o)
   "_fftw_malloc", referenced from:
       _ltfat_malloc in libltfat.a(c-safe-memalloc.o)
       _ltfat_realloc in libltfat.a(c-safe-memalloc.o)
       _ltfat_realloc_and_copy in libltfat.a(c-safe-memalloc.o)
       _ltfat_calloc in libltfat.a(c-safe-memalloc.o)
   "_fftw_plan_dft_1d", referenced from:
       _iwfac_d in libltfat.a(diwfac.o)
       _iwfac_r_d in libltfat.a(diwfac.o)
       _wfac_d in libltfat.a(dwfac.o)
       _wfac_r_d in libltfat.a(dwfac.o)
   "_fftw_plan_dft_c2r_1d", referenced from:
       _iwfacreal_d in libltfat.a(diwfac.o)
   "_fftw_plan_dft_r2c_1d", referenced from:
       _wfacreal_d in libltfat.a(dwfac.o)
   "_fftwf_execute", referenced from:
       _iwfac_s in libltfatf.a(siwfac.o)
       _iwfac_r_s in libltfatf.a(siwfac.o)
       _iwfacreal_s in libltfatf.a(siwfac.o)
       _wfac_s in libltfatf.a(swfac.o)
       _wfac_r_s in libltfatf.a(swfac.o)
       _wfacreal_s in libltfatf.a(swfac.o)
   "_fftwf_plan_dft_1d", referenced from:
       _iwfac_s in libltfatf.a(siwfac.o)
       _iwfac_r_s in libltfatf.a(siwfac.o)
       _wfac_s in libltfatf.a(swfac.o)
       _wfac_r_s in libltfatf.a(swfac.o)
   "_fftwf_plan_dft_c2r_1d", referenced from:
       _iwfacreal_s in libltfatf.a(siwfac.o)
   "_fftwf_plan_dft_r2c_1d", referenced from:
       _wfacreal_s in libltfatf.a(swfac.o)
   "_zgemm_", referenced from:
       _ltfat_gemm_d in libltfat.a(dltfat_blaslapack.o)
   "_zgesvd_", referenced from:
       _ltfat_gesvd_d in libltfat.a(dltfat_blaslapack.o)
   "_zposv_", referenced from:
       _ltfat_posv_d in libltfat.a(dltfat_blaslapack.o)
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[1]: *** [comp_atrousfilterbank_td.oct] Error 1
make: *** [all] Error 2
'make' returned the following error: make -f Makefile_unix
gcc -w -O3 -fpic -std=c99 -Ithirdparty -fvisibility=hidden -DLTFAT_DOUBLE  -c 
dgt.c -o ddgt.o
gcc -w -O3 -fpic -std=c99 -Ithirdparty -fvisibility=hidden -DLTFAT_DOUBLE  -c 
dgt_fac.c -o ddgt_fac.o
gcc -w -O3 -fpic -std=c99 -Ithirdparty -fvisibility=hidden -DLTFAT_DOUBLE  -c 
dgt_fb.c -o ddgt_fb.o
gcc -w -O3 -fpic -std=c99 -Ithirdparty -fvisibility=hidden -DLTFAT_DOUBLE  -c 
dgt_multi.c -o ddgt_multi.o
gcc -w -O3 -fpic -std=c99 -Ithirdparty -fvisibility=hidden -DLTFAT_DOUBLE  -c 
dgt_ola.c -o ddgt_ola.o
gcc -w -O3 -fpic -std=c99 -Ithirdparty -fvisibility=hidden -DLTFAT_DOUBLE  -c 
dgt_shear.c -o ddgt_shear.o
gcc -w -O3 -fpic -std=c99 -Ithirdparty -fvisibility=hidden -DLTFAT_DOUBLE  -c 
dgt_walnut.c -o ddgt_walnut.o
gcc -w -O3 -fpic -std=c99 -Ithirdparty -fvisibility=hidden -DLTFAT_DOUBLE  -c 
dgtreal_fac.c -o ddgtreal_fac.o
gcc -w -O3 -fpic -std=c99 -Ithirdparty -fvisibility=hidden -DLTFAT_DOUBLE  -c 
dwilt.c -o ddwilt.o
gcc -w -O3 -fpic -std=c99 -Ithirdparty -fvisibility=hidden -DLTFAT_DOUBLE  -c 
filterbank.c -o dfilterbank.o
gcc -w -O3 -fpic -std=c99 -Ithirdparty -fvisibility=hidden -DLTFAT_DOUBLE  -c 
heapint.c -o dheapint.o
gcc -w -O3 -fpic -std=c99 -Ithirdparty -fvisibility=hidden -DLTFAT_DOUBLE  -c 
idgt_fac.c -o didgt_fac.o
gcc -w -O3 -fpic -std=c99 -Ithirdparty -fvisibility=hidden -DLTFAT_DOUBLE  -c 
idgt_fb.c -o didgt_fb.o
gcc -w -O3 -fpic -std=c99 -Ithirdparty -fvisibility=hidden -DLTFAT_DOUBLE  -c 
iwfac.c -o diwfac.o
gcc -w -O3 -fpic -std=c99 -Ithirdparty -fvisibility=hidden -DLTFAT_DOUBLE  -c 
pfilt.c -o dpfilt.o
gcc -w -O3 -fpic -std=c99 -Ithirdparty -fvisibility=hidden -DLTFAT_DOUBLE  -c 
reassign.c -o dreassign.o
gcc -w -O3 -fpic -std=c99 -Ithirdparty -fvisibility=hidden -DLTFAT_DOUBLE  -c 
spread.c -o dspread.o
gcc -w -O3 -fpic -std=c99 -Ithirdparty -fvisibility=hidden -DLTFAT_DOUBLE  -c 
tfutil.c -o dtfutil.o
gcc -w -O3 -fpic -std=c99 -Ithirdparty -fvisibility=hidden -DLTFAT_DOUBLE  -c 
wfac.c -o dwfac.o
gcc -w -O3 -fpic -std=c99 -Ithirdparty -fvisibility=hidden -DLTFAT_DOUBLE  -c 
windows.c -o dwindows.o
gcc -w -O3 -fpic -std=c99 -Ithirdparty -fvisibility=hidden -DLTFAT_DOUBLE  -c 
winmanip.c -o dwinmanip.o
gcc -w -O3 -fpic -std=c99 -Ithirdparty -fvisibility=hidden -DLTFAT_DOUBLE  -c 
ltfat_complexindependent.c -o dltfat_complexindependent.o
gcc -w -O3 -fpic -std=c99 -Ithirdparty -fvisibility=hidden -DLTFAT_DOUBLE  -c 
dgt_shearola.c -o ddgt_shearola.o
gcc -w -O3 -fpic -std=c99 -Ithirdparty -fvisibility=hidden -DLTFAT_DOUBLE  -c 
ltfat_blaslapack.c -o dltfat_blaslapack.o
gcc -w -O3 -fpic -std=c99 -Ithirdparty -fvisibility=hidden -DLTFAT_DOUBLE  -c 
gabdual.c -o dgabdual.o
gcc -w -O3 -fpic -std=c99 -Ithirdparty -fvisibility=hidden -DLTFAT_DOUBLE  -c 
gabtight.c -o dgabtight.o
gcc -w -O3 -fpic -std=c99 -Ithirdparty -fvisibility=hidden -DLTFAT_DOUBLE  -c 
gabdual_fac.c -o dgabdual_fac.o
gcc -w -O3 -fpic -std=c99 -Ithirdparty -fvisibility=hidden -DLTFAT_DOUBLE  -c 
gabtight_fac.c -o dgabtight_fac.o
gcc -w -O3 -fpic -std=c99 -Ithirdparty -fvisibility=hidden -DCOMPILING_LTFAT 
-DLTFAT_DLL_NEVERUSED -DLTFAT_BACKEND_EXPORTS -DLTFAT_DOUBLE  -c 
c-safe-memalloc.c
gcc -w -O3 -fpic -std=c99 -Ithirdparty -fvisibility=hidden -DCOMPILING_LTFAT 
-DLTFAT_DLL_NEVERUSED -DLTFAT_BACKEND_EXPORTS -DLTFAT_DOUBLE  -c integer_manip.c
ar rvu libltfat.a ddgt.o ddgt_fac.o ddgt_fb.o ddgt_multi.o ddgt_ola.o 
ddgt_shear.o ddgt_walnut.o ddgtreal_fac.o ddwilt.o dfilterbank.o dheapint.o 
didgt_fac.o didgt_fb.o diwfac.o dpfilt.o dreassign.o dspread.o dtfutil.o 
dwfac.o dwindows.o dwinmanip.o dltfat_complexindependent.o ddgt_shearola.o 
dltfat_blaslapack.o dgabdual.o dgabtight.o dgabdual_fac.o dgabtight_fac.o 
c-safe-memalloc.o integer_manip.o
a - ddgt.o
a - ddgt_fac.o
a - ddgt_fb.o
a - ddgt_multi.o
a - ddgt_ola.o
a - ddgt_shear.o
a - ddgt_walnut.o
a - ddgtreal_fac.o
a - ddwilt.o
a - dfilterbank.o
a - dheapint.o
a - didgt_fac.o
a - didgt_fb.o
a - diwfac.o
a - dpfilt.o
a - dreassign.o
a - dspread.o
a - dtfutil.o
a - dwfac.o
a - dwindows.o
a - dwinmanip.o
a - dltfat_complexindependent.o
a - ddgt_shearola.o
a - dltfat_blaslapack.o
a - dgabdual.o
a - dgabtight.o
a - dgabdual_fac.o
a - dgabtight_fac.o
a - c-safe-memalloc.o
a - integer_manip.o
ranlib libltfat.a
cp -f libltfat.a ../lib
gcc -w -O3 -fpic -std=c99 -Ithirdparty -fvisibility=hidden -DLTFAT_SINGLE  -c 
dgt.c -o sdgt.o
gcc -w -O3 -fpic -std=c99 -Ithirdparty -fvisibility=hidden -DLTFAT_SINGLE  -c 
dgt_fac.c -o sdgt_fac.o
gcc -w -O3 -fpic -std=c99 -Ithirdparty -fvisibility=hidden -DLTFAT_SINGLE  -c 
dgt_fb.c -o sdgt_fb.o
gcc -w -O3 -fpic -std=c99 -Ithirdparty -fvisibility=hidden -DLTFAT_SINGLE  -c 
dgt_multi.c -o sdgt_multi.o
gcc -w -O3 -fpic -std=c99 -Ithirdparty -fvisibility=hidden -DLTFAT_SINGLE  -c 
dgt_ola.c -o sdgt_ola.o
gcc -w -O3 -fpic -std=c99 -Ithirdparty -fvisibility=hidden -DLTFAT_SINGLE  -c 
dgt_shear.c -o sdgt_shear.o
gcc -w -O3 -fpic -std=c99 -Ithirdparty -fvisibility=hidden -DLTFAT_SINGLE  -c 
dgt_walnut.c -o sdgt_walnut.o
gcc -w -O3 -fpic -std=c99 -Ithirdparty -fvisibility=hidden -DLTFAT_SINGLE  -c 
dgtreal_fac.c -o sdgtreal_fac.o
gcc -w -O3 -fpic -std=c99 -Ithirdparty -fvisibility=hidden -DLTFAT_SINGLE  -c 
dwilt.c -o sdwilt.o
gcc -w -O3 -fpic -std=c99 -Ithirdparty -fvisibility=hidden -DLTFAT_SINGLE  -c 
filterbank.c -o sfilterbank.o
gcc -w -O3 -fpic -std=c99 -Ithirdparty -fvisibility=hidden -DLTFAT_SINGLE  -c 
heapint.c -o sheapint.o
gcc -w -O3 -fpic -std=c99 -Ithirdparty -fvisibility=hidden -DLTFAT_SINGLE  -c 
idgt_fac.c -o sidgt_fac.o
gcc -w -O3 -fpic -std=c99 -Ithirdparty -fvisibility=hidden -DLTFAT_SINGLE  -c 
idgt_fb.c -o sidgt_fb.o
gcc -w -O3 -fpic -std=c99 -Ithirdparty -fvisibility=hidden -DLTFAT_SINGLE  -c 
iwfac.c -o siwfac.o
gcc -w -O3 -fpic -std=c99 -Ithirdparty -fvisibility=hidden -DLTFAT_SINGLE  -c 
pfilt.c -o spfilt.o
gcc -w -O3 -fpic -std=c99 -Ithirdparty -fvisibility=hidden -DLTFAT_SINGLE  -c 
reassign.c -o sreassign.o
gcc -w -O3 -fpic -std=c99 -Ithirdparty -fvisibility=hidden -DLTFAT_SINGLE  -c 
spread.c -o sspread.o
gcc -w -O3 -fpic -std=c99 -Ithirdparty -fvisibility=hidden -DLTFAT_SINGLE  -c 
tfutil.c -o stfutil.o
gcc -w -O3 -fpic -std=c99 -Ithirdparty -fvisibility=hidden -DLTFAT_SINGLE  -c 
wfac.c -o swfac.o
gcc -w -O3 -fpic -std=c99 -Ithirdparty -fvisibility=hidden -DLTFAT_SINGLE  -c 
windows.c -o swindows.o
gcc -w -O3 -fpic -std=c99 -Ithirdparty -fvisibility=hidden -DLTFAT_SINGLE  -c 
winmanip.c -o swinmanip.o
gcc -w -O3 -fpic -std=c99 -Ithirdparty -fvisibility=hidden -DLTFAT_SINGLE  -c 
ltfat_complexindependent.c -o sltfat_complexindependent.o
gcc -w -O3 -fpic -std=c99 -Ithirdparty -fvisibility=hidden -DLTFAT_SINGLE  -c 
dgt_shearola.c -o sdgt_shearola.o
gcc -w -O3 -fpic -std=c99 -Ithirdparty -fvisibility=hidden -DLTFAT_SINGLE  -c 
ltfat_blaslapack.c -o sltfat_blaslapack.o
gcc -w -O3 -fpic -std=c99 -Ithirdparty -fvisibility=hidden -DLTFAT_SINGLE  -c 
gabdual.c -o sgabdual.o
gcc -w -O3 -fpic -std=c99 -Ithirdparty -fvisibility=hidden -DLTFAT_SINGLE  -c 
gabtight.c -o sgabtight.o
gcc -w -O3 -fpic -std=c99 -Ithirdparty -fvisibility=hidden -DLTFAT_SINGLE  -c 
gabdual_fac.c -o sgabdual_fac.o
gcc -w -O3 -fpic -std=c99 -Ithirdparty -fvisibility=hidden -DLTFAT_SINGLE  -c 
gabtight_fac.c -o sgabtight_fac.o
ar rvu libltfatf.a sdgt.o sdgt_fac.o sdgt_fb.o sdgt_multi.o sdgt_ola.o 
sdgt_shear.o sdgt_walnut.o sdgtreal_fac.o sdwilt.o sfilterbank.o sheapint.o 
sidgt_fac.o sidgt_fb.o siwfac.o spfilt.o sreassign.o sspread.o stfutil.o 
swfac.o swindows.o swinmanip.o sltfat_complexindependent.o sdgt_shearola.o 
sltfat_blaslapack.o sgabdual.o sgabtight.o sgabdual_fac.o sgabtight_fac.o
a - sdgt.o
a - sdgt_fac.o
a - sdgt_fb.o
a - sdgt_multi.o
a - sdgt_ola.o
a - sdgt_shear.o
a - sdgt_walnut.o
a - sdgtreal_fac.o
a - sdwilt.o
a - sfilterbank.o
a - sheapint.o
a - sidgt_fac.o
a - sidgt_fb.o
a - siwfac.o
a - spfilt.o
a - sreassign.o
a - sspread.o
a - stfutil.o
a - swfac.o
a - swindows.o
a - swinmanip.o
a - sltfat_complexindependent.o
a - sdgt_shearola.o
a - sltfat_blaslapack.o
a - sgabdual.o
a - sgabtight.o
a - sgabdual_fac.o
a - sgabtight_fac.o
ranlib libltfatf.a
cp -f libltfatf.a ../lib
make -C ../oct -f Makefile_unix
/sw/bin/mkoctfile-3.6.4 -Wall -I../thirdparty -I. -I../src -I../src/thirdparty 
-L../lib -lltfat -lltfatf comp_atrousfilterbank_td.cc
error: called from 'pkg>configure_make' in file 
/sw/share/octave/3.6.4/m/pkg/pkg.m near line 1385, column 9
error: called from:
error:   /sw/share/octave/3.6.4/m/pkg/pkg.m at line 827, column 5
error:   /sw/share/octave/3.6.4/m/pkg/pkg.m at line 383, column 9
octave:1>


It looks like the BLAS library still isn't getting linked. The symbol is defined for all of our BLAS providers:

/sw/lib/lapack/3.4.2/librefblas.dylib: 00000000000047f0 T _cgemm_

or

/sw/lib/libtatlas.dylib: 0000000000503270 T _cgemm_

or

/usr/lib/libblas.dylib: 0000000000011955 T _cgemm_


--
Alexander Hansen, Ph.D.
Fink User Liaison
My package updates: http://finkakh.wordpress.com/


reply via email to

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