[MOAB-dev] strange compile errors
Iulian Grindeanu
iulian at mcs.anl.gov
Thu Feb 17 10:05:52 CST 2011
On Argonne machines, I am seeing some errors that I do not understand (and did not see yesterday).
Does anybody know what is going on?
configuring with:
./configure --prefix=/home/iulian/lib/serial/moab --with-cgm=/home/iulian/lib/serial/cg
m --with-netcdf=/homes/fathom/3rdparty/netcdf/netcdf-4.0.1/serial/gcc --with-hdf5=/homes
/fathom/3rdparty/hdf5/hdf5-1.8.3/serial/gcc --with-zlib=/homes/fathom/3rdparty/zlib/zlib
-1.2.4/gcc --with-szip=/homes/fathom/3rdparty/szip/szip-2.1/gcc --enable-debug --enable-
imesh --enable-shared
I get this error:
make[4]: Entering directory `/nfs/mcs-homes129/iulian/serial/MOAB/src'
CXXLD libMOAB.la
/usr/bin/ld: /homes/fathom/3rdparty/hdf5/hdf5-1.8.3/serial/gcc/lib/libhdf5.a(H5.o): relocation R_X86_64_32 against `H5_debug_g' can not be used when making a shared object; recompile with -fPIC
/homes/fathom/3rdparty/hdf5/hdf5-1.8.3/serial/gcc/lib/libhdf5.a: could not read
When I configure with:
./configure --prefix=/home/iulian/cub12/lib/moab --with-cgm=/home/iulian/cub12/lib/cgm
--with-netcdf=/homes/fathom/3rdparty/netcdf/netcdf-4.0.1/serial/gcc --with-hdf5=/homes/f
athom/3rdparty/hdf5/hdf5-1.8.3/serial/gcc --with-zlib=/homes/fathom/3rdparty/zlib/zlib-1
.2.4/gcc --with-szip=/homes/fathom/3rdparty/szip/szip-2.1/gcc --enable-debug --enable-im
esh
it goes a little further, but fails due to HDF5 references:
make[2]: Entering directory `/nfs/mcs-homes129/iulian/cub12/MOAB/tools'
Making all in .
make[3]: Entering directory `/nfs/mcs-homes129/iulian/cub12/MOAB/tools'
CXXLD mbconvert
/home/fathom/3rdparty/netcdf/netcdf-4.0.1/serial/gcc/lib/libnetcdf.so: undefined reference to `H5DSiterate_scales'
/home/fathom/3rdparty/netcdf/netcdf-4.0.1/serial/gcc/lib/libnetcdf.so: undefined reference to `H5DSattach_scale'
/home/fathom/3rdparty/netcdf/netcdf-4.0.1/serial/gcc/lib/libnetcdf.so: undefined reference to `H5DSget_num_scales'
/home/fathom/3rdparty/netcdf/netcdf-4.0.1/serial/gcc/lib/libnetcdf.so: undefined reference to `H5DSset_scale'
/home/fathom/3rdparty/netcdf/netcdf-4.0.1/serial/gcc/lib/libnetcdf.so: undefined reference to `H5DSget_scale_name'
/home/fathom/3rdparty/netcdf/netcdf-4.0.1/serial/gcc/lib/libnetcdf.so: undefined reference to `H5DSis_scale'
/home/fathom/3rdparty/netcdf/netcdf-4.0.1/serial/gcc/lib/libnetcdf.so: undefined reference to `H5DSdetach_scale'
collect2: ld returned 1 exit status
make[3]: *** [mbconvert] Error 1
make[3]: Leaving directory `/nfs/mcs-homes129/iulian/cub12/MOAB/tools'
More information about the moab-dev
mailing list