Hello,
i found problems installing FSL in a powerPC 64bits running suse linux (sles9),
it looks there is a problem with the definition of the function roundl,
(i am using gcc-3.4.6 for compilation),
you can see part of the build.log here:
--------------
...
c++ -Wall -ansi -pedantic -Wno-long-long -m64 -O3 -fexpensive-optimizations -m64 -I/gpfs/projects/uc19/soft/fsl/extras/include/newmat -I/gpfs/projects/uc19/soft/fsl/extras/include/boost -I. -I/gpfs/projects/uc19/soft/fsl/include -I/gpfs/projects/uc19/soft/fsl/include -c -o splinefield.o splinefield.cpp
splinefield.cpp: In member function `unsigned int BASISFIELD::splinefield::fake_old_ksp(double, unsigned int, double) const':
splinefield.cpp:1476: error: `roundl' was not declared in this scope
splinefield.cpp:1476: warning: unused variable 'roundl'
make: *** [splinefield.o] Error 1
...
---------------
i tried to add #include <cmath> to splinefield.cpp but it did not work,
i also tried to add the function definition by hand but then after it failed the link,
i guess it would work to compile roundl by hand on my own, but i like to understand why it is not working (i.e. i dis the same in a i386 and it worked ok) and apply the official distribution fix,
any help please ?
thanks in advance,
Rafa
|