[CLAM] Fw: Re: FFTW configure problem

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


hello,

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: 
#include<stdio.h>  
#include<stdlib.h>  
#include<sfftw.h> 
 
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"); 
        scanf("%d",&N); 
 
        plan = fftw_create_plan(N,FFTW_FORWARD,FFTW_ESTIMATE); 
        fftw_one(plan,in,out); 
        fftw_destroy_plan(plan); 
 
        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'  
/tmp/ccgo2kIq.o(.text+0x70):/root/Desktop/test_fft.c:16:  
undefined reference to `fftw_one'  
/tmp/ccgo2kIq.o(.text+0x79):/root/Desktop/test_fft.c:17:  
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  
else?   
 
Please suggest!  
Naveen 

-- 
_______________________________________________
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