[netcdf-hdf] installing netcdf4-hdf5 - tst_nans.o ERROR

NOTE: The netcdf-hdf mailing list is no longer active. The list archives are made available for historical reasons.

I'm trying to set up netcdf4 on ix86 GNU/Linux and encountered the following:

[All help appreciated! I'm pretty new to all this, so apologies if it's 
blindingly obvious]

James

./configure --enable-netcdf-4 --with-hdf5=/work/jdha/UTILS/hdf5 
--with-zlib=/work/jdha/UTILS/hdf5 --prefix=/work/jdha/UTILS/netcdf4 
[--enable-static / --enable-shared] (tried both)

make check

...

libtool: link: cc -g -O2 -o tst_comp tst_comp.o  -L/work/jdha/UTILS/hdf5/lib 
../libsrc4/.libs/libnetcdf.a /work/jdha/UTILS/hdf5/lib/libhdf5_hl.so 
-L/work/jdha/UTILS/zlib/lib /work/jdha/UTILS/hdf5/lib/libhdf5.so -lz -lm 
-Wl,-rpath -Wl,/work/jdha/UTILS/hdf5/lib -Wl,-rpath 
-Wl,/work/jdha/UTILS/hdf5/lib
depbase=`echo tst_nans.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
cc -DHAVE_CONFIG_H -I. -I.. -I../fortran  -I../libsrc4 -I../libsrc4 
-I/work/jdha/UTILS/hdf5/include -I/work/jdha/UTILS/hdf5/include    -g -O2 -MT 
tst_nans.o -MD -MP -MF $depbase.Tpo -c -o tst_nans.o tst_nans.c &&\
mv -f $depbase.Tpo $depbase.Po
/bin/sh ../libtool --tag=CC   --mode=link cc  -g -O2 
-L/work/jdha/UTILS/hdf5/lib -L/work/jdha/UTILS/hdf5/lib   -o tst_nans 
tst_nans.o -lm ../libsrc4/libnetcdf.la -lhdf5_hl -lhdf5
libtool: link: cc -g -O2 -o tst_nans tst_nans.o  -L/work/jdha/UTILS/hdf5/lib 
../libsrc4/.libs/libnetcdf.a /work/jdha/UTILS/hdf5/lib/libhdf5_hl.so 
-L/work/jdha/UTILS/zlib/lib /work/jdha/UTILS/hdf5/lib/libhdf5.so -lz -lm 
-Wl,-rpath -Wl,/work/jdha/UTILS/hdf5/lib -Wl,-rpath 
-Wl,/work/jdha/UTILS/hdf5/lib
tst_nans.o(.text+0x3de): In function `main':
/work/jdha/UTILS/netcdf-4.0-snapshot2008041720/ncdump/tst_nans.c:92: undefined 
reference to `signbit'
tst_nans.o(.text+0x45e):/work/jdha/UTILS/netcdf-4.0-snapshot2008041720/ncdump/tst_nans.c:94:
 undefined reference to `signbit'
tst_nans.o(.text+0x58c):/work/jdha/UTILS/netcdf-4.0-snapshot2008041720/ncdump/tst_nans.c:102:
 undefined reference to `signbit'
tst_nans.o(.text+0x60f):/work/jdha/UTILS/netcdf-4.0-snapshot2008041720/ncdump/tst_nans.c:104:
 undefined reference to `signbit'
tst_nans.o(.text+0x694):/work/jdha/UTILS/netcdf-4.0-snapshot2008041720/ncdump/tst_nans.c:107:
 undefined reference to `signbit'
tst_nans.o(.text+0x711):/work/jdha/UTILS/netcdf-4.0-snapshot2008041720/ncdump/tst_nans.c:109:
 more undefined references to `signbit' follow
collect2: ld returned 1 exit status
make[3]: *** [tst_nans] Error 1
make[3]: Leaving directory 
`/work/jdha/UTILS/netcdf-4.0-snapshot2008041720/ncdump'
make[2]: *** [check-am] Error 2
make[2]: Leaving directory 
`/work/jdha/UTILS/netcdf-4.0-snapshot2008041720/ncdump'
make[1]: *** [check] Error 2
make[1]: Leaving directory 
`/work/jdha/UTILS/netcdf-4.0-snapshot2008041720/ncdump'
make: *** [check-recursive] Error 1


-- 
This message (and any attachments) is for the recipient only. NERC
is subject to the Freedom of Information Act 2000 and the contents
of this email and any reply you make may be disclosed by NERC unless
it is exempt from release under the Act. Any material supplied to
NERC may be stored in an electronic records management system.



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