Package: gcc-3.3 Version: 1:3.3.4-6sarge1 Severity: normal If I type (magicsquares is a matlab script)
mcc -vm magicsquares I get ----------------------------------------------------------------- Loaded cache file: /home/johns839/.matlab/R14/mcc.cache/1.24.4.5:msuerl:644596010 ----------------------------------------------------------------- ----------------------------------------------------------------- -> DISPLAY=localhost:11.0 used from the environment, not the cache . . . ----------------------------------------------------------------- ----------------------------------------------------------------- -> Checking access to X display localhost:11.0 . . . If no response hit ^C and fix host or access control to host. Otherwise, checkout any error messages that follow and fix . . . -> Successful . . . ----------------------------------------------------------------- To get started, type one of these: helpwin, helpdesk, or demo. For product information, visit www.mathworks.com. Compiler version: 4.0 (R14) Parsing file "/home/johns839/matlab_testing/magicsquare.m" (Referenced from: "Compiler Command Line"). Parsing file "/usr/local/matlab/toolbox/compiler/deploy/matlabrc.m" (Referenced from: "Compiler Command Line"). Parsing file "/usr/local/matlab/toolbox/compiler/dirname.m" (Referenced from: "Compiler Command Line"). Parsing file "/usr/local/matlab/toolbox/matlab/elmat/magic.m" (Referenced from: "/home/johns839/matlab_testing/magicsquare.m"). Parsing file "/usr/local/matlab/toolbox/matlab/strfun/str2num.m" (Referenced from: "/home/johns839/matlab_testing/magicsquare.m"). Parsing file "/usr/local/matlab/toolbox/compiler/deploy/hgrc.m" (Referenced from: "/usr/local/matlab/toolbox/compiler/deploy/matlabrc.m"). Parsing file "/usr/local/matlab/toolbox/matlab/strfun/str2double.m" (Referenced from: "/usr/local/matlab/toolbox/compiler/deploy/matlabrc.m"). Parsing file "/usr/local/matlab/toolbox/matlab/general/usejava.m" (Referenced from: "/usr/local/matlab/toolbox/compiler/deploy/matlabrc.m"). Parsing file "/usr/local/matlab/toolbox/matlab/iofun/fileparts.m" (Referenced from: "/usr/local/matlab/toolbox/compiler/dirname.m"). Generating file "magicsquare_main.c". Depfun main loop, iteration 1 Processing /usr/local/matlab/toolbox/matlab/mcc.enc 1 items added Processing dependencies... 0 items added Depfun main loop, iteration 2 Processing dependencies... 0 items added Processing include files... 2 items added. Processing exclude list... 0 items removed. Processing installed directories... 589 items removed. Generating MATLAB path... Created 31 path items. Depfun main loop converged in 2 iterations, total number of files = 7 Generating file "magicsquare_mcc_component_data.c". Executing command: mbuild -O -v -output "magicsquare" "magicsquare_main.c" "magicsquare_mcc_component_data.c" -link exe /usr/local/matlab/bin/mbuild: line 1: /lib/libc.so.6: Permission denied ---------------------------------------------------------------- -> mbuildopts.sh sourced from directory (DIR = $TMW_ROOT/bin) FILE = /usr/local/matlab/bin/mbuildopts.sh ---------------------------------------------------------------- -> TMW_ROOT = /usr/local/matlab -> CC = gcc-3.3 -fexceptions -> CC flags: CFLAGS = -I/usr/local/matlab/extern/include -DUNIX -DX11 -ansi -D_GNU_SOURCE -pthread -fexceptions CDEBUGFLAGS = -g COPTIMFLAGS = -O -DNDEBUG CLIBS = -Wl,--rpath-link,/usr/local/matlab/bin/glnx86 -L/usr/local/matlab/bin/glnx86 -lmwmclmcrrt -lm -lstdc++ arguments = -> LD = gcc-3.3 -fexceptions -> Link flags: LDFLAGS = -pthread LDDEBUGFLAGS = -g LDOPTIMFLAGS = -O arguments = ---------------------------------------------------------------- -> gcc-3.3 -fexceptions -c -I/usr/local/matlab/extern/include -DUNIX -DX11 -ansi -D_GNU_SOURCE -pthread -fexceptions -O -DNDEBUG magicsquare_main.c -> gcc-3.3 -fexceptions -c -I/usr/local/matlab/extern/include -DUNIX -DX11 -ansi -D_GNU_SOURCE -pthread -fexceptions -O -DNDEBUG magicsquare_mcc_component_data.c -> gcc-3.3 -fexceptions -O -pthread -o magicsquare magicsquare_main.o magicsquare_mcc_component_data.o -Wl,--rpath-link,/usr/local/matlab/bin/glnx86 -L/usr/local/matlab/bin/glnx86 -lmwmclmcrrt -lm -lstdc++ /usr/lib/gcc-lib/i486-linux/3.3.4/libstdc++.so: undefined reference to [EMAIL PROTECTED]' collect2: ld returned 1 exit status mbuild: link of 'magicsquare' failed. Error: An error occurred while shelling out to mbuild (error code = -1). Unable to build executable. I've tried this with gcc 3.2, sames results -- System Information: Debian Release: 3.1 APT prefers testing APT policy: (500, 'testing') Architecture: i386 (i686) Kernel: Linux 2.6.5-1-686 Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 Versions of packages gcc-3.3 depends on: ii binutils 2.14.90.0.7-8 The GNU assembler, linker and bina ii cpp-3.3 1:3.3.4-6sarge1 The GNU C preprocessor ii gcc-3.3-base 1:3.3.4-6sarge1 The GNU Compiler Collection (base ii libc6 2.3.2.ds1-13 GNU C Library: Shared libraries an ii libgcc1 1:3.4.1-4sarge1 GCC support library -- no debconf information