[netcdfgroup] netcdf-4.3.0 on AIX IBM Power6

Dear admin,
                          I have had issues with using netcdf-4.1.3
libraries with a fortran code and hence was trying my luck with netdf-4.3.0
which is the latest version on AIX  IBM power6  machine

I use below configuration setting .
%%%%%%%%%%%%%%%%%%%%%%%%%%
export CFLAGS=""
export CC=""
export FFLAGS=""
export FC=""
export CXX=""
export CPP=""
export OBJECT_MODE=64
#make clean
#make distclean
export CC=/usr/vac/bin/xlc
export FC=/bin/xlf95
export CXX=/usr/vacpp/bin/xlC
export LIBS="-L/gpfs1/sjo/pkgs/local/lib  -lz -lcurl -lssl -lcrypto
-lhdf5_hl -lhdf5"
CPPFLAGS=-I/gpfs1/sjo/pkgs/local/include
LDFLAGS=-L/gpfs1/sjo/pkgs/local/lib ./configure --pr
efix=/gpfs1/sjo/local CC=xlc
%%%%%%%%%%%%%%%%%%%%%%

But gets below error. from ocinternal.c .Please advice if there a solution
to this issue.
with best regards,
Sudheer


source='ocinternal.c' object='liboc_la-ocinternal.lo' libtool=yes \
DEPDIR=.deps depmode=xlc /bin/sh ../depcomp \
/bin/sh ../libtool  --tag=CC   --mode=compile xlc -DHAVE_CONFIG_H -I. -I..
-I.. -I../include -I/gpfs1/sjo/pkgs/local/include   -c -o
liboc_la-ocinternal.lo `test -f 'ocinternal.c' || echo './'`ocinternal.c
libtool: compile:  xlc -DHAVE_CONFIG_H -I. -I.. -I.. -I../include
-I/gpfs1/sjo/pkgs/local/include -c ocinternal.c
-Wp,-qmakedep=gcc,-MF.deps/liboc_la-ocinternal.TPlo  -DPIC -o
.libs/liboc_la-ocinternal.o
"ocinternal.c", line 436.1: 1506-343 (S) Redeclaration of
ocextractddsinmemory differs from previous declaration on line 41 of
"ocinternal.c".
"ocinternal.c", line 436.1: 1506-050 (I) Return type "enum OCerror" in
redeclaration is not compatible with the previous return type "int".
"ocinternal.c", line 472.1: 1506-343 (S) Redeclaration of
ocextractddsinfile differs from previous declaration on line 42 of
"ocinternal.c".
"ocinternal.c", line 472.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/sjo/pkgs/netcdf-4.3.0/oc2'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/gpfs1/sjo/pkgs/netcdf-4.3.0'
make: *** [all] Error 2


-- 
with best regards

Sudheer

**********************************************************************************
Dr. Sudheer Joseph

Scientist

INDIAN NATIONAL CENTRE FOR OCEAN INFORMATION SERVICES (INCOIS)
MINISTRY OF EARTH SCIENCES, GOVERNMENT OF INDIA
"OCEAN VALLEY" PRAGATHI NAGAR (BO)
OPP.JNTU, NIZAMPET SO
Andhra Pradesh, India. PIN- 500 090.
TEl:+91-40-23044600(R),Tel:+91-9440832534(Mobile)
Tel:+91-40-23886047(O),Fax:+91-40-23892910(O)
E-mail: sudheer.joseph@xxxxxxxxx;  sjo@xxxxxxxxxxxxx.
Web- http://oppamthadathil.tripod.com
           --------------* ---------------
"The ultimate measure of a man is
not where he stands in moments of
comfort and convenience, but where
he stands at times of challenge and
controversy."
                        Martin Luther King, Jr.
"What we have done for ourselves alone dies with us.
What we have done for others and the world remains and is immortal."
- Albert Pines
  • 2013 messages navigation, sorted by:
    1. Thread
    2. Subject
    3. Author
    4. Date
    5. ↑ Table Of Contents
  • Search the netcdfgroup archives: