This archive contains answers to questions sent to Unidata support through mid-2025. Note that the archive is no longer being updated. We provide the archive for reference; many of the answers presented here remain technically correct, even if somewhat outdated. For the most up-to-date information on the use of NSF Unidata software and data services, please consult the Software Documentation first.
Dear Hirokazu Nakamura, >Date: Mon, 19 Jul 1999 10:26:43 -0600 >From: Unidata Support <address@hidden> >Organization: . >To: address@hidden >Subject: 19990719: GMT-INSTALL >Keywords: 199907191626.KAA23676 In the above message, you wrote: > jecd% uname -a > SunOS jecd 4.1.3-JL 1 sun4m ... [cat VERSION] > 3.4 ... > jecd% which f77 > /home/lang/f77 > jecd% version f77 > version-id of "f77": SC1.0 1Mar1991 > jecd% which gcc > /users/local/bin/gcc > jecd% which g++ > /users/local/bin/g++ ... > Making `all' in directory /hd9/gmt/netcdf-3.4/src/ncdump > > gcc -c -O -I../libsrc -DNDEBUG ncdump.c > gcc -c -O -I../libsrc -DNDEBUG vardata.c > gcc -c -O -I../libsrc -DNDEBUG dumplib.c > gcc -o ncdump -O ncdump.o vardata.o dumplib.o -L../libsrc -lnetcdf > > jecd% make >make.log > collect2: ld returned 2 exit status > ld: Undefined symbol > _memmove > *** Error code 1 > make: Fatal error: Command failed for target `ncdump' > Current working directory /hd9/gmt/netcdf-3.4/src/ncdump > *** Error code 1 > make: Fatal error: Command failed for target `subdir_target' > Current working directory /hd9/gmt/netcdf-3.4/src > *** Error code 1 > make: Fatal error: Command failed for target `ncdump/all' The error message above indicates that the Standard C function "memmove()" is missing from your linking environment. This function is required by the C Standard and the netCDF package requires a Standard C compiler. Because the gcc compiler is a Standard C compiler, this function should be available. The fact that it isn't suggests a problem with your gcc installation. I suggest that you consult with your system administrator to discover why this function is not available. When you have discovered why this function is unavailable, please tell me; I'll then be able to tell you if you can build the netCDF package and, if so, how. > +--------------------------------------------+ > Hirokazu NAKAMURA > Earthquake Disaster Mitigation Dept. > Japan Engineering Consultants Co., Ltd. > Tel: Int. 81-3-5385-5111; Fax: Int. 81-3-5385-8525 > (Direct line: Int. 81-3-5341-5110, ext. 4608) > E-mail: address@hidden; URL: http://www.jecc.co.jp > +--------------------------------------------+ > \(^o^)/ \(^o^)/ \(^o^)/ \(^o^)/ \(^o^)/ \(^o^)/ \(^o^)/ \(^o^)/ > +--------------------------------------------+ -------- Steve Emmerson <http://www.unidata.ucar.edu>