n32 vs. o32 problem linking matlab engine

Alexandre Oliva aoliva@redhat.com
Thu Sep 7 23:42:00 GMT 2000

On Sep  7, 2000, Perry de Valpine <devalpin@nceas.ucsb.edu> wrote:

> I am using gcc on an SGI IRIX 6.4 system and trying to link a matlab
> library. I get:

> ld32: FATAL 12: Expecting n32 objects: libmx.so is o32.

> Any ideas? Compiler flags?  I can't recompile libmx.so in any way since
> it's from matlab.  Thanks.

Try to compile your sources with -mabi=32.

Alexandre Oliva   Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer                  aoliva@{cygnus.com, redhat.com}
CS PhD student at IC-Unicamp        oliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist    *Please* write to mailing lists, not to me

More information about the Gcc-help mailing list