Changes for Matlab6.0:



1) src/Makefile:

MATLAB_BASE = /package/matlab/6.0-update1
CC_Linux = gcc

CFLAGS_Linux = -O -Wall -ansi -Werror -pedantic

LIBS_Linux = -L$(MATLAB_BASE)/extern/lib/glnx86 -lm -lut -lmat -lmx
  note the g in glnx86 above




2) need to change settings in .cshrc or equivalent:

   setenv LD_RUN_PATH /package/matlab/6.0-update1/extern/lib/glnx86
   setenv MATLAB_BASE '/package/matlab/6.0-update1'



3) The newer version of gcc in RedHat 7.1 finds some
   more warnings in the regykar C-code and thus, won't
   compile with the flag -Werror. Fixed the 
   following:


   a) emisnew.c: added `#include <string.h>' to head of file
   b) emisnew.c and for.c: changed `void main' to `int main'
                           and added 'return(0)' at the end
                           of main routine
   c) ../ansi_lib_loc/randlib.c: 
           line 150: added variable long tmp2;
           line 158-159:
                   fscanf(fp1,"%ld",&tmp2);
                   tmp=(unsigned long)tmp2;




