- To: "netcdfgroup@xxxxxxxxxxxxxxxx" <netcdfgroup@xxxxxxxxxxxxxxxx>
- Subject: [netcdfgroup] netcdf-4.3.0 on Mac OS 10.9 Mavericks
- From: Mark Cianciosa <ciancmr@xxxxxxxxxxxxxxxxxxxx>
- Date: Wed, 23 Oct 2013 16:44:48 +0000
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