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

Re: netCDF Fortran (77 + 90) - Undefined references



"Sylvia Navarro" <address@hidden> writes:

> Institution: Harris Corporation
> Package Version: netcdf-3.5.1
> Operating System: RHEL4.0
> Hardware Information: IBM PowerPC Blade 64bit
> Inquiry: I am having trouble figuring out why I have some undefined 
> references.  I can compile and install the netcdf library without errors.  
> However, I am needing to use the functions F90FREE, F90ALLOC, F90_LEN_TRIM 
> (for use with c++ code).  When I perform a search on these functions, I see 
> that they are undefined.  How would I be able to compile and install using 
> these functions.  Below is what I see.
>
> [snavarro@gamma0006 Level1B_To_Level2_Strategy]$ nm -a 
> netcdf-3.5.1/lib/libnetcdf.a | grep F90
>                  U ._F90ALLOC
>                  U ._F90FREE
>                  U ._F90_LEN_TRIM_
> 0000000000000120 D __NF90_ABORT_in_NETCDF
> 0000000000000940 T .__NF90_ABORT_in_NETCDF
> 0000000000000138 D __NF90_CLOSE_in_NETCDF
> 0000000000000980 T .__NF90_CLOSE_in_NETCDF
> 00000000000001e0 D __NF90_COPY_ATT_in_NETCDF
> ......
>
> Is there way to define these?  Attached is my macros.make file that I am 
> using.
>
> Thank you for your help.
> Sylvia Navarro
>

Did you run make test after building netCDF?

If so, did it succeed?

Thanks,

Ed

-- 
Ed Hartnett  -- address@hidden