NOTE: The netcdf-hdf mailing list is no longer active. The list archives are made available for historical reasons.

"Paulo Calil" <paulo.calil@xxxxxxxxx> writes:

> HI, <br><br>I&#39;ve managed to install netcdf4 (alpha18) on a linux machine 
> using gfortran and g77. <br><br>However, when trying on a Macbook, I got the 
> following error (after installing zlib and hdf 1.8.0) when running make :
> <br><br>--------------------------------<br>fort-v2compat.c: In function 
> &#39;c_nccre&#39;:<br>fort-v2compat.c:242: error: &#39;NC_CLASSIC_MODEL&#39; 
> undeclared (first use in this function)<br>fort-v2compat.c:242: error: (Each 
> undeclared identifier is reported only once
> <br>fort-v2compat.c:242: error: for each function it appears 
> in.)<br>fort-v2compat.c: In function 
> &#39;c_ncopn&#39;:<br>fort-v2compat.c:288: error: &#39;NC_CLASSIC_MODEL&#39; 
> undeclared (first use in this function)<br>make[3]: *** [
> fort-v2compat.lo] Error 1<br>make[2]: *** [all] Error 2<br>make[1]: *** 
> [all-recursive] Error 1<br>make: *** [all] Error 
> 2<br>---------------------------------------<br><br><br>Any 
> ideas?<br><br>Thanks<br><br>Paulo<br>


Firstly, if you got that error, it means you ran configure without
--enable-netcdf-4. You probably want netCDF-4, so you need to use

Secondly, I have fixed that, and the fix is in the latest daily
snapshot, so give it a try:

Finally, I am getting a different test failure on macs, which I am
working on right now. But even if make check fails for you, you can
continue to work on your netCDF-4 application while I work on getting
the build fixed for macs...


Ed Hartnett  -- ed@xxxxxxxxxxxxxxxx

To unsubscribe netcdf-hdf, visit:

  • 2007 messages navigation, sorted by:
    1. Thread
    2. Subject
    3. Author
    4. Date
    5. ↑ Table Of Contents
  • Search the netcdf-hdf archives: