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.
The variable types do not seem to be not recognized by pgcc. Not exactly sure why this is happening, but from what I've read about this and similar errors, switching from pgcc to gcc seemed to be a solution. Is this an option for you? Michael > While building GEMPAK, I get the error below. This happens with pgi 6.2.5, > 7.2.5, and 8.0.3 > > pgcc -c9x -DUNDERSCORE -DLinux > -I/nics/e/sw/xt5/gempak/5.11.4/sles10.1_pgi6.2.5/GEMPAK5.11.4/gempak/include > -I/nics/e/sw/xt5/gempak/5.11.4/sles10.1_pgi6.2.5/GEMPAK5.11.4/os/linux64/inc > lude -I/usr/X11R6/include -g -O -I../include -DDEBUG_PRINT=0 > -DFNOC_KLUDGE=0 -DIGNORE_NESTING=1 -DMEMORY_DEBUG=0 -DTRACE_PRINT=0 -c > dump_print.c > > PGC-S-0035-Syntax error: Recovery attempted by replacing identifier uchar_t > by typedef id .Z0000 > (/nics/e/sw/xt5/gempak/5.11.4/sles10.1_pgi6.2.5/GEMPAK5.11.4/os/linux64/incl > ude/mel_bufr_types.h: 63) > PGC-S-0035-Syntax error: Recovery attempted by replacing identifier uchar_t > by typedef id .Z0001 > (/nics/e/sw/xt5/gempak/5.11.4/sles10.1_pgi6.2.5/GEMPAK5.11.4/os/linux64/incl > ude/mel_bufr_types.h: 65) > PGC-S-0040-Illegal use of symbol, uchar_t > (/nics/e/sw/xt5/gempak/5.11.4/sles10.1_pgi6.2.5/GEMPAK5.11.4/os/linux64/incl > ude/mel_bufr_types.h: 67) > PGC-W-0156-Type not specified, 'int' assumed > (/nics/e/sw/xt5/gempak/5.11.4/sles10.1_pgi6.2.5/GEMPAK5.11.4/os/linux64/incl > ude/mel_bufr_types.h: 67) > PGC-S-0035-Syntax error: Recovery attempted by replacing ',' by '=' > (/nics/e/sw/xt5/gempak/5.11.4/sles10.1_pgi6.2.5/GEMPAK5.11.4/os/linux64/incl > ude/mel_bufr_types.h: 156) > PGC-S-0035-Syntax error: Recovery attempted by replacing ',' by '!=' > (/nics/e/sw/xt5/gempak/5.11.4/sles10.1_pgi6.2.5/GEMPAK5.11.4/os/linux64/incl > ude/mel_bufr_types.h: 157) > PGC-S-0035-Syntax error: Recovery attempted by replacing identifier uchar_t > by typedef id .Z0002 > (/nics/e/sw/xt5/gempak/5.11.4/sles10.1_pgi6.2.5/GEMPAK5.11.4/os/linux64/incl > ude/mel_bufr_types.h: 297) > PGC-S-0035-Syntax error: Recovery attempted by replacing identifier uchar_t > by '}' > (/nics/e/sw/xt5/gempak/5.11.4/sles10.1_pgi6.2.5/GEMPAK5.11.4/os/linux64/incl > ude/mel_bufr_types.h: 308) > PGC-S-0040-Illegal use of symbol, uchar_t > (/nics/e/sw/xt5/gempak/5.11.4/sles10.1_pgi6.2.5/GEMPAK5.11.4/os/linux64/incl > ude/mel_bufr_types.h: 309) > PGC-W-0156-Type not specified, 'int' assumed > (/nics/e/sw/xt5/gempak/5.11.4/sles10.1_pgi6.2.5/GEMPAK5.11.4/os/linux64/incl > ude/mel_bufr_types.h: 309) > PGC-S-0040-Illegal use of symbol, uchar_t > (/nics/e/sw/xt5/gempak/5.11.4/sles10.1_pgi6.2.5/GEMPAK5.11.4/os/linux64/incl > ude/mel_bufr_types.h: 310) > PGC-W-0156-Type not specified, 'int' assumed > (/nics/e/sw/xt5/gempak/5.11.4/sles10.1_pgi6.2.5/GEMPAK5.11.4/os/linux64/incl > ude/mel_bufr_types.h: 310) > PGC-S-0040-Illegal use of symbol, uchar_t > (/nics/e/sw/xt5/gempak/5.11.4/sles10.1_pgi6.2.5/GEMPAK5.11.4/os/linux64/incl > ude/mel_bufr_types.h: 311) > PGC-W-0156-Type not specified, 'int' assumed > (/nics/e/sw/xt5/gempak/5.11.4/sles10.1_pgi6.2.5/GEMPAK5.11.4/os/linux64/incl > ude/mel_bufr_types.h: 311) > PGC-S-0040-Illegal use of symbol, uchar_t > (/nics/e/sw/xt5/gempak/5.11.4/sles10.1_pgi6.2.5/GEMPAK5.11.4/os/linux64/incl > ude/mel_bufr_types.h: 324) > PGC-W-0156-Type not specified, 'int' assumed > (/nics/e/sw/xt5/gempak/5.11.4/sles10.1_pgi6.2.5/GEMPAK5.11.4/os/linux64/incl > ude/mel_bufr_types.h: 324) > PGC-S-0040-Illegal use of symbol, uchar_t > (/nics/e/sw/xt5/gempak/5.11.4/sles10.1_pgi6.2.5/GEMPAK5.11.4/os/linux64/incl > ude/mel_bufr_types.h: 326) > PGC-W-0156-Type not specified, 'int' assumed > (/nics/e/sw/xt5/gempak/5.11.4/sles10.1_pgi6.2.5/GEMPAK5.11.4/os/linux64/incl > ude/mel_bufr_types.h: 326) > PGC-S-0040-Illegal use of symbol, uchar_t > (/nics/e/sw/xt5/gempak/5.11.4/sles10.1_pgi6.2.5/GEMPAK5.11.4/os/linux64/incl > ude/mel_bufr_types.h: 327) > PGC-W-0156-Type not specified, 'int' assumed > (/nics/e/sw/xt5/gempak/5.11.4/sles10.1_pgi6.2.5/GEMPAK5.11.4/os/linux64/incl > ude/mel_bufr_types.h: 327) > PGC-S-0040-Illegal use of symbol, uchar_t > (/nics/e/sw/xt5/gempak/5.11.4/sles10.1_pgi6.2.5/GEMPAK5.11.4/os/linux64/incl > ude/mel_bufr_types.h: 328) > PGC-W-0156-Type not specified, 'int' assumed > (/nics/e/sw/xt5/gempak/5.11.4/sles10.1_pgi6.2.5/GEMPAK5.11.4/os/linux64/incl > ude/mel_bufr_types.h: 328) > PGC-S-0040-Illegal use of symbol, uchar_t > (/nics/e/sw/xt5/gempak/5.11.4/sles10.1_pgi6.2.5/GEMPAK5.11.4/os/linux64/incl > ude/mel_bufr_types.h: 329) > PGC-W-0156-Type not specified, 'int' assumed > (/nics/e/sw/xt5/gempak/5.11.4/sles10.1_pgi6.2.5/GEMPAK5.11.4/os/linux64/incl > ude/mel_bufr_types.h: 329) > PGC-S-0040-Illegal use of symbol, uchar_t > (/nics/e/sw/xt5/gempak/5.11.4/sles10.1_pgi6.2.5/GEMPAK5.11.4/os/linux64/incl > ude/mel_bufr_types.h: 331) > PGC-W-0156-Type not specified, 'int' assumed > (/nics/e/sw/xt5/gempak/5.11.4/sles10.1_pgi6.2.5/GEMPAK5.11.4/os/linux64/incl > ude/mel_bufr_types.h: 331) > PGC-S-0040-Illegal use of symbol, uchar_t > (/nics/e/sw/xt5/gempak/5.11.4/sles10.1_pgi6.2.5/GEMPAK5.11.4/os/linux64/incl > ude/mel_bufr_types.h: 332) > PGC-W-0156-Type not specified, 'int' assumed > (/nics/e/sw/xt5/gempak/5.11.4/sles10.1_pgi6.2.5/GEMPAK5.11.4/os/linux64/incl > ude/mel_bufr_types.h: 332) > PGC-S-0040-Illegal use of symbol, uchar_t > (/nics/e/sw/xt5/gempak/5.11.4/sles10.1_pgi6.2.5/GEMPAK5.11.4/os/linux64/incl > ude/mel_bufr_types.h: 333) > PGC-W-0156-Type not specified, 'int' assumed > (/nics/e/sw/xt5/gempak/5.11.4/sles10.1_pgi6.2.5/GEMPAK5.11.4/os/linux64/incl > ude/mel_bufr_types.h: 333) > PGC-S-0040-Illegal use of symbol, uchar_t > (/nics/e/sw/xt5/gempak/5.11.4/sles10.1_pgi6.2.5/GEMPAK5.11.4/os/linux64/incl > ude/mel_bufr_types.h: 334) > PGC-W-0156-Type not specified, 'int' assumed > (/nics/e/sw/xt5/gempak/5.11.4/sles10.1_pgi6.2.5/GEMPAK5.11.4/os/linux64/incl > ude/mel_bufr_types.h: 334) > PGC-S-0037-Syntax error: Recovery attempted by deleting '}' > (/nics/e/sw/xt5/gempak/5.11.4/sles10.1_pgi6.2.5/GEMPAK5.11.4/os/linux64/incl > ude/mel_bufr_types.h: 337) > PGC-S-0040-Illegal use of symbol, uchar_t > (/nics/e/sw/xt5/gempak/5.11.4/sles10.1_pgi6.2.5/GEMPAK5.11.4/os/linux64/incl > ude/mel_bufr_types.h: 335) > PGC-W-0156-Type not specified, 'int' assumed > (/nics/e/sw/xt5/gempak/5.11.4/sles10.1_pgi6.2.5/GEMPAK5.11.4/os/linux64/incl > ude/mel_bufr_types.h: 335) > PGC-W-0156-Type not specified, 'int' assumed > (/nics/e/sw/xt5/gempak/5.11.4/sles10.1_pgi6.2.5/GEMPAK5.11.4/os/linux64/incl > ude/mel_bufr_types.h: 337) > PGC-S-0035-Syntax error: Recovery attempted by replacing identifier uchar_t > by typedef id .Z0003 > (/nics/e/sw/xt5/gempak/5.11.4/sles10.1_pgi6.2.5/GEMPAK5.11.4/os/linux64/incl > ude/mel_bufr_types.h: 346) > PGC-S-0035-Syntax error: Recovery attempted by replacing identifier uchar_t > by '}' > (/nics/e/sw/xt5/gempak/5.11.4/sles10.1_pgi6.2.5/GEMPAK5.11.4/os/linux64/incl > ude/mel_bufr_types.h: 357) > PGC-S-0037-Syntax error: Recovery attempted by deleting '}' > (/nics/e/sw/xt5/gempak/5.11.4/sles10.1_pgi6.2.5/GEMPAK5.11.4/os/linux64/incl > ude/mel_bufr_types.h: 376) > PGC-S-0040-Illegal use of symbol, uchar_t > (/nics/e/sw/xt5/gempak/5.11.4/sles10.1_pgi6.2.5/GEMPAK5.11.4/os/linux64/incl > ude/mel_bufr_types.h: 374) > PGC-F-0008-Error limit exceeded > (/nics/e/sw/xt5/gempak/5.11.4/sles10.1_pgi6.2.5/GEMPAK5.11.4/os/linux64/incl > ude/mel_bufr_types.h: 374) > PGC/x86-64 Linux 7.2-5: compilation aborted > > > > > Ticket Details =================== Ticket ID: WUL-173069 Department: Support GEMPAK Priority: Critical Status: Open