Hi,
This is almost certainly an issue with the new gcc compilers.
The 3.3.11 source is not compatible with this.
Instead, download:
http://www.fmrib.ox.ac.uk/fsldownloads/fsl-gcc4_1_0-sources.tar.gz
and try that.
However, it is not fully up-to-date with all the patches, so
you will need to apply the patches at:
http://www.fmrib.ox.ac.uk/fsldownloads/patches/
All the best,
Mark
On 29 Jun 2007, at 11:00, Alle Meije Wink wrote:
> Hi -
>
> I am running Debian etch on a Core2 computer. Config:
>
> Linux awink 2.6.18-4-686#1 SMP Wed May9 23:03:12 UTC 2007 i686 GNU/
> Linux
> gcc version 4.1.2 20061115 (prerelease) (Debian 4.1.1-21)
>
> The Debian package by Michael Hanke install flawlessly (both via
> apt-get
> and apt-src) but they don't contain the avw-utils programs (which I
> use
> more often than the analysis programs themselves!).
>
> So I set out installing FSL from source.
>
> Basically, what I've tried is the most "vanilla" install imaginable:
>
> $ cd
> $ tar zxvf /tmp/fsl-3.3.11-sources.tar.gz
> $ export FSLDIR=$HOME/fsl
> $ . ${FSLDIR}/etc/fslconf/fsl.sh
> $ ln -s \
> $HOME/fsl/config/i386-redhat-linux-gcc4.0.1 \
> $FSLDIR/config/$FSLMACHTYPE
> $ cd $FSLDIR
> $ ./build
>
> The build script exited with the message:
>> !!ERROR in BUILD!! Could not make the following projects
>> successfully: miscmaths newimage libvis meshclass bint avwutils bet2
>> cluster fdt feat5 film filmbabe flame flirt fugue mcflirt melodic2
>> miscvis mm randomise siena slicetimer tbss
>
> In the build.log file, the first point at which it goes wrong is here:
> (lines 1275-1282)
>> miscmaths.h: In function â??float MISCMATHS::dot(const
>> NEWMAT::ColumnVector&, const NEWMAT::ColumnVector&)â??:
>> miscmaths.h:171: error: â??SPâ?? was not declared in this scope
>> miscmaths.cc: In function â??NEWMAT::ReturnMatrixX
>> MISCMATHS::corrcoef(const NEWMAT::Matrix&, int)â??:
>> miscmaths.cc:1725: error: â??SPâ?? was not declared in this scope
>> miscmaths.cc: In function â??void MISCMATHS::ols(const
>> NEWMAT::Matrix&, const NEWMAT::Matrix&, const NEWMAT::Matrix&,
>> NEWMAT::Matrix&, NEWMAT::Matrix&)â??:
>> miscmaths.cc:1949: error: â??SPâ?? was not declared in this scope
>> make: *** [miscmaths.o] Error 1
>
> Similar problems in all other source files of miscmaths.
>
> The build of following projects may well fail because of the
> failure to
> build miscmaths?
> I have no idea what the weird characters in the errors mean. As dog
> owners often say: it's never done that before...
>
> Anyone come across similar problems?
> Anyone know a solution?
>
> Many thanks
> Alle Meije Wink
>
> Research Associate
> Imaging Sciences department, Imperial College
> MRC Clinical Sciences Centre, Hammersmith Hospital
> Du Cane Road, London W12 0NN
> tel. +44.20.8383.3772
|