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

[UDUNITS #NDS-204592]: udunits(3): syntax error:



Daniel,

> > Did you compile the UDUNITS package on the  Ubuntu 8.04 system with the
> > C macro "pgiFortran" defined? >
> 
> Yes. Without the -DpgiFortran flag, some of the functions in the
> library were undefined during link time.

The "pgiFortran" macro told the C compiler to use the Fortran-calling-C 
conventions of the PGI Fortran compiler.  Those conventions *should* be the 
same as the ones of the ifort(1) compiler (at least they were).

Did you call the Fortran function UTOPEN(3f) before you called the function 
UTDEC(3f)?

> Thanks,
> 
> Daniel.

Regards,
Steve Emmerson

Ticket Details
===================
Ticket ID: NDS-204592
Department: Support UDUNITS
Priority: Normal
Status: Closed