Unidata - To provide the data services, tools, and cyberinfrastructure leadership that advance Earth system science, enhance educational opportunities, and broaden participation. Unidata
         
  advanced  
 

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[UDUNITS #COP-571847]: Problem compiling udunits on OS X 10.4 Intel 64-bit



Jenny,

> After following the instructions you sent to Rebecca (and moving the
> source code), we think we have a successful install?!  We got the
> following warning, but the test was successful:
> 
> gcc -c -O2 -m64 -I../lib -I../port/misc -Df2cFortran udunits.c
> udunits.c: In function 'main':
> udunits.c:113: warning: incompatible implicit declaration of built-in
> function 'exit'

That's an interesting warning!  It should be ignorable, however.

> gcc -o udunits -O2 -m64 udunits.o -L/usr/local/udunits-1.12.4/src/lib
> -ludunits -L/usr/local/udunits-1.12.4/src/port/misc -ludport -ly
> ld64 warning: in /usr/lib/liby.a, missing required architecture
> x86_64 in file

Hmm...  Is there a directory on your system where the 64-bit versions
of libraries are kept (e.g., /usr/lib64)?

> returning to directory /usr/local/udunits-1.12.4/src
> 
> inteltest:/usr/local/udunits-1.12.4/src root# make test
> 
> making `test' in directory /usr/local/udunits-1.12.4/src/udunits
> 
> make[2]: `udunits' is up to date.
> ./udunits ../lib/udunits.dat <test.in | sed 's/\.00* UTC/.00 UTC/' \
> >test.out
> Success!

The successful "make test" indicates that you sucessfully built the
UDUNITS package.


Regards,
Steve Emmerson

Ticket Details
===================
Ticket ID: COP-571847
Department: Support UDUNITS
Priority: Normal
Status: Closed


 
 
  Contact Us     Site Map     Search     Terms and Conditions     Privacy Policy     Participation Policy
 
National Science Foundation (NSF) UCAR Office of Programs University Corporation for Atmospheric Research (UCAR)   Unidata is a member of the UCAR Office of Programs, is managed by the University Corporation for Atmospheric Research, and is sponsored by the National Science Foundation.
P.O. Box 3000     Boulder, CO 80307-3000 USA     Tel: 303-497-8643     Fax: 303-497-8690