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.

[netcdfgroup] test_varm3 compile error

make[3]: Entering directory `/builddir/build/BUILD/netcdf-4.1-beta2-snapshot2009092800/ncdap_test'
depbase=`echo test_varm3.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
cc -DHAVE_CONFIG_H -I. -I.. -I../fortran -I.. -I../ncdump -I../libsrc4 -I/usr/include/hdf -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -MT test_varm3.o -MD -MP -MF $depbase.Tpo -c -o test_varm3.o test_varm3.c &&\
        mv -f $depbase.Tpo $depbase.Po
/bin/sh ../libtool --tag=CC --mode=link cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -L../libsrc4 -L/usr/lib64/hdf -o test_varm3 test_varm3.o ../libsrc4/libnetcdf.la -lhdf5_hl -lhdf5 libtool: link: cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -o .libs/test_varm3 test_varm3.o -L/builddir/build/BUILD/netcdf-4.1-beta2-snapshot2009092800/libsrc4 -L/usr/lib64/hdf ../libsrc4/.libs/libnetcdf.so -L/usr/lib -L/lib -lcurl -lhdf5_hl -lhdf5 -Wl,-rpath -Wl,/usr/lib64
../libsrc4/.libs/libnetcdf.so: undefined reference to `SDend'
../libsrc4/.libs/libnetcdf.so: undefined reference to `SDfileinfo'
../libsrc4/.libs/libnetcdf.so: undefined reference to `SDdiminfo'
../libsrc4/.libs/libnetcdf.so: undefined reference to `SDgetfillvalue'
../libsrc4/.libs/libnetcdf.so: undefined reference to `SDgetinfo'
../libsrc4/.libs/libnetcdf.so: undefined reference to `SDselect'
../libsrc4/.libs/libnetcdf.so: undefined reference to `SDgetdimid'
../libsrc4/.libs/libnetcdf.so: undefined reference to `SDstart'
../libsrc4/.libs/libnetcdf.so: undefined reference to `SDreaddata'
../libsrc4/.libs/libnetcdf.so: undefined reference to `SDreadattr'
../libsrc4/.libs/libnetcdf.so: undefined reference to `SDattrinfo'
collect2: ld returned 1 exit status

Configure args are:

+ ./configure --build=x86_64-redhat-linux-gnu --host=x86_64-redhat-linux-gnu --target=x86_64-redhat-linux-gnu --program-prefix= --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info CPPFLAGS=-I/usr/include/hdf LDFLAGS=-L/usr/lib64/hdf --enable-shared --enable-netcdf-4 --enable-dap --enable-hdf4 --enable-ncgen4 --enable-extra-example-tests --enable-valgrind-tests --with-libcf

Presumably this shouldn't be compiled in this configuration? Or hdf needs to be compiled differently? Or this needs to be linked to -lmfhdf? Or?

Thanks!

--
Orion Poplawski
Technical Manager                     303-415-9701 x222
NWRA/CoRA Division                    FAX: 303-415-9702
3380 Mitchell Lane                  orion@xxxxxxxxxxxxx
Boulder, CO 80301              http://www.cora.nwra.com



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