Error on Linux Compile
Pearu, I checked out a recent version of SciPy and installed on my Mandrake 9.2 Linux box (hard-drive choked) After a clean build and install (no fftw or djbfft) I am getting the following error. undefined symbol: fftr8_scale1024 in _fftpack.so I will try and track this down, but wondered if you recognized this call and why I suddenly wouldn't have it on my system. -Travis O.
On Mon, 19 Jan 2004, Travis Oliphant wrote:
Pearu,
I checked out a recent version of SciPy and installed on my Mandrake 9.2 Linux box (hard-drive choked)
After a clean build and install (no fftw or djbfft) I am getting the following error.
undefined symbol: fftr8_scale1024 in _fftpack.so
I will try and track this down, but wondered if you recognized this call and why I suddenly wouldn't have it on my system.
This symbol is defined in the djbfft library and scipy uses it only in fftpack/src/drfft.c. But only when WITH_DJBFFT is defined. Are you sure that your build is absolutely clean? 'rm -rf build' might help. I tried fftpack build without fftw and djbfft support, everything looks ok here. Pearu
Pearu Peterson schrieb:
On Mon, 19 Jan 2004, Travis Oliphant wrote:
Pearu,
I checked out a recent version of SciPy and installed on my Mandrake 9.2 Linux box (hard-drive choked)
After a clean build and install (no fftw or djbfft) I am getting the following error.
undefined symbol: fftr8_scale1024 in _fftpack.so
I will try and track this down, but wondered if you recognized this call and why I suddenly wouldn't have it on my system.
This symbol is defined in the djbfft library and scipy uses it only in fftpack/src/drfft.c. But only when WITH_DJBFFT is defined. Are you sure that your build is absolutely clean? 'rm -rf build' might help. I tried fftpack build without fftw and djbfft support, everything looks ok here.
Pearu
BTW, a make in djbfft-0.76 failed ./makelib str.a byte_copy.o byte_cr.o str_len.o ./load auto-str substdio.a error.a str.a substdio.a(substdo.o)(.text+0x31): In function `allwrite': : undefined reference to `errno' collect2: ld returned 1 exit status make: *** [auto-str] Error 1 Any idea ? Nils
_______________________________________________ Scipy-dev mailing list Scipy-dev@scipy.net http://www.scipy.net/mailman/listinfo/scipy-dev
On Tue, Jan 20, 2004 at 10:36:39AM +0100, Nils Wagner wrote:
Pearu Peterson schrieb: BTW, a make in djbfft-0.76 failed
./makelib str.a byte_copy.o byte_cr.o str_len.o ./load auto-str substdio.a error.a str.a substdio.a(substdo.o)(.text+0x31): In function `allwrite': : undefined reference to `errno' collect2: ld returned 1 exit status make: *** [auto-str] Error 1
Just ran into this a few days ago. Apply the following patch. New versions of glibc require errno.h to be included everywhere errno is used (it does something funky to work around that errno is global when using threads, I think.) --- djbfft-0.76/error.h 1999-09-30 16:25:58.000000000 -0400 +++ djbfft-0.76.new/error.h 2004-01-15 19:30:33.000000000 -0500 @@ -1,6 +1,8 @@ #ifndef ERROR_H #define ERROR_H +#include <errno.h> + extern int errno; extern int error_intr; -- |>|\/|< /--------------------------------------------------------------------------\ |David M. Cooke http://arbutus.physics.mcmaster.ca/dmc/ |cookedm@physics.mcmaster.ca
participants (4)
-
David M. Cooke
-
Nils Wagner
-
Pearu Peterson
-
Travis Oliphant