[netcdfgroup] netcdf (4.3.1.1) :error while compiling with xlc

Hi All,

I am compiling the netcdf ver. 4.3.1.1 on IBM AIX(power6) platform, it is going 
fine with gcc but while using xlc it is showing error,

**********************
"ocinternal.c", line 430.1: 1506-343 (S) Redeclaration of ocextractddsinmemory 
differs from previous declaration on line 43 of "ocinternal.c".
"ocinternal.c", line 430.1: 1506-050 (I) Return type "enum OCerror" in 
redeclaration is not compatible with the previous return type "int".
"ocinternal.c", line 466.1: 1506-343 (S) Redeclaration of ocextractddsinfile 
differs from previous declaration on line 44 of "ocinternal.c".
"ocinternal.c", line 466.1: 1506-050 (I) Return type "enum OCerror" in 
redeclaration is not compatible with the previous return type "int".
make[2]: *** [liboc_la-ocinternal.lo] Error 1
make[2]: Leaving directory `/gpfs1/cdac/mak/netcdf/nc-4-3/netcdf-4.3.1.1/oc2'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/gpfs1/cdac/mak/netcdf/nc-4-3/netcdf-4.3.1.1'
make: *** [all] Error 2
**********************

can some one help me in this regard, is i am missing any flag ?

Thank you.

Regards-
-Makrand


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