Hiya,

I recently moved on from my comfy SUSE10.3 to SUSE 11.1, I use toolboxes (SPM) which require mex files on matlab and none of them work.

I believe this is most likely due to the glibc version changing. Any other possibilities?

I have the binaries and a Makefile, the makefile doesn't recognize my hardware.
PHP Code:
    HARDWARE  = $(shell uname -m)
    
ifeq (i386,$(HARDWARE))
      
SUF     mexglx
      CC      
gcc
      CFLAGS  
= -O3 -funroll-loops -fPIC -fexceptions
      MEXOPTS 
COPTIMFLAGS='-O3 -funroll-loops -fexceptions'
    
endif 
as my hardware is i686.

I have just changed the i386 to i686 above as I don't think it makes any major difference. Am I right?

The makefile now runs...

PHP Code:
am0032@linux-vvi7:~/spm5/srcmake && make install
_____________________________________________________________

        Linux compilation 
(x86-32) - using gcc
_____________________________________________________________

gcc 
--O3 -funroll-loops -fPIC -fexceptions -o utils_uchar.mexglx.o spm_vol_utils.-DSPM_UNSIGNED_CHAR
gcc 
--O3 -funroll-loops -fPIC -fexceptions -o utils_short.mexglx.o spm_vol_utils.-DSPM_SIGNED_SHORT
gcc 
--O3 -funroll-loops -fPIC -fexceptions -o utils_int.mexglx.o spm_vol_utils.-DSPM_SIGNED_INT
gcc 
--O3 -funroll-loops -fPIC -fexceptions -o utils_schar.mexglx.o spm_vol_utils.-DSPM_SIGNED_CHAR
gcc 
--O3 -funroll-loops -fPIC -fexceptions -o utils_ushort.mexglx.o spm_vol_utils.-DSPM_UNSIGNED_SHORT
gcc 
--O3 -funroll-loops -fPIC -fexceptions -o utils_uint.mexglx.o spm_vol_utils.-DSPM_UNSIGNED_INT
gcc 
--O3 -funroll-loops -fPIC -fexceptions -o utils_float.mexglx.o spm_vol_utils.-DSPM_FLOAT
gcc 
--O3 -funroll-loops -fPIC -fexceptions -o utils_double.mexglx.o spm_vol_utils.-DSPM_DOUBLE
gcc 
--O3 -funroll-loops -fPIC -fexceptions -o utils_short_s.mexglx.o spm_vol_utils.-DSPM_SIGNED_SHORT -DSPM_BYTESWAP
gcc 
--O3 -funroll-loops -fPIC -fexceptions -o utils_int_s.mexglx.o spm_vol_utils.-DSPM_SIGNED_INT -DSPM_BYTESWAP
gcc 
--O3 -funroll-loops -fPIC -fexceptions -o utils_ushort_s.mexglx.o spm_vol_utils.-DSPM_UNSIGNED_SHORT -DSPM_BYTESWAP
gcc 
--O3 -funroll-loops -fPIC -fexceptions -o utils_uint_s.mexglx.o spm_vol_utils.-DSPM_UNSIGNED_INT -DSPM_BYTESWAP
gcc 
--O3 -funroll-loops -fPIC -fexceptions -o utils_float_s.mexglx.o spm_vol_utils.-DSPM_FLOAT -DSPM_BYTESWAP
gcc 
--O3 -funroll-loops -fPIC -fexceptions -o utils_double_s.mexglx.o spm_vol_utils.-DSPM_DOUBLE -DSPM_BYTESWAP
gcc 
--O3 -funroll-loops -fPIC -fexceptions -o spm_make_lookup.mexglx.o spm_make_lookup.c
gcc 
--O3 -funroll-loops -fPIC -fexceptions -o spm_getdata.mexglx.o spm_getdata.c
gcc 
--O3 -funroll-loops -fPIC -fexceptions -o spm_vol_access.mexglx.o spm_vol_access.c
mex COPTIMFLAGS
='-O3 -funroll-loops -fexceptions' -c spm_mapping.
make
mexCommand not found
make
: *** [spm_mapping.mexglx.oError 127 

Searching out matlab links on this site I found a recent thread gcc, matlab and opensuse 11 - openSUSE Forums, which suggests that I may have to install a different version of gcc. Any guidance or suggestions prior to taking that particularly unpleasant path would be greatly appreciated.

Many thanks,

Adam