[CLAM] Fw: Re: FFTW configure problem

Postmaster IUA postmaster at iua.upf.es
Mon Dec 12 07:42:11 PST 2005


the following message got stuck in mailman's "pending requests"
(sender not subscribed to list), and overseen between all the
spam. sorry for the delay.

postmaster IUA

Begin forwarded message:

Date: Fri, 25 Nov 2005 18:57:05 +0800
From: "Naveen Deshpande" <navnew at linuxmail.org>
To: clam at iua.upf.es
Subject: Fw: Re: FFTW configure problem

 Hi Miguel,   
I went through the dialog between Miguel and Rhywek. Even i am in the same problem.  I use gcc for C. I am on  
 Suse Linux 9.2 and tried all your options  
./configure  --enable-float --enable-prefix --with-gcc (I have tried with and without these options)  
gmake clean && gmake all gmake install 
I can find the files fftw.h rfftw.h sfftw.h srfftw.h in /usr/include. the library is in /usr/lib When i run a very small code: 
int main() 
        int i, N; 
        fftw_complex in[]= {(1,1),(1,2),(1,1),(0,0)}; 
        fftw_complex out[10]; 
        fftw_plan plan; 
        printf("\n Enter array size\n"); 
        plan = fftw_create_plan(N,FFTW_FORWARD,FFTW_ESTIMATE); 
        printf("DFT of input sequence is: \n"); 
        for(i=0; i<4; i++){ 
        printf("%f, %f\n",out[i]);} 
        return 0; 
the errors are displayed below:  
/tmp/ccgo2kIq.o(.text+0x5b): In function `main': /root/Desktop/test_fft.c:15: undefined reference  
to `fftw_create_plan'  
undefined reference to `fftw_one'  
undefined reference to `fftw_destroy_plan'  
collect2: ld returned 1 exit status   
What would be the problem? If I have to re install  
the library then do I need to use gmake distclean or anything  
Please suggest!  

Check out the latest SMS services @ http://www.linuxmail.org
This allows you to send and receive SMS through your mailbox.

Powered by Outblaze

More information about the clam-users mailing list