NOTICE: This version of the NSF Unidata web site (archive.unidata.ucar.edu) is no longer being updated.
Current content can be found at unidata.ucar.edu.
To learn about what's going on, see About the Archive Site.
NOTE: The netcdf-porting
mailing list is no longer active. The list archives are made available for historical reasons.
Hi, I am trying to compile netcdf-3.6.2 using the following script: #!/usr/bin/bash -f gmake uninstall gmake distclean rm makelog.* LOG=makelog.$$ export CC=xlc_r export CXX=xlC_r export F77=xlf_r export FC=xlf90_r CFLAGS="-q64 -qarch=auto" CXXFLAGS="-q64 -qarch=auto" FFLAGS="-q64 -qarch=auto" FCFLAGS="-q64 -qarch=auto" #F77FLAGS="-q64" export CPPFLAGS="-DAIX -DIBMR2Fortran -Df2cFortran" export SED=/usr/bin/sed export AWK=/usr/bin/awk export ARFLAGS="-X64" #export NMFLAGS="-X64" #export MAKE=/usr/bin/make ./configure --prefix=/home/caos1/mecsmrao/netcdf/netcdf_3.6.2 --enable-f90 2>&1 | tee $LOG gmake 2>&1 | tee -a $LOG gmake check 2>&1 | tee -a $LOG gmake install During the gmake check process i get errors like: source='fortlib.c' object='fortlib.o' libtool=no \ DEPDIR=.deps depmode=aix /bin/sh ../depcomp \ xlc_r -DHAVE_CONFIG_H -I. -I. -I.. -I../fortran -DAIX -DIBMR2Fortran -Df2cFortran -g -c -o fortlib.o fortlib.c /bin/sh ../libtool --tag=F77 --mode=link xlf_r -I../libsrc -I../f90 -g -o nf_test test_get.o test_put.o nf_error.o nf_tes t.o test_read.o test_write.o util.o fortlib.o ../libsrc/libnetcdf.la libtool: link: xlf_r -I../libsrc -I../f90 -g -o nf_test test_get.o test_put.o nf_error.o nf_test.o test_read.o test_write.o ut il.o fortlib.o ../libsrc/.libs/libnetcdf.a ld: 0711-317 ERROR: Undefined symbol: .ignorefpe ld: 0711-317 ERROR: Undefined symbol: .nf_create ld: 0711-317 ERROR: Undefined symbol: .nf_strerror ld: 0711-317 ERROR: Undefined symbol: .nf_def_dim ld: 0711-317 ERROR: Undefined symbol: .nf_def_var ld: 0711-317 ERROR: Undefined symbol: .udabort ld: 0711-317 ERROR: Undefined symbol: .nf_put_att_text ld: 0711-317 ERROR: Undefined symbol: .nf_put_att_double ld: 0711-317 ERROR: Undefined symbol: .nf_enddef ld: 0711-317 ERROR: Undefined symbol: .nf_put_vara_text ld: 0711-317 ERROR: Undefined symbol: .nf_put_vara_double ld: 0711-317 ERROR: Undefined symbol: .nf_close ld: 0711-317 ERROR: Undefined symbol: .udexit ld: 0711-317 ERROR: Undefined symbol: .nf_delete ld: 0711-317 ERROR: Undefined symbol: .nf_open ld: 0711-317 ERROR: Undefined symbol: .nf_issyserr ld: 0711-317 ERROR: Undefined symbol: .nf_redef ld: 0711-317 ERROR: Undefined symbol: .nf_inq ld: 0711-317 ERROR: Undefined symbol: .nf_inq_dimid ld: 0711-317 ERROR: Undefined symbol: .nf_inq_dim and so on. Could someone suggest a solution? Due to this error i am unable to compile a climate model (CAM3). I am getting similar errors on compiling netcdf-4.0.0. I am also attaching the logfile. -- Thanks, Samrat Rao
Attachment:
makelog.336030
Description: Binary data
netcdf-porting
archives: