I am having problems getting CLAM working properly. I think. one problem I am having has to do with the fftw libraries.<br><br>During 'scons configure' the following is output:<br><br>###############################################<br>### CLAM PROCESSING DEPENDENCIES CHECKING   ###<br>###############################################<br>Checking for C header file sfftw.h... yes<br>Checking for C header file srfftw.h... yes<br>Checking for fftw_sizeof_fftw_real() in C library sfftw... yes<br>Checking for rfftw_create_plan() in C library srfftw... no<br>Could not find libsrfftw<br>Please check that fftw is properly installed<br><br>config.log contains the following:<br>gcc -O2 -fomit-frame-pointer -Wall -DCLAM_FLOAT -DUSE_PTHREADS=1 -DUSE_XERCES_TRUE -DCLAM_USE_XML -DUSE_LADSPA=1 -I/usr/qt/3/include -I/usr/<br>local/include -I/usr/include/qt4/Qt -I/usr/include/qt4 -c -o .sconf_temp/conftest_17.o .sconf_temp/conftest_17.c<br>gcc -o .sconf_temp/conftest_17
 .sconf_temp/conftest_17.o -L/usr/qt/3/lib -L/usr/local/lib -L/opt/lib -L/usr/qt/3/lib -L/usr/lib/qt4 -lpthrea<br>d -lxerces-c -lsfftw -lsrfftw<br>/usr/lib/gcc/i686-pc-linux-gnu/4.1.1/../../../libsrfftw.a(rplanner.o): In function `rfftw_measure_runtime':<br>rplanner.c:(.text+0x93): undefined reference to `fftw_gettimeofday_get_time'<br>rplanner.c:(.text+0xdb): undefined reference to `fftw_gettimeofday_get_time'<br>rplanner.c:(.text+0x15c): undefined reference to `fftw_gettimeofday_get_time'<br>rplanner.c:(.text+0x191): undefined reference to `fftw_gettimeofday_time_diff'<br>rplanner.c:(.text+0x1c0): undefined reference to `fftw_gettimeofday_time_diff'<br>rplanner.c:(.text+0x208): undefined reference to `fftw_gettimeofday_time_diff'<br>rplanner.c:(.text+0x237): undefined reference to `fftw_gettimeofday_time_diff'<br>/usr/lib/gcc/i686-pc-linux-gnu/4.1.1/../../../libsrfftw.a(rplanner.o): In function `rfftw_print_plan':<br>rplanner.c:(.text+0x2b4): undefined reference to
 `fftw_fprint_plan'<br>/usr/lib/gcc/i686-pc-linux-gnu/4.1.1/../../../libsrfftw.a(rplanner.o): In function `rplanner':<br>rplanner.c:(.text+0x30f): undefined reference to `fftw_lookup'<br><br><br>I looked around the internet for problems like this and noticed something in the fftw faq (Question 3.7) that mentioned that the order that srfftw and sfftw are linked matters. If I invoke <br>gcc -o .sconf_temp/conftest_17 .sconf_temp/conftest_17.o -L/usr/qt/3/lib -L/usr/local/lib -L/opt/lib -L/usr/qt/3/lib -L/usr/lib/qt4 -lpthread -lxerces-c  -lsrfftw -lsfftw<br><br>I do not get the errors (note that -lsfftw and -lsrfftw have been switched from what happens during 'scons configure')<br><br>I am on a gentoo box and have installed fftw from source myself (ie not emerge). My first idea is to switch the order that they are linked in the test, but I don't know scons very well, and that seems like a hack that might not address the actual problem.<br><br>Can anyone
 help?<br><br>James<br><br><br><br><p>

<hr size=1>Want to start your own business? Learn how on <a href="http://us.rd.yahoo.com/evt=41244/*http://smallbusiness.yahoo.com/r-index">Yahoo! Small Business.</a><br />-- 
<br />This message has been scanned for viruses and
<br />dangerous content by
<a href="http://www.mailscanner.info/"><b>MailScanner</b></a>, and is
<br />believed to be clean.