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.
>From: Robert Mullenax <address@hidden> >Organization: National Scientific Balloon Facility >Keywords: 199902040142.SAA28452 McIDAS-X -vendor Robert, >I was having trouble with front and frntdisp The NWS has been mucking with the format of the ASUS1 bulletins :-( >and saw the update. When I tried to update >the first on the list, front and frntdisp, the make of fronr failed with >a linking error. >I am using the Sun Compilers (4.2) on Solaris 7 for Intel, upgraded from >2.6. >Here is output from makefile. I left out a step in the information on how to build with the new version of makefile and mccomp.sh. Please see below. >./mccomp -vendor -I. -c front.pgm >f77 -c -O -vendor front.f >f77: Warning: Option -vendor passed to ld, if ld is invoked, ignored >otherwise >front.f: > ... >compile front.pgm: done >./mccomp -vendor -I. -c gra.c >cc -c -O -vendor -I. -I/usr/dt/include -I/usr/openwin/include gra.c >"gra.c", line 283: warning: implicitly declaring function to return int: >exit() >compile gra.c: done >./mccomp -vendor -I. -c m0eralvl.c >cc -c -O -vendor -I. -I/usr/dt/include -I/usr/openwin/include m0eralvl.c > >cc -c -O -vendor -I. -I/usr/dt/include -I/usr/openwin/include m0eralvl.c > >compile m0eralvl.c: done >./mcar libmcidas.a gra.o m0eralvl.o >update libmcidas.a: done >./mccomp -vendor -I. -c mcline.c >cc -c -O -vendor -I. -I/usr/dt/include -I/usr/openwin/include mcline.c >"mcline.c", line 235: warning: implicitly declaring function to return >int: m0d >compile mcline.c: done >./mcar libmcidas.a mcline.o >update libmcidas.a: done >./mccomp -vendor -s -o front.k main.o front.o -L. -lmcidas >f77 -vendor -s -o front.k main.o front.o -L. -R/usr/dt/lib -L/usr/dt/lib >-R/usr >f77: Warning: Option -vendor passed to ld, if ld is invoked, ignored > ... >link front.k: FAILED The problem here is that a new version of mccomp is needed; this is created from the new version of mccomp.sh that was in the update. I took the liberty of logging onto your system and doing the following: /export/home/mcidas% cd mcidas7.4/src /export/home/mcidas/mcidas7.4/src% dir mccomp 402678 -rwxr-xr-x 2 staff 27585 Nov 9 20:07 mccomp This shows that mccomp is still the old version. /export/home/mcidas/mcidas7.4/src% make mccomp rm -f mccomp; cp mccomp.sh mccomp; chmod 755 mccomp /export/home/mcidas/mcidas7.4/src% dir mccomp* 403877 -rwxr-xr-x 1 staff 28482 Feb 4 01:55 mccomp 402557 -rw-r--r-- 1 staff 28482 Jan 29 22:45 mccomp.sh /export/home/mcidas/mcidas7.4/src% make front.k link front.k: done /export/home/mcidas/mcidas7.4/src% make frntdisp.k compile frntdisp.pgm: done link frntdisp.k: done I will update the README in the unix/740/bugfix directory to reflect the need to remake mccomp. Thanks for catching this oversight. Tom