On Wed, Sep 23, 2009 at 05:16:00PM +0100, Magnus Hagdorn wrote:
>
> On Wed, 2009-09-23 at 17:36 +0200, Francesco Paolo Lovergine wrote:
> > I'm currently trying to move forward Debian support of netcdf from
> > 3.6.3
> > to 4.0.1 (and possibly 4.1beta ASAP). Of course, I'm using gfortran
> > 4.3.3
> > (and possibly 4.4 for next release). Things go ok, but for Fortran
> > check,
> > which fails miserably due to linking problems. Note that I added
> > -DgFortran
> > explicitly at configure time. I'm not a Fortran guy, but I noted that
> > all named functions are tagged as undefined in the named solibs: it
> > seems
> > they are linked as external instead of being wrapped to C functions.
> > Any hints?
>
> Hi Francesco,
> it works for me on sid. I configured netCDF with
>
> ./configure FC=gfortran F77=gfortran --enable-separate-fortran
> --enable-shared
Well, --enable-separate-fortran should be implicitly set with
--enable-shared. I missed to say that I'm using --enable-netcdf-4 too.
--
Francesco P. Lovergine