Bug#630564: libnetcdf-dev: The netcdf.mod file is not compatible with gfortran 4.6

Alastair McKinstry mckinstry at debian.org
Wed Jun 15 08:30:40 UTC 2011


Package: netcdf
Version: 1:4.1.1-5
Severity: normal
Tags: sid

Building against netcdf with gfortran leads to:
gfortran -g -O0 -I/usr/include  -I/usr/include  -I.  -o nemo-cmor-rewriter nemo-cmor-rewriter.f90  /usr/lib/libnetcdff.a /usr/lib/libnetcdf.a  /usr/lib/libcmor.a /usr/lib/libhdf5_hl.a /usr/lib/libhdf5.a -lpthread -lz  -ludunits2 -lossp-uuid -lcurl
nemo-cmor-rewriter.f90:5.12:

  USE netcdf
            1
Fatal Error: Wrong module version '0' (expected '6') for file 'netcdf.mod' opened at (1)

A rebuild of netcdf with gfortran-4.6 and it works. 

-- System Information:
Debian Release: 6.0.1
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: powerpc (ppc)

Kernel: Linux 2.6.18-3-powerpc
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/bash





More information about the Pkg-grass-devel mailing list