Hi,
I'm trying to compile the .dll files of v4 but I get the following error message:
***************************************************************
Warning: You are using gcc version "4.2.3". The earliest gcc version supported
with mex is "4.0.0". The latest version tested for use with mex is "4.2.0".
To download a different version of gcc, visit http://gcc.gnu.org
-> gcc -c -I/opt/matlab/extern/include -DMATLAB_MEX_FILE -ansi -D_GNU_SOURCE -fexceptions -fPIC -pthread -m32 -D_FILE_OFFSET_BITS=64 -DMX_COMPAT_32 -O -DNDEBUG mjdgges/mjdgges.c -o ../2007b/mjdgges.o
-> gcc -c -I/opt/matlab/extern/include -DMATLAB_MEX_FILE -ansi -D_GNU_SOURCE -fexceptions -fPIC -pthread -m32 -D_FILE_OFFSET_BITS=64 -DMX_COMPAT_32 -O -DNDEBUG /opt/matlab/extern/src/mexversion.c -o ../2007b/mexversion.o
-> gcc -O -pthread -shared -m32 -Wl,--version-script,/opt/matlab/extern/lib/glnx86/mexFunction.map -Wl,--no-undefined -o ../2007b/mjdgges.mexglx ../2007b/mjdgges.o ../2007b/mexversion.o -lmwlapack -Wl,-rpath-link,/opt/matlab/bin/glnx86 -L/opt/matlab/bin/glnx86 -lmx -lmex -lmat -lm -lm -lstdc++
/usr/bin/ld: cannot find -lstdc++
collect2: ld returned 1 exit status
mex: link of '../2007b/mjdgges.mexglx' failed.
??? Error using ==> mex at 208
Unable to complete successfully.
Error in ==> build_matlab at 67
eval([ COMPILE_COMMAND ' mjdgges/mjdgges.c ' LAPACK_PATH ]);
***************************************************************
My system is Ubuntu 8.04 and Matlab version is 7.5.
Could anyone help?
atanas