[MMTK] compilation problem in SGI.

mao xiang xmao@iris.sipp.ac.cn
Sat, 27 Nov 1999 15:38:07 +0800


Hello, everyone:
    I met a problem in compilation of ScientificPython in my machine, my
machine is O2 from SGI, and the OS is irix6.3. When I compile it first,
I got the error :

 ---------------------------
 ld: FATAL 113: cannot link new 32-bit object without -n32:
 Scientific_netcdf.o.
 ---------------------------
And then I add  I add -n32 to "ld -shared -all -n32" in Makefile and
Makefile.pre, and recompile it, I got the error:
-------------------
ld: FATAL 112: cannot link old 32-bit object with -n32 link:
/usr/local/lib/libnetcdf.a(attr.o).
-------------------------------------
    I do not know how to solve this problem, I wish you can give me some
advice about it. Thanks in advance.

Regards,
mao xiang

  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|  Mao Xiang                                                      |
|  Lab of Molecular Regulation for Microbial Secondary Metabolism |
|  Shanghai institute of Plant Physiology, Academia Sinica        |
|  300 Fenglin Road, Shanghai, China, 200032                      |
|  Tel: +86-21-64042090-4791                                      |
|  Fax: +86-21-64042385                                           |
  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~