Hi, This is a result of the new compilers being a bit more stringent. However, the functions cart2sph inside diff_pvm and miscmaths are nearly identical. So if you edit diff_pvm.cc and replace the "cart2sph(" calls with "MISCMATHS::cart2sph(" calls on the offending lines (236 and 359) then it should compile OK. All the best, Mark Antti Korvenoja wrote: >Hi! > >I'm trying to compile the latest source distribution of FSL 3.2b on a Debian >Linux system with gcc 3.3.5. > >All other projects compile wihout errors except FDT which throws following error > >antti@mr4:/opt/fsl/src/fdt$ make >c++ -Wall -ansi -pedantic -Wno-deprecated -Wno-long-long -O3 >-fexpensive-optimizations -march=i686 -mcpu=i686 -funroll-all-loops >-I/opt/fsl/extras/include/newmat -I/opt/fsl/extras/include/libcprob >-I/opt/fsl/extras/include/libprob -I/usr/include -I. -I/opt/fsl/include >-I/opt/fsl/include -c -o diff_pvm.o diff_pvm.cc >diff_pvm.cc: In constructor `Diff_pvmModel::Diff_pvmModel(const > NEWMAT::Matrix&, const NEWMAT::Matrix&, int)': >diff_pvm.cc:236: error: call of overloaded `cart2sph(const NEWMAT::Matrix&, > NEWMAT::ColumnVector&, NEWMAT::ColumnVector&)' is ambiguous >diff_pvm.cc:201: error: candidates are: void cart2sph(const NEWMAT::Matrix&, > NEWMAT::ColumnVector&, NEWMAT::ColumnVector&) >/opt/fsl/include/miscmaths/miscmaths.h:216: error: void > MISCMATHS::cart2sph(const NEWMAT::Matrix&, NEWMAT::ColumnVector&, > NEWMAT::ColumnVector&) >diff_pvm.cc: In member function `virtual void Diff_pvmModel::initialise(const > NEWMAT::ColumnVector&)': >diff_pvm.cc:359: error: call of overloaded `cart2sph(NEWMAT::ColumnVector&, > float&, float&)' is ambiguous >diff_pvm.cc:178: error: candidates are: void cart2sph(const > NEWMAT::ColumnVector&, float&, float&) >/opt/fsl/include/miscmaths/miscmaths.h:215: error: void > MISCMATHS::cart2sph(const NEWMAT::ColumnVector&, float&, float&) >make: *** [diff_pvm.o] Error 1 > >Any ideas what might be wrong? > >Greetings, > >Antti > >