Hi Dear friends -- As a test, I recompiled spm_brainwarp.c in spm2 using
the command "mex spm_brainwarp.c". It gives me error message like:
spm_brainwarp.o(.text+0x12c): In function `mrqcof':
spm_brainwarp.c: undefined reference to `AbackslashB'
spm_brainwarp.o(.text+0xb75):spm_brainwarp.c: undefined reference to
`MtimesX'
spm_brainwarp.o(.text+0xc89):spm_brainwarp.c: undefined reference to
`resample_d'
spm_brainwarp.o(.text+0xccd):spm_brainwarp.c: undefined reference to
`resample'
spm_brainwarp.o(.text+0xd09):spm_brainwarp.c: undefined reference to
`MtimesX'
.....
mex: link of 'spm_brainwarp.mexglx' failed.
I am using matlab 7.4.0, fedora core 4, gcc version 4.0.0. Also I
checked that matlab 7.4 is built with gcc/g++ version 4.1.1.
Anyone knows the reason and how to solve it?
Thanks
Huiling
|