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.
Tom, I built the package here under a Solaris 5.8 system: SunOS gilda.unidata.ucar.edu 5.8 Generic_117350-30 sun4u sparc SUNW,Sun-Blade-1000 What C compiler are you using? My SUNSwpro reports: chiz on gilda --> cc -V cc: Sun C 5.7 2005/01/07 Since the error message is evoked twice, my first guess is that is doesn't like int numparts = 3; being declared above, and used in the char declaration. Steve Chiswell Unidata User Support >From: Tom McDermott <address@hidden> >Organization: UCAR/Unidata >Keywords: 200512292150.jBTLoq7s009419 >Steve, > >I ran into a little problem when building gempak 5.9.1 on Sparc Solaris >5.8 system. Here is the relevant excerpt from the make output: > >-n making in >/weather/GEMPAK5.9.1/gempak/source/programs/gd/gdgrib2 >cc -DUNDERSCORE -DNO_NANOSLEEP -DSunOS >-I/weather/GEMPAK5.9.1/gempak/include -I/weather/GEMPAK5. >9.1/os/sol/include -I/usr/dt/include -I/usr/openwin/include -O -c gdg2in.c >cc -DUNDERSCORE -DNO_NANOSLEEP -DSunOS >-I/weather/GEMPAK5.9.1/gempak/include -I/weather/GEMPAK5. >9.1/os/sol/include -I/usr/dt/include -I/usr/openwin/include -O -c >gdgetgrid.c >cc -DUNDERSCORE -DNO_NANOSLEEP -DSunOS >-I/weather/GEMPAK5.9.1/gempak/include -I/weather/GEMPAK5. >9.1/os/sol/include -I/usr/dt/include -I/usr/openwin/include -O -c >gdmakeg2.c >cc -DUNDERSCORE -DNO_NANOSLEEP -DSunOS >-I/weather/GEMPAK5.9.1/gempak/include -I/weather/GEMPAK5. >9.1/os/sol/include -I/usr/dt/include -I/usr/openwin/include -O -c >gdmakepdt.c >cc -DUNDERSCORE -DNO_NANOSLEEP -DSunOS >-I/weather/GEMPAK5.9.1/gempak/include -I/weather/GEMPAK5. >9.1/os/sol/include -I/usr/dt/include -I/usr/openwin/include -O -c >gdmakwmo.c >"gdmakwmo.c", line 31: integral constant expression expected >"gdmakwmo.c", line 31: integral constant expression expected >cc: acomp failed for gdmakwmo.c >*** Error code 2 >make: Fatal error: Command failed for target >`/weather/GEMPAK5.9.1/os/sol/lib/gdgrib2.a(gdmakwmo >.o)' >Current working directory >/weather/GEMPAK5.9.1/gempak/source/programs/gd/gdgrib2 >*** Error code 1 >make: Fatal error: Command failed for target `all' >Current working directory /weather/GEMPAK5.9.1/gempak/source/programs/gd >*** Error code 1 >make: Fatal error: Command failed for target `all' >Current working directory /weather/GEMPAK5.9.1/gempak/source/programs >*** Error code 1 >make: Fatal error: Command failed for target `all' >Current working directory /weather/GEMPAK5.9.1/gempak/source >*** Error code 1 >make: Fatal error: Command failed for target `all' >Current working directory /weather/GEMPAK5.9.1/gempak >*** Error code 1 >make: Fatal error: Command failed for target `all' > >After looking at the 'gdmakwmo.c' file, it's not obvious to me where the >problem lies, so I thought I would see if you have any ideas about it. >Thanks. > >Tom >----------------------------------------------------------------------------- >Tom McDermott 305 Lennon Hall >Systems Administrator Email: address@hidden >Earth Sciences Dept. Phone: (585) 395-5718 >SUNY College at Brockport Fax: (585) 395-2416 > -- NOTE: All email exchanges with Unidata User Support are recorded in the Unidata inquiry tracking system and then made publicly available through the web. If you do not want to have your interactions made available in this way, you must let us know in each email you send to us.