[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
20021015: Make error
- Subject: 20021015: Make error
- Date: Tue, 15 Oct 2002 13:53:11 -0600
Werner,
Use the -o32 flag to your compiler before compiling the object you are
trying to add to the gemlib.a library. You can't mix mips object versions
in an archive.
SGI has 3 types of object files that can be produced from the
compiler. These are controlled by the compiler flags -o32, -n32, -64.
The GEMPAK $CONFIGDIR/Makeinc.irix sets the compilation to the
mips-2 level of -o32 (the only version backwards compatible with IRIX5).
This is also known as the "old 32 bit" format.
The error message you have states that you are trying to add a "new 32 object"
file to the archive (the default for the compiler is -n32).
Steve Chiswell
>From: Werner Wintels <address@hidden>
>Organization: UCAR/Unidata
>Keywords: 200210151905.g9FJ5h126327
>
>I get the following error when I try to install a simple change in:
>
>/disk4f/gempak/GEMPAK5.6/gempak/source/gemlib/gg
>
>
>'make all' yields
>
>f77 -I/disk4f/gempak/GEMPAK5.6/gempak/include
>-I/disk4f/gempak/GEMPAK5.6/gempak/include/IRIX
>-Wl,-LD_LAYOUT:lgot_buffer=20 -c ggcbar.f
>
>No such feature exists (-5,116)
>
> ar rv /disk4f/gempak/GEMPAK5.6/lib/irix/gemlib.a *.o r - ggcbar.o
>ar: Warning:/disk4f/gempak/GEMPAK5.6/lib/irix/gemlib.a ONLY holds OLD
>32-bit objects.
> ggcbar.o is a NEW 32 object file so NO symbol table will be generated
>for this archive.
>
>
>Should this not be straight forward?
>
>Thanks again ahead of time.
>
>********************************
>Werner Wintels
>Atmospheric and Oceanic Sciences
>McGill University
>Montreal, Canada
>********************************
>