[thorne@auriga ~/mat_test]$ matlab -nodisplay < M A T L A B > Copyright 1984-2006 The MathWorks, Inc. Version 7.3.0.298 (R2006b) August 03, 2006 To get started, type one of these: helpwin, helpdesk, or demo. For product information, visit www.mathworks.com. >> getenv('ARCH') ans = glnx86 >> mcc -mv magicsquare.m Warning: Unable to open display , MATLAB is starting without a display. You will not be able to display graphics on the screen. Warning: Duplicate directory name: /usr/center/raid1/thorne/matlab. Warning: Duplicate directory name: /usr/center/raid1/local/matlab-r2006b/toolbox/local. Warning: Duplicate directory name: /usr/center/raid1/thorne/matlab. Compiler version: 4.4 (R2006a) Depfun main loop, iteration 1 Processing /usr/center/raid1/local/matlab-r2006b/toolbox/matlab/mcc.enc 1 item(s) added. Processing dependencies... 0 item(s) added. Depfun main loop, iteration 2 Processing dependencies... 0 item(s) added. Processing include files... 2 item(s) added. Processing exclude list... 0 item(s) excluded by M-file compilabilty rules. Processing directories installed with MCR... The file mccExcludedFiles.log contains a list of functions excluded from the CTF archive. 0 item(s) added. Generating MATLAB path for the compiled application... Created 36 path items. Depfun main loop converged in 2 iterations, total number of files = 26 Begin validation of MEX files: Wed Sep 6 08:57:06 2006 Validating '/usr/center/raid1/local/matlab-r2006b/toolbox/compiler/deploy/deploywhich.mexglx'. No conflicting M-file found. Validating '/usr/center/raid1/local/matlab-r2006b/toolbox/compiler/deploy/readline.mexglx'. No conflicting M-file found. End validation of MEX files: Wed Sep 6 08:57:06 2006 Deleting 2 temporary MEX authorization files. Removing: '/tmp/fileTjq1Q5_32617.auth'. Removing: '/tmp/file0kEwhZ_32617.auth'. Parsing file "/usr/center/raid1/thorne/mat_test/magicsquare.m" (Referenced from: "Compiler Command Line"). Parsing file "/usr/center/raid1/local/matlab-r2006b/toolbox/compiler/deploy/matlabrc.m" (Referenced from: "Compiler Command Line"). Parsing file "/usr/center/raid1/local/matlab-r2006b/toolbox/compiler/dirname.m" (Referenced from: "Compiler Command Line"). Parsing file "/usr/center/raid1/local/matlab-r2006b/toolbox/compiler/deploy/deployprint.m" (Referenced from: "Compiler Command Line"). Parsing file "/usr/center/raid1/local/matlab-r2006b/toolbox/compiler/deploy/printdlg.m" (Referenced from: "Compiler Command Line"). Parsing file "/usr/center/raid1/local/matlab-r2006b/toolbox/matlab/elmat/magic.m" (Referenced from: "/usr/center/raid1/thorne/mat_test/magicsquare.m"). Parsing file "/usr/center/raid1/local/matlab-r2006b/toolbox/matlab/strfun/str2num.m" (Referenced from: "/usr/center/raid1/thorne/mat_test/magicsquare.m"). Parsing file "/usr/center/raid1/local/matlab-r2006b/toolbox/matlab/iofun/filesep.m" (Referenced from: "/usr/center/raid1/local/matlab-r2006b/toolbox/compiler/deploy/matlabrc.m"). Parsing file "/usr/center/raid1/local/matlab-r2006b/toolbox/compiler/deploy/hgrc.m" (Referenced from: "/usr/center/raid1/local/matlab-r2006b/toolbox/compiler/deploy/matlabrc.m"). Parsing file "/usr/center/raid1/local/matlab-r2006b/toolbox/matlab/codetools/initdesktoputils.m" (Referenced from: "/usr/center/raid1/local/matlab-r2006b/toolbox/compiler/deploy/matlabrc.m"). Parsing file "/usr/center/raid1/local/matlab-r2006b/toolbox/local/initprefs.m" (Referenced from: "/usr/center/raid1/local/matlab-r2006b/toolbox/compiler/deploy/matlabrc.m"). Parsing file "/usr/center/raid1/local/matlab-r2006b/toolbox/matlab/general/isdeployed.m" (Referenced from: "/usr/center/raid1/local/matlab-r2006b/toolbox/compiler/deploy/matlabrc.m"). Parsing file "/usr/center/raid1/local/matlab-r2006b/toolbox/matlab/general/ispc.m" (Referenced from: "/usr/center/raid1/local/matlab-r2006b/toolbox/compiler/deploy/matlabrc.m"). Parsing file "/usr/center/raid1/local/matlab-r2006b/toolbox/matlab/lang/lasterror.m" (Referenced from: "/usr/center/raid1/local/matlab-r2006b/toolbox/compiler/deploy/matlabrc.m"). Parsing file "/usr/center/raid1/local/matlab-r2006b/toolbox/local/pathdef.m" (Referenced from: "/usr/center/raid1/local/matlab-r2006b/toolbox/compiler/deploy/matlabrc.m"). Parsing file "/usr/center/raid1/local/matlab-r2006b/toolbox/matlab/general/pwd.m" (Referenced from: "/usr/center/raid1/local/matlab-r2006b/toolbox/compiler/deploy/matlabrc.m"). Parsing file "/usr/center/raid1/local/matlab-r2006b/toolbox/matlab/general/recycle.m" (Referenced from: "/usr/center/raid1/local/matlab-r2006b/toolbox/compiler/deploy/matlabrc.m"). Parsing file "/usr/center/raid1/local/matlab-r2006b/toolbox/local/reporterrorlogs.m" (Referenced from: "/usr/center/raid1/local/matlab-r2006b/toolbox/compiler/deploy/matlabrc.m"). Parsing file "/usr/center/raid1/thorne/matlab/startup.m" (Referenced from: "/usr/center/raid1/local/matlab-r2006b/toolbox/compiler/deploy/matlabrc.m"). Parsing file "/usr/center/raid1/local/matlab-r2006b/toolbox/matlab/general/usejava.m" (Referenced from: "/usr/center/raid1/local/matlab-r2006b/toolbox/compiler/deploy/matlabrc.m"). Parsing file "/usr/center/raid1/local/matlab-r2006b/toolbox/matlab/iofun/fileparts.m" (Referenced from: "/usr/center/raid1/local/matlab-r2006b/toolbox/compiler/dirname.m"). Parsing file "/usr/center/raid1/local/matlab-r2006b/toolbox/matlab/timefun/datestr.m" (Referenced from: "/usr/center/raid1/local/matlab-r2006b/toolbox/compiler/deploy/deployprint.m"). Parsing file "/usr/center/raid1/local/matlab-r2006b/toolbox/matlab/graphics/getappdata.m" (Referenced from: "/usr/center/raid1/local/matlab-r2006b/toolbox/compiler/deploy/deployprint.m"). Parsing file "/usr/center/raid1/local/matlab-r2006b/toolbox/matlab/datatypes/isfield.m" (Referenced from: "/usr/center/raid1/local/matlab-r2006b/toolbox/compiler/deploy/deployprint.m"). Parsing file "/usr/center/raid1/local/matlab-r2006b/toolbox/matlab/uitools/msgbox.m" (Referenced from: "/usr/center/raid1/local/matlab-r2006b/toolbox/compiler/deploy/deployprint.m"). Parsing file "/usr/center/raid1/local/matlab-r2006b/toolbox/matlab/timefun/now.m" (Referenced from: "/usr/center/raid1/local/matlab-r2006b/toolbox/compiler/deploy/deployprint.m"). Parsing file "/usr/center/raid1/local/matlab-r2006b/toolbox/matlab/datatypes/num2cell.m" (Referenced from: "/usr/center/raid1/local/matlab-r2006b/toolbox/compiler/deploy/deployprint.m"). Parsing file "/usr/center/raid1/local/matlab-r2006b/toolbox/matlab/strfun/num2str.m" (Referenced from: "/usr/center/raid1/local/matlab-r2006b/toolbox/compiler/deploy/deployprint.m"). Parsing file "/usr/center/raid1/local/matlab-r2006b/toolbox/matlab/graphics/orient.m" (Referenced from: "/usr/center/raid1/local/matlab-r2006b/toolbox/compiler/deploy/deployprint.m"). Parsing file "/usr/center/raid1/local/matlab-r2006b/toolbox/matlab/graphics/print.m" (Referenced from: "/usr/center/raid1/local/matlab-r2006b/toolbox/compiler/deploy/deployprint.m"). Parsing file "/usr/center/raid1/local/matlab-r2006b/toolbox/matlab/iofun/tempname.m" (Referenced from: "/usr/center/raid1/local/matlab-r2006b/toolbox/compiler/deploy/deployprint.m"). Parsing file "/usr/center/raid1/local/matlab-r2006b/toolbox/matlab/general/path.m" (Referenced from: "/usr/center/raid1/local/matlab-r2006b/toolbox/compiler/deploy/printdlg.m"). Parsing file "/usr/center/raid1/local/matlab-r2006b/toolbox/matlab/general/rmpath.m" (Referenced from: "/usr/center/raid1/local/matlab-r2006b/toolbox/compiler/deploy/printdlg.m"). Generating file "magicsquare_main.c". Generating file "magicsquare_mcc_component_data.c". Executing command: mbuild -O -v -output "magicsquare" "magicsquare_main.c" "magicsquare_mcc_component_data.c" -link exe ---------------------------------------------------------------- -> mbuildopts.sh sourced from directory (DIR = $HOME/.matlab/$REL_VERSION) FILE = /usr/center/raid1/thorne/.matlab/R2006b/mbuildopts.sh ---------------------------------------------------------------- -> TMW_ROOT = /usr/local/matlab-r2006b -> CC = gcc -> CC flags: CFLAGS = -I/usr/local/matlab-r2006b/extern/include -DUNIX -DX11 -ansi -D_GNU_SOURCE -pthread -fexceptions CDEBUGFLAGS = -g COPTIMFLAGS = -O -DNDEBUG CLIBS = -Wl,-rpath-link,/usr/local/matlab-r2006b/bin/glnx86 -L/usr/local/matlab-r2006b/bin/glnx86 -lmwmclmcrrt -lm -lm /usr/local/matlab-r2006b/sys/os/glnx86/libstdc++.so.6 arguments = -> LD = gcc -> Link flags: LDFLAGS = -pthread LDDEBUGFLAGS = -g LDOPTIMFLAGS = -O arguments = ---------------------------------------------------------------- -> gcc -c -I/usr/local/matlab-r2006b/extern/include -DUNIX -DX11 -ansi -D_GNU_SOURCE -pthread -fexceptions -O -DNDEBUG magicsquare_main.c -> gcc -c -I/usr/local/matlab-r2006b/extern/include -DUNIX -DX11 -ansi -D_GNU_SOURCE -pthread -fexceptions -O -DNDEBUG magicsquare_mcc_component_data.c -> gcc -O -pthread -o magicsquare magicsquare_main.o magicsquare_mcc_component_data.o -Wl,-rpath-link,/usr/local/matlab-r2006b/bin/glnx86 -L/usr/local/matlab-r2006b/bin/glnx86 -lmwmclmcrrt -lm -lm /usr/local/matlab-r2006b/sys/os/glnx86/libstdc++.so.6 >>