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

[netCDF #WSF-768420]: compilation error



Hello,

`NC_ENOGRP` is typically defined in `netcdf.h`, provided by the netCDF-C 
library.  The netCDF-Fortran library simply provides a Fortran-based interface 
to the C library.  I wonder if you perhaps have an older version of the C 
library installed.  Do you happen to know what version of netCDF-C is installed?

-Ward

> Full Name: Anandh TS
> Email Address: address@hidden
> Organization: IIT KGP
> Package Version: netcdf-fortran 4.4.3
> Operating System: ubuntu 16.04
> Hardware:
> Description of problem: Hi
> 
> I am facing the following problem while during make and make check in 
> netcdf-fortran 4.4.3
> 
> nf_lib.c: In function 'nc_rename_grp':
> nf_lib.c:167:9: error: 'NC_ENOGRP' undeclared (first use in this function)
> return NC_ENOGRP;
> ^
> nf_lib.c:167:9: note: each undeclared identifier is reported only once for 
> each function it appears in
> Makefile:604: recipe for target 'nf_lib.lo' failed
> make[2]: *** [nf_lib.lo] Error 1
> make[2]: Leaving directory 
> '/home/anandh/Downloads/netcdf-fortran-4.4.3/fortran'
> Makefile:731: recipe for target 'check' failed
> make[1]: *** [check] Error 2
> make[1]: Leaving directory 
> '/home/anandh/Downloads/netcdf-fortran-4.4.3/fortran'
> Makefile:534: recipe for target 'check-recursive' failed
> make: *** [check-recursive] Error 1
> 
> 
> 


Ticket Details
===================
Ticket ID: WSF-768420
Department: Support netCDF
Priority: Normal
Status: Closed