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 :
Qt Code:
  1. /home/utsav/tmp/ccsMtd04.o(.text+0x1a): In function `main':
  2. : undefined reference to `fftw_malloc'
  3. /home/utsav/tmp/ccsMtd04.o(.text+0x2d): In function `main':
  4. : undefined reference to `fftw_malloc'
  5. /home/utsav/tmp/ccsMtd04.o(.text+0x79): In function `main':
  6. : undefined reference to `fftw_plan_dft_1d'
  7. /home/utsav/tmp/ccsMtd04.o(.text+0x8a): In function `main':
  8. : undefined reference to `fftw_execute'
  9. /home/utsav/tmp/ccsMtd04.o(.text+0xe2): In function `main':
  10. : undefined reference to `fftw_destroy_plan'
  11. /home/utsav/tmp/ccsMtd04.o(.text+0xf0): In function `main':
  12. : undefined reference to `fftw_free'
  13. /home/utsav/tmp/ccsMtd04.o(.text+0xfe): In function `main':
  14. : undefined reference to `fftw_free'
  15. collect2: ld returned 1 exit status
To copy to clipboard, switch view to plain text mode 

What am i doing wrong???

Thanks
superutsav