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.
Ka Kit, You are almost finished here- since Garp is the last program that gets compiled. The problem here again I beleive your C compiler is pretty old. In /opt/SUNWspro/ directory you should see your Sun C compiler version as a directory named: SCx.x. The current version we support for our software is SC5.0. It sounds to me like the problem you are having is related to an SC3.x compiler which doesn't understand the syntax in the $GARPHOME/init/config.c routine. In the past, I have helped sites work around this problem with old compilers by placing the object file config.o for download On our gbuddy ftp site under: ~gbuddy/nawips-5.4/binary/solaris/garp/config.o You can download that one file into $GARPHOME/init/sol/ and then resume compiling. Hopefully that will solve your problems. After Garp is built, you should be ready to install the software. If your compilers are newer than SC3.x then please let me know since this is not a problem I have run in to with SC4.2 and SC5.0. Steve Chiswell Unidata User Support >From: "Ka Kit Lai" <address@hidden> >Organization: . >Keywords: 199912071750.KAA20369 >Hello, Steve. This is Ka Kit. There is some problem about my unix account, >so I have to use my hotmail account this time. I encounter another problem >when compiling the Gempak program after fixing the problem regarding the >older compiler that we have last time. I changed the value for "Copt = >-DUNDERSCORE -D $(OS)" and "FOPT= " and "LDFLAGS= ". Then I use make all to >recompile it, but I sill have the following error messages which I extract >from the make.out file: > >"/scratch/gempak/garp/include/gendef.h", line 65: warning: macro replacement >within a string literal >cc -DUNDERSCORE -DSunOS -c ../config.c \ > -I/usr/openwin/include \ > -I/usr/dt/include \ > -I/scratch/gempak/garp/include \ > -I/scratch/gempak/gempak5.4/include \ > -I/scratch/gempak/garp/xpm >"/scratch/gempak/garp/include/gendef.h", line 65: warning: macro replacement >within a string literal >"../config.c", line 361: fatal: macro recursion >cc: acomp failed for ../config.c >*** Error code 2 >make: Fatal error: Command failed for target `config.o' >Current working directory /scratch/gempak/garp/init/sol >*** Error code 1 >make: Fatal error: Command failed for target `LIB_DIR_ALL' >Current working directory /scratch/gempak/garp >*** Error code 1 >make: Fatal error: Command failed for target `all' > >I really appreciate for your help and look forward for you reply. > > Ka Kit Lai > >______________________________________________________ >Get Your Private, Free Email at http://www.hotmail.com >