Dear Spm users,
We are trying to compile spm99b on Red Hat linux 6.1, as we were having
problems with the compiled binaries (uicontrol errors causing matlab5.3 to
crash horribly).
Firstly will this work with Matlab5.3 and if so can someone point me in
the right direction to remove the following errors on compilation:
-------------
# ./spm_MAKE.sh gcc
SPM mex file compile for gcc
optimised standard unix compile for gcc
this should work on Sun, Linux etc
Note that the path to the gccopts.sh file may need changing.
Compiling volume utilities...
mex COPTIMFLAGS=-O2 -f ./gccopts.sh
In file included from spm_mapping.h:6,
from spm_mapping.c:14:
spm_vol_access.h:23: parse error before `caddr_t'
spm_vol_access.h:23: warning: no semicolon at end of struct or union
spm_vol_access.h:30: parse error before `}'
spm_vol_access.h:30: warning: data definition has no type or storage class
spm_vol_access.h:42: parse error before `caddr_t'
spm_vol_access.h:42: warning: no semicolon at end of struct or union
spm_vol_access.h:44: parse error before `}'
spm_vol_access.h:44: warning: data definition has no type or storage class
spm_vol_access.h:48: parse error before `MAPTYPE'
spm_vol_access.h:51: parse error before `MAPTYPE'
spm_vol_access.h:57: parse error before `MAPTYPE'
-------------
Greatful for any help!
Emma
,---------------------------------------------------------------------.
| Emma Williams |
| MRI Physicist, Wolfson Brain Imaging Centre |
+----------------------------------------------------------------------+
| Wolfson Brain Imaging Centre |Email: [log in to unmask] |
| |Phone email: [log in to unmask] |
| University of Cambridge, |Tel (MR suite): +44 1223 331821 |
| Box 65 Addenbrooke's Hospital|Tel (Analysis): +44 1223 762128 |
| Hills Road |FAX: +44 1223 331826 |
| Cambridge, UK, CB2 2QQ |http://www.wbic.cam.ac.uk/~ejw1001 |
`----------------------------------------------------------------------'
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|