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

9614: 960103: msdos-netCDF



>From: address@hidden (Jim Hines (awdnsun) 472-6708)
>Organization: University of Nebraska-Lincoln
>Keywords: 199601031952.AA00339

Jim,

>jackets.obj  is in the current directory.

OK.

>Here is the bat file I,m using
>
>fl /c jim.for

This should be:

Fl /c /AL jim.for

This will force the module to need/use the large memory model libraries
llibce.lib and llibfore.lib.  'jackets.obj' was created using the large memory
model:

cl /c /AL /Za /DMSDOS /I..\libsrc jackets.c

Right now I can't remember if the default for FL is the large memory model
or not...

>link /st:10000 /noe /nod jim.obj+jackets.obj+fslen.obj,,,netcdf.lib+xdr.lib+ll
> ibce.lib+llibfore.lib;
>
>(i changed it   but no help)

Looks OK to me.

>also  
>jim.for and jim.obj
>jackets.obj
>fslen.obj
>llibce.lib
>netcdf.lib
>xdr.lib
>llibfore.lib
>
>are all in the current directory

OK.

>i also got a new copy of jackets.obj (in binary) from 
>unidata.ucar.edu
>/pub/netscd/msdos/
>the byte count is right i think (8788) ....

You can use the LIB routine to get a listing of the entry points in jackets.obj:

LIB jackets.lib -+jackets.obj,jackets.lst;

This should give you back:

type jackets.lst:

_ncabor...........jackets           _ncacpy...........jackets                   
_ncadel...........jackets           _ncagt............jackets                   
_ncagtc...........jackets           _ncainq...........jackets                   
_ncanam...........jackets           _ncapt............jackets                   
_ncaptc...........jackets           _ncaren...........jackets                   
_ncclos...........jackets           _nccre............jackets                   
_ncddef...........jackets           _ncdid............jackets                   
_ncdinq...........jackets           _ncdren...........jackets                   
_ncendf...........jackets           _ncfils...........jackets                   
_ncgopt...........jackets           _ncinq............jackets                   
_ncopn............jackets           _ncpopt...........jackets                   
_ncredf...........jackets           _ncsfil...........jackets                   
_ncsnc............jackets           _nctlen...........jackets                   
_ncvdef...........jackets           _ncvg1c...........jackets                   
_ncvggc...........jackets           _ncvgt............jackets                   
_ncvgt1...........jackets           _ncvgtc...........jackets                   
_ncvgtg...........jackets           _ncvid............jackets                   
_ncvinq...........jackets           _ncvp1c...........jackets                   
_ncvpgc...........jackets           _ncvpt............jackets                   
_ncvpt1...........jackets           _ncvptc...........jackets                   
_ncvptg...........jackets           _ncvren...........jackets                   
                                                                                
                                                                                
jackets           Offset: 00000010H  Code and data size: 1f09H                  
  _ncabor           _ncacpy           _ncadel           _ncagt                  
  _ncagtc           _ncainq           _ncanam           _ncapt                  
  _ncaptc           _ncaren           _ncclos           _nccre                  
  _ncddef           _ncdid            _ncdinq           _ncdren                 
  _ncendf           _ncfils           _ncgopt           _ncinq                  
  _ncopn            _ncpopt           _ncredf           _ncsfil                 
  _ncsnc            _nctlen           _ncvdef           _ncvg1c                 
  _ncvggc           _ncvgt            _ncvgt1           _ncvgtc                 
  _ncvgtg           _ncvid            _ncvinq           _ncvp1c                 
  _ncvpgc           _ncvpt            _ncvpt1           _ncvptc                 
  _ncvptg           _ncvren                                                     

The entry points are as listed above.

>Got any ideas....

Not really!  The only thing I can think to ask is what version of
Fortran and C compiler you are using and possibly the memory model that
is being used.  I see that you have llibce.lib and llibfore.lib so I
know that you are using the correct libraries.  What I don't know is
whether or not you are creating jim.obj so that it is using the large
memory model.

>Thanks

If all else fails, give me access to jim.for and I will see what I can find
out.

Tom Yoksas
**************************************************************************** <
Unidata User Support                                    UCAR Unidata Program <
(303)497-8644                                                  P.O. Box 3000 <
address@hidden                                   Boulder, CO 80307 <
---------------------------------------------------------------------------- <
Unidata WWW Service                        http://www.unidata.ucar.edu/      <
**************************************************************************** <