After setting the 'full-length' path to gccopts.sh, the error message was:
---
spm_add.c: In function `mexFunction':
spm_add.c:107: warning: decimal constant is so large that it is unsigned
spm_list_files.c: In function `getmask':
spm_list_files.c:28: warning: comparison is always 0 due to limited range of
data type
---
And after replacing spm_list_files.mexlx to the one sent by Christian,
SPM99b 'seems' to be humming well on my RedHat6.1J.
> | Compiling mex files...
> | spm_add.c: In function `mexFunction':
> | spm_add.c:107: warning: decimal constant is so large that it is unsigned
> | Done.
> | ----
>
> The code was written for Solaris, where the "int" datatype is represented
> by 32 bits. For signed 32 bit integers, the values can range between
> -2147483648 and 2147483647 (-2^31 to 2^31-1). I think it is unlikely that
> your machine is using anything other than 32 bits to represent
> integer values,
Should I replace the compiled spm_add.mexlx to the original one ? Or is
there any simple test confirming the error message (concerning spm_add.c) to
be negligible or not ?
regards,
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|