[netcdfgroup] ncgen3 with hdf5 link error

Dear Sir, 

We are compiling netcdf-4.1.1 with hdf5-1.8.4-patch1 and zlib-1.2.7. 
make check command on hdf5 and zlib has not returned any failures & hence we 
guess it has been successfully installed on our system (IBM AIX6). 

the configure command for building netcdf: 
./configure --prefix=/home/iitm/Jayant/netcdf-4.1.1-hdf --enable-netcdf-4 
--with-hdf5=/home/iitm/Jayant/hdf5-1.8.4-patch1 
--with-zlib=/home/iitm/Jayant/zlib-1.2.7 

The make command returns the following error: 
Making all in ncgen3 
source='main.c' object='main.o' libtool=no DEPDIR=.deps depmode=aix/bin/sh 
../depcomp xlc_r -DHAVE_CONFIG_H -I. -I.. -I../fortran -I.. -I../libsrc4 
-I../libsrc4 -I/home/iitm/Jayant/hdf5-1.8.4-patch1/include 
-I/home/iitm/Jayant/zlib-1.2.7/include -O -qmaxmem=-1 -qarch=auto -c -o main.o 
main.c 
source='load.c' object='load.o' libtool=no DEPDIR=.deps depmode=aix /bin/sh 
../depcomp xlc_r -DHAVE_CONFIG_H -I. -I.. -I../fortran -I.. -I../libsrc4 
-I../libsrc4 -I/home/iitm/Jayant/hdf5-1.8.4-patch1/include 
-I/home/iitm/Jayant/zlib-1.2.7/include -O -qmaxmem=-1 -qarch=auto -c -o load.o 
load.c 
source='escapes.c' object='escapes.o' libtool=no DEPDIR=.deps depmode=aix 
/bin/sh ../depcomp xlc_r -DHAVE_CONFIG_H -I. -I.. -I../fortran -I.. 
-I../libsrc4 -I../libsrc4 -I/home/iitm/Jayant/hdf5-1.8.4-patch1/include 
-I/home/iitm/Jayant/zlib-1.2.7/include -O -qmaxmem=-1 -qarch=auto -c -o 
escapes.o escapes.c 
source='getfill.c' object='getfill.o' libtool=no DEPDIR=.deps depmode=aix 
/bin/sh ../depcomp xlc_r -DHAVE_CONFIG_H -I. -I.. -I../fortran -I.. 
-I../libsrc4 -I../libsrc4 -I/home/iitm/Jayant/hdf5-1.8.4-patch1/include 
-I/home/iitm/Jayant/zlib-1.2.7/include -O -qmaxmem=-1 -qarch=auto -c -o 
getfill.o getfill.c 
source='init.c' object='init.o' libtool=no DEPDIR=.deps depmode=aix /bin/sh 
../depcomp xlc_r -DHAVE_CONFIG_H -I. -I.. -I../fortran -I.. -I../libsrc4 
-I../libsrc4 -I/home/iitm/Jayant/hdf5-1.8.4-patch1/include 
-I/home/iitm/Jayant/zlib-1.2.7/include -O -qmaxmem=-1 -qarch=auto -c -o init.o 
init.c 
source='genlib.c' object='genlib.o' libtool=no DEPDIR=.deps depmode=aix /bin/sh 
../depcomp xlc_r -DHAVE_CONFIG_H -I. -I.. -I../fortran -I.. -I../libsrc4 
-I../libsrc4 -I/home/iitm/Jayant/hdf5-1.8.4-patch1/include 
-I/home/iitm/Jayant/zlib-1.2.7/include -O -qmaxmem=-1 -qarch=auto -c -o 
genlib.o genlib.c 
source='ncgentab.c' object='ncgentab.o' libtool=no DEPDIR=.deps depmode=aix 
/bin/sh ../depcomp xlc_r -DHAVE_CONFIG_H -I. -I.. -I../fortran -I.. 
-I../libsrc4 -I../libsrc4 -I/home/iitm/Jayant/hdf5-1.8.4-patch1/include 
-I/home/iitm/Jayant/zlib-1.2.7/include -O -qmaxmem=-1 -qarch=auto -c -o 
ncgentab.o ncgentab.c 
/bin/sh ../libtool --tag=CC --mode=link xlc_r -O -qmaxmem=-1 -qarch=auto 
-L/home/iitm/Jayant/hdf5-1.8.4-patch1/lib -L/home/iitm/Jayant/zlib-1.2.7/lib -o 
ncgen3 main.o load.o escapes.o getfill.o init.o genlib.o ncgentab.o 
../libsrc4/libnetcdf.la -lhdf5_hl -lhdf5 -lz -lmlibtool: link: xlc_r -O 
-qmaxmem=-1 -qarch=auto -o ncgen3 main.o load.o escapes.o getfill.o init.o 
genlib.o ncgentab.o -L/home/iitm/Jayant/hdf5-1.8.4-patch1/lib 
-L/home/iitm/Jayant/zlib-1.2.7/lib ../libsrc4/.libs/libnetcdf.a 
/home/iitm/Jayant/hdf5-1.8.4-patch1/lib/libhdf5_hl.a 
/home/iitm/Jayant/hdf5-1.8.4-patch1/lib/libhdf5.a -lz -lm 
ld: 0711-317 ERROR: Undefined symbol: .H5Tclose 
ld: 0711-317 ERROR: Undefined symbol: .H5Gmove2 
ld: 0711-317 ERROR: Undefined symbol: .H5Dextend 
ld: 0711-317 ERROR: Undefined symbol: .H5open 
ld: 0711-317 ERROR: Undefined symbol: H5P_CLS_DATASET_CREATE_g 
ld: 0711-317 ERROR: Undefined symbol: .H5Pcreate 
ld: 0711-317 ERROR: Undefined symbol: .H5Pset_chunk 
ld: 0711-317 ERROR: Undefined symbol: .H5Screate_simple 
ld: 0711-317 ERROR: Undefined symbol: .H5Pset_attr_creation_order 
ld: 0711-317 ERROR: Undefined symbol: H5T_IEEE_F32BE_g 
ld: 0711-317 ERROR: Undefined symbol: .H5Dcreate1 
ld: 0711-317 ERROR: Undefined symbol: .H5Sclose 
ld: 0711-317 ERROR: Undefined symbol: .H5Pclose 
ld: 0711-317 ERROR: Undefined symbol: .H5DSset_scale 
ld: 0711-317 ERROR: Undefined symbol: .H5Dclose 
ld: 0711-317 ERROR: Undefined symbol: .H5Gunlink 
ld: 0711-317 ERROR: Undefined symbol: .H5DSdetach_scale 
ld: 0711-317 ERROR: Undefined symbol: .H5Gget_num_objs 
ld: 0711-317 ERROR: Undefined symbol: .H5Oget_info_by_idx 
ld: 0711-317 ERROR: Undefined symbol: .H5Lget_name_by_idx 
ld: 0711-317 ERROR: Undefined symbol: .H5DSattach_scale 
ld: 0711-317 ERROR: Undefined symbol: H5P_CLS_GROUP_CREATE_g 
ld: 0711-317 ERROR: Undefined symbol: .H5Pset_link_creation_order 
ld: 0711-317 ERROR: Undefined symbol: .H5Gcreate2 
ld: 0711-317 ERROR: Undefined symbol: .H5Gclose 
ld: 0711-317 ERROR: Undefined symbol: .H5Gopen2 
ld: 0711-317 ERROR: Undefined symbol: .H5Aget_num_attrs 
ld: 0711-317 ERROR: Undefined symbol: .H5Aopen_idx 
ld: 0711-317 ERROR: Undefined symbol: .H5Aget_name 
ld: 0711-317 ERROR: Undefined symbol: .H5Screate 
ld: 0711-317 ERROR: Undefined symbol: H5T_NATIVE_INT_g 
ld: 0711-317 ERROR: Undefined symbol: .H5Acreate1 
ld: 0711-317 ERROR: Undefined symbol: .H5Awrite 
ld: 0711-317 ERROR: Undefined symbol: .H5Aclose 
ld: 0711-317 ERROR: Undefined symbol: .H5Tenum_create 
ld: 0711-317 ERROR: Undefined symbol: .H5Tenum_insert 
ld: 0711-317 ERROR: Undefined symbol: .H5Tcommit1 
ld: 0711-317 ERROR: Undefined symbol: .H5Tget_native_type 
ld: 0711-317 ERROR: Undefined symbol: .H5Tcreate 
ld: 0711-317 ERROR: Undefined symbol: .H5Tvlen_create 
ld: 0711-317 ERROR: Undefined symbol: .H5Tarray_create1 
ld: 0711-317 ERROR: Undefined symbol: .H5Tinsert 
ld: 0711-317 ERROR: Undefined symbol: .H5Tset_size 
ld: 0711-317 ERROR: Undefined symbol: .H5Tset_strpad 
ld: 0711-317 ERROR: Undefined symbol: H5P_CLS_DATASET_ACCESS_g 
ld: 0711-317 ERROR: Undefined symbol: .H5Pset_layout 
ld: 0711-317 ERROR: Undefined symbol: .H5Pset_chunk_cache 
ld: 0711-317 ERROR: Undefined symbol: .H5Dcreate2 
ld: 0711-317 ERROR: Undefined symbol: .H5Pset_fletcher32 
ld: 0711-317 ERROR: Undefined symbol: .H5Pset_deflate 
ld: 0711-317 ERROR: Undefined symbol: .H5Pset_shuffle 
ld: 0711-317 ERROR: Undefined symbol: .H5Pset_fill_value 
ld: 0711-317 ERROR: Undefined symbol: H5T_STD_I8BE_g 
ld: 0711-317 ERROR: Undefined symbol: H5T_NATIVE_SCHAR_g 
ld: 0711-317 ERROR: Undefined symbol: H5T_STD_I8LE_g 
ld: 0711-317 ERROR: Undefined symbol: H5T_C_S1_g 
ld: 0711-317 ERROR: Undefined symbol: .H5Tcopy 
ld: 0711-317 ERROR: Undefined symbol: H5T_STD_I16BE_g 
ld: 0711-317 ERROR: Undefined symbol: H5T_NATIVE_SHORT_g 
ld: 0711-317 ERROR: Undefined symbol: H5T_STD_I16LE_g 
ld: 0711-317 ERROR: Undefined symbol: H5T_STD_I32BE_g 
ld: 0711-317 ERROR: Undefined symbol: H5T_STD_I32LE_g 
ld: 0711-317 ERROR: Undefined symbol: H5T_NATIVE_FLOAT_g 
ld: 0711-317 ERROR: Undefined symbol: H5T_IEEE_F32LE_g 
ld: 0711-317 ERROR: Undefined symbol: H5T_IEEE_F64BE_g 
ld: 0711-317 ERROR: Undefined symbol: H5T_NATIVE_DOUBLE_g 
ld: 0711-317 ERROR: Undefined symbol: H5T_IEEE_F64LE_g 
ld: 0711-317 ERROR: Undefined symbol: H5T_STD_U8BE_g 
ld: 0711-317 ERROR: Undefined symbol: H5T_NATIVE_UCHAR_g 
ld: 0711-317 ERROR: Undefined symbol: H5T_STD_U8LE_g 
ld: 0711-317 ERROR: Undefined symbol: H5T_STD_U16BE_g 
ld: 0711-317 ERROR: Undefined symbol: H5T_NATIVE_USHORT_g 
ld: 0711-317 ERROR: Undefined symbol: H5T_STD_U16LE_g 
ld: 0711-317 ERROR: Undefined symbol: H5T_STD_U32BE_g 
ld: 0711-317 ERROR: Undefined symbol: H5T_NATIVE_UINT_g 
ld: 0711-317 ERROR: Undefined symbol: H5T_STD_U32LE_g 
ld: 0711-317 ERROR: Undefined symbol: H5T_STD_I64BE_g 
ld: 0711-317 ERROR: Undefined symbol: H5T_NATIVE_LLONG_g 
ld: 0711-317 ERROR: Undefined symbol: H5T_STD_I64LE_g 
ld: 0711-317 ERROR: Undefined symbol: H5T_STD_U64BE_g 
ld: 0711-317 ERROR: Undefined symbol: H5T_NATIVE_ULLONG_g 
ld: 0711-317 ERROR: Undefined symbol: H5T_STD_U64LE_g 
ld: 0711-317 ERROR: Undefined symbol: .H5Gget_objinfo 
ld: 0711-317 ERROR: Undefined symbol: .H5Dget_space 
ld: 0711-317 ERROR: Undefined symbol: .H5Sget_simple_extent_type 
ld: 0711-317 ERROR: Undefined symbol: .H5Sget_simple_extent_dims 
ld: 0711-317 ERROR: Undefined symbol: .H5Dopen2 
ld: 0711-317 ERROR: Undefined symbol: H5P_CLS_DATASET_XFER_g 
ld: 0711-317 ERROR: Undefined symbol: .H5Dread 
ld: 0711-317 ERROR: Undefined symbol: .H5Sselect_hyperslab 
ld: 0711-317 ERROR: Undefined symbol: .H5Dwrite 
ld: 0711-317 ERROR: Undefined symbol: .H5Adelete 
ld: 0711-317 ERROR: Undefined symbol: .H5Gmove 
ld: 0711-317 ERROR: Undefined symbol: .H5Tequal 
ld: 0711-317 ERROR: Undefined symbol: .H5Sget_simple_extent_ndims 
ld: 0711-317 ERROR: Undefined symbol: .H5Fclose 
ld: 0711-317 ERROR: Undefined symbol: .H5Fflush 
ld: 0711-317 ERROR: Undefined symbol: .H5Eset_auto1 
ld: 0711-317 ERROR: Undefined symbol: .H5check_version 
ld: 0711-317 ERROR: Undefined symbol: H5P_CLS_FILE_ACCESS_g 
ld: 0711-317 ERROR: Undefined symbol: .H5Pset_fclose_degree 
ld: 0711-317 ERROR: Undefined symbol: .H5Pset_cache 
ld: 0711-317 ERROR: Undefined symbol: .H5Fopen 
ld: 0711-317 ERROR: Undefined symbol: .H5Dget_access_plist 
ld: 0711-317 ERROR: Undefined symbol: .H5DSis_scale 
ld: 0711-317 ERROR: Undefined symbol: .H5DSget_num_scales 
ld: 0711-317 ERROR: Undefined symbol: .H5Pget_chunk_cache 
ld: 0711-317 ERROR: Undefined symbol: .H5Dget_create_plist 
ld: 0711-317 ERROR: Undefined symbol: .H5Pget_layout 
ld: 0711-317 ERROR: Undefined symbol: .H5Pget_nfilters 
ld: 0711-317 ERROR: Undefined symbol: .H5Pget_filter2 
ld: 0711-317 ERROR: Undefined symbol: .H5Pfill_value_defined 
ld: 0711-317 ERROR: Undefined symbol: .H5Pget_fill_value 
ld: 0711-317 ERROR: Undefined symbol: .H5DSiterate_scales 
ld: 0711-317 ERROR: Undefined symbol: .H5Pget_chunk 
ld: 0711-317 ERROR: Undefined symbol: .H5Topen2 
ld: 0711-317 ERROR: Undefined symbol: .H5Tget_size 
ld: 0711-317 ERROR: Undefined symbol: .H5Tget_class 
ld: 0711-317 ERROR: Undefined symbol: .H5Tget_nmembers 
ld: 0711-317 ERROR: Undefined symbol: .H5Tget_member_name 
ld: 0711-317 ERROR: Undefined symbol: .H5Tget_member_value 
ld: 0711-317 ERROR: Undefined symbol: .H5Tget_member_type 
ld: 0711-317 ERROR: Undefined symbol: .H5Tget_member_offset 
ld: 0711-317 ERROR: Undefined symbol: .H5Tget_array_ndims 
ld: 0711-317 ERROR: Undefined symbol: .H5Tget_array_dims1 
ld: 0711-317 ERROR: Undefined symbol: .H5Tget_super 
ld: 0711-317 ERROR: Undefined symbol: .H5Tis_variable_str 
ld: 0711-317 ERROR: Undefined symbol: .H5Aget_type 
ld: 0711-317 ERROR: Undefined symbol: .H5Aget_space 
ld: 0711-317 ERROR: Undefined symbol: .H5Sget_simple_extent_npoints 
ld: 0711-317 ERROR: Undefined symbol: .H5Aread 
ld: 0711-317 ERROR: Undefined symbol: .H5Dget_type 
ld: 0711-317 ERROR: Undefined symbol: .H5Tget_order 
ld: 0711-317 ERROR: Undefined symbol: .H5Aopen_name 
ld: 0711-317 ERROR: Undefined symbol: .H5DSget_scale_name 
ld: 0711-317 ERROR: Undefined symbol: .H5Pset_libver_bounds 
ld: 0711-317 ERROR: Undefined symbol: H5P_CLS_FILE_CREATE_g 
ld: 0711-317 ERROR: Undefined symbol: .H5Fcreate 
ld: 0711-317 ERROR: Undefined symbol: .H5close 
ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more information. 
make: 1254-004 The error code from the last command is 8. 


Stop. 
make: 1254-004 The error code from the last command is 1. 


Stop. 
make: 1254-004 The error code from the last command is 2. 


Stop . 

How to resolve this issue. 

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