Fixing this is going to be a problem. If we look at the first error message: "/usr/include/stdio.h", line 497.12: 1506-343 (S) Redeclaration of fgetpos64 differs from previous declaration on line 296 of "/usr/include/stdio.h". and then look at the corresponding lines 497 and 296 (and line 94) in stdio.h, the problem appears to be that both the flags _LARGE_FILES and _LARGE_FILE_API are being defined somewhere. One possible solution is to prefix every occurrence (or at least the ones that cause errors) of #include <stdio.h> with #undef _LARGE_FILES and see that fixes the problem. Otherwise, I am at a loss. =Dennis Heimbigner Unidata Ticket Details =================== Ticket ID: IZQ-213986 Department: Support netCDF Priority: High Status: Open