Hi,
I've downloaded and installed fftw 3.0.1 ( on Mandrake 10, AMD athlon). Now, i am unable to compile any programs using fftw...
I am including the header file <fftw3.h> ion the program.
On running gcc, the compiler throws back this :
/home/utsav/tmp/ccsMtd04.o(.text+0x1a): In function `main':
: undefined reference to `fftw_malloc'
/home/utsav/tmp/ccsMtd04.o(.text+0x2d): In function `main':
: undefined reference to `fftw_malloc'
/home/utsav/tmp/ccsMtd04.o(.text+0x79): In function `main':
: undefined reference to `fftw_plan_dft_1d'
/home/utsav/tmp/ccsMtd04.o(.text+0x8a): In function `main':
: undefined reference to `fftw_execute'
/home/utsav/tmp/ccsMtd04.o(.text+0xe2): In function `main':
: undefined reference to `fftw_destroy_plan'
/home/utsav/tmp/ccsMtd04.o(.text+0xf0): In function `main':
: undefined reference to `fftw_free'
/home/utsav/tmp/ccsMtd04.o(.text+0xfe): In function `main':
: undefined reference to `fftw_free'
collect2: ld returned 1 exit status
/home/utsav/tmp/ccsMtd04.o(.text+0x1a): In function `main':
: undefined reference to `fftw_malloc'
/home/utsav/tmp/ccsMtd04.o(.text+0x2d): In function `main':
: undefined reference to `fftw_malloc'
/home/utsav/tmp/ccsMtd04.o(.text+0x79): In function `main':
: undefined reference to `fftw_plan_dft_1d'
/home/utsav/tmp/ccsMtd04.o(.text+0x8a): In function `main':
: undefined reference to `fftw_execute'
/home/utsav/tmp/ccsMtd04.o(.text+0xe2): In function `main':
: undefined reference to `fftw_destroy_plan'
/home/utsav/tmp/ccsMtd04.o(.text+0xf0): In function `main':
: undefined reference to `fftw_free'
/home/utsav/tmp/ccsMtd04.o(.text+0xfe): In function `main':
: undefined reference to `fftw_free'
collect2: ld returned 1 exit status
To copy to clipboard, switch view to plain text mode
What am i doing wrong???
Thanks
superutsav
Bookmarks