[netcdfgroup] netcdf-4.3.0 on Mac OS 10.9 Mavericks

There is an error occurring when compiling the netcdf-4.3.0 C libraries on Mac 
OS 10.9. The build fails with

In file included from load.c:14:
./genlib.h:84:15: error: expected parameter declarator
extern size_t strlcat(char *dst, const char *src, size_t siz);
              ^

It looks like the cause of this error is that HAVE_STRLCAT is not being defined 
correctly. Commenting out line 84 in genlib.h solves the compiling error for me 
in the meantime.

Mark Cianciosa
Postdoctoral Fellow
Auburn University


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