Re: Fatal Error

NOTE: The decoders mailing list is no longer active. The list archives are made available for historical reasons.




On Tue, 13 Oct 1998, Robert J. Boucher wrote:

Robb Kambic wrote:
> > Robert, > > I need more info: type of box, os, and version of the c compliler, output
> from make file, etc.
> > Robb... > > On Mon, 12 Oct 1998, Unidata Support wrote:

Robb,

Here is the info you requested regarding the fatal error I get when I
run the make file when installing the gribtonc decoder.

The type of box is an SGI O2, R10000 Processor 128MB Ram
The os is an IRIX 6.3
The version of the C compiler is MIPSpro C 7.2

I have included the Makefile as an attached file.  I have also included
below the output from running the Makefile which includes the error line
I have been receiving.

----------------------------------------------------------------------

making `all' in directory /disk2/cldShop/decoders-2.3.4/src/gribtonc

 cc -c -g -I/usr/local/netcdf/include -I/usr/local/udunits/include
emalloc.c
 cc -c -g -I/usr/local/netcdf/include -I/usr/local/udunits/include
gbds.c
 cc -c -g -I/usr/local/netcdf/include -I/usr/local/udunits/include
gbytem.c
 cc -c -g -I/usr/local/netcdf/include -I/usr/local/udunits/include
gdes.c
 cc -c -g -I/usr/local/netcdf/include -I/usr/local/udunits/include
get_prod.c
 cc -c -g -I/usr/local/netcdf/include -I/usr/local/udunits/include
grib1.c
 cc -c -g -I/usr/local/netcdf/include -I/usr/local/udunits/include
gribtypes.c
 cc -c -g -I/usr/local/netcdf/include -I/usr/local/udunits/include
inetutil.c
 cc -c -g -I/usr/local/netcdf/include -I/usr/local/udunits/include
levels.c
 cc -c -g -I/usr/local/netcdf/include -I/usr/local/udunits/include
params.c
 cc -c -g -I/usr/local/netcdf/include -I/usr/local/udunits/include
product_data.c
 cc -c -g -I/usr/local/netcdf/include -I/usr/local/udunits/include
quasi.c
 cc -c -g -I/usr/local/netcdf/include -I/usr/local/udunits/include
timeunits.c
 cc -c -g  -I/usr/local/netcdf/include -I/usr/local/udunits/include
ulog.c
 cc -c -g -I/usr/local/netcdf/include -I/usr/local/udunits/include
centers.c
 cc -c -g -I/usr/local/netcdf/include -I/usr/local/udunits/include
gribdump.c
 cc -c -g -I/usr/local/netcdf/include -I/usr/local/udunits/include
models.c
 cc -g emalloc.o  gbds.o  gbytem.o  gdes.o  get_prod.o  grib1.o
gribtypes.o  inetutil.o  levels.o  params.o  product_data.o  quasi.o
timeunits.o  ulog.o  centers.o  gribdump.o  models.o  -lm  -o gribdump
 cc -c -g -I/usr/local/netcdf/include -I/usr/local/udunits/include
gribtonc.c
 cc -c -g -I/usr/local/netcdf/include -I/usr/local/udunits/include
mkdirs_open.c
 cc -c -g -I/usr/local/netcdf/include -I/usr/local/udunits/include  nc.c

 cc -c -g -I/usr/local/netcdf/include -I/usr/local/udunits/include
ncfloat.c
 cc -c -g -I/usr/local/netcdf/include -I/usr/local/udunits/include
nuwg.c
 cc -c -g -I/usr/local/netcdf/include -I/usr/local/udunits/include
recs.c
 cc -c -g -I/usr/local/netcdf/include -I/usr/local/udunits/include
units.c
 cc -g emalloc.o  gbds.o  gbytem.o  gdes.o  get_prod.o  grib1.o
gribtypes.o  inetutil.o  levels.o  params.o  product_data.o  quasi.o
timeunits.o  ulog.o  gribtonc.o  mkdirs_open.o  nc.o  ncfloat.o  nuwg.o
recs.o  units.o \
       -L/usr/local/netcdf/lib -lnetcdf  -L/usr/local/udunits/lib
-ludunits -lm  -o gribtonc
ld:  FATAL 12:  Expecting o32 objects:
/usr/local/udunits/lib/libudunits.a(utlib.o) is n32.
*** Error code 1 (bu21)
*** Error code 1 (bu21)
Robert,

You have an incompatibility with the object files, -o32 verses -n32.  You
need to recompile the udunits files using the -o32 flag and then the link
with gribtonc will success.  I would look at the man pages for cc and then
edit udunits Makefile, make sure that the compile and the load are both
done with -o32.  BTW -o stands for old 32 bit and -n stands for new 32
bit, how nice.

Robb...




----------------------------------------------------------------------

If you need any further information just let me know.  Thanks for the
help.

Robert Boucher

--
Robert J. Boucher               Tel:  971-942-2000 X2893        
Associate MTS/Meteorologist     Fax:  971-972-2571              
Litton-TASC                     email:  rjboucher@xxxxxxxx
55 Walkers Brook Drive
Reading, MA 01867-3297

==============================================================================
Robb Kambic                                Unidata Program Center
Software Engineer III                      Univ. Corp for Atmospheric Research
rkambic@xxxxxxxxxxxxxxxx                   WWW: http://www.unidata.ucar.edu/
==============================================================================


  • 1998 messages navigation, sorted by:
    1. Thread
    2. Subject
    3. Author
    4. Date
    5. ↑ Table Of Contents
  • Search the decoders archives: