[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: 20051205: UDUNITS link
- Subject: Re: 20051205: UDUNITS link
- Date: Mon, 05 Dec 2005 21:56:15 -0700
Subhasis,
> To: address@hidden
> From: Subhasis Mahapatra <address@hidden>
> Organization: ?
> Keywords: 200512050907.jB59737s008480 UDUNITS
The above message contained the following:
> i compile the programme as
> ifort readgeneral.f -I/usr/local/udunits-1.12.4/include
> -I/usr/local/include/ -L/usr/local/udunits-1.12.4/lib -L/usr/local/lib/
> -ludunits
We don't support the package that contains readgeneral.f. You should
communicate with the entity that does.
> and got the error message as
> ifort: Command line warning: ignoring option '-cm'; no argument required
> /tmp/ifortntzpMP.o(.text+0x3b): In function `MAIN__':
> : undefined reference to `ncopn__'
> /tmp/ifortntzpMP.o(.text+0x55): In function `MAIN__':
> : undefined reference to `ncvid__'
The above symbols are part of the netCDF library. Your link-command is
missing a reference to that library (e.g., "-L /usr/local/netcdf/lib
-lnetcdf").
> /tmp/ifortntzpMP.o(.text+0x180): In function `gridread_':
> : undefined reference to `utmake__'
> /tmp/ifortntzpMP.o(.text+0x196): In function `gridread_':
> : undefined reference to `utdec__'
> /tmp/ifortntzpMP.o(.text+0x1a0): In function `gridread_':
> : undefined reference to `uttime__'
The above symbols belong to the UDUNITS library. Use the nm(1) utility
to determine if the library contains them (e.g., "nm -g
/usr/local/udunits-1.12.4/lib/libudunits.a | grep utmake").
> /tmp/ifortntzpMP.o(.text+0x1b2): In function `gridread_':
> : undefined reference to `ncvid_'
> /tmp/ifortntzpMP.o(.text+0x1d7): In function `gridread_':
> : undefined reference to `ncainq_'
> /tmp/ifortntzpMP.o(.text+0x1fd): In function `gridread_':
> : undefined reference to `ncagtc_'
The above symbols are part of the netCDF library.
> and so so so
> any help please/......
> --
> With Best Regards,
> Subhasis Mahapatra
Regards,
Steve Emmerson
> NOTE: All email exchanges with Unidata User Support are recorded in the
> Unidata inquiry tracking system and then made publicly available
> through the web. If you do not want to have your interactions made
> available in this way, you must let us know in each email you send to us.