[22765] in Athena Bugs

home help back first fref pref prev next nref lref last post

linux 9.2.7: Matlab (mcc)

daemon@ATHENA.MIT.EDU (Raghunathan Sudarshan)
Thu Jul 3 17:49:44 2003

Message-Id: <200307032149.h63LngQc016520@w20-575-116.mit.edu>
To: bugs@MIT.EDU
Date: Thu, 03 Jul 2003 17:49:42 -0400
From: Raghunathan Sudarshan <darshan@MIT.EDU>

System name:		w20-575-116.mit.edu
Type and version:	i686 9.2.7
Display type:		

Shell:			/bin/athena/tcsh
Window manager:		sawfish

What were you trying to do?
     Build standalone executable using mcc -m

What's wrong:
     The compiler reports the following unresolved libraries:
  
-> gcc -O -pthread  -o StableSquarePlate  StableSquarePlate.o BFSSubdivision.o BuggyBFSRec.o FindRestraints.o Matrices.o Nachbar.o BuggySRMatrices.o SubdivMatrices.o ElementMassMatrix.o ElementStiffnessMatrix.o StableSquarePlate_main.o -Wl,--rpath-link,/mit/matlab_v6.5/distrib/extern/lib/glnx86,--rpath-link,/mit/matlab_v6.5/distrib/bin/glnx86 -L/mit/matlab_v6.5/distrib/extern/lib/glnx86 -L/mit/matlab_v6.5/distrib/bin/glnx86  -lmmfile -lmatlb -lmx -lmwservices -lmex -lut -lm -lm 

/usr/lib/libc_nonshared.a(elf-init.oS): In function `__libc_csu_init':
elf-init.oS(.text+0xb): undefined reference to `__init_array_end'
elf-init.oS(.text+0x10): undefined reference to `__init_array_start'
elf-init.oS(.text+0x23): undefined reference to `__init_array_start'
/usr/lib/libc_nonshared.a(elf-init.oS): In function `__libc_csu_fini':
elf-init.oS(.text+0x36): undefined reference to `__fini_array_end'
elf-init.oS(.text+0x3b): undefined reference to `__fini_array_start'
elf-init.oS(.text+0x57): undefined reference to `__fini_array_start'
collect2: ld returned 1 exit status

What should have happened:
     A standalone executable ought to have been created.

Please describe any relevant documentation references:
	[Please replace this line with your information.]

home help back first fref pref prev next nref lref last post