Please put fftsg.c and pi_fft.c which is included in Prof. Takuya Ooura's FFT package.