I have been working on Gesture recognition project. I use XKin gesture recogntion library https://github.com/fpeder/XKin. To compile Xkin i had to install fftw (http://www.fftw.org/download.html) I build fftw successfully with
But when i build Xkin i got this Error
/usr/bin/ld: /usr/local/lib/libfftw3.a(lt4-problem.o): relocation R_X86_64_32 against
sudo make CFLAGS=-fPIC
sudo make install
This will solve your problem.