Hi. I am trying to create a C share lib of magic.m and at the end I get "cat: ./libmagicmatrix.so: No such file or directory". Although all the files seem to have created correctly. I am using "../bin/mcc magic.m -W lib:libmagicmatrix and on GCC/Linux.
And subsequently,
.../bin/mbuild -gv -output magicmatrix magic.c libmagicmatrix.so
Warning: You are using gcc version "4.3.2-1.1)". The earliest gcc version supported
with mbuild is "4.0.0". The latest version tested for use with mbuild is "4.2.3".
To download a different version of gcc, visit http://gcc.gnu.org
libmagicmatrix.so: file not recognized: File format not recognized
collect2: ld returned 1 exit status
mbuild: link of 'magicmatrix' failed.
Any idea what I am doing wrong ?
|
|
0
|
|
|
|
Reply
|
Amit
|
11/18/2009 2:20:17 PM |
|