PGC-S-0040-Illegal use of symbol (installation problem?)


I just installed the compiler, and i get an error when compiling the usual ‘hello world’ which doesn’t mean too much to me. could you please enlighten me on what i did wrong?

~/test/compiler_tests> pgcc -o hello hello.c
PGC-S-0040-Illegal use of symbol, __SSIZE_T_TYPE (/apps/share/pgi-6.0/linux86-64/6.0/include/bits/types.h: 184)
PGC/x86-64 Linux/x86-64 6.0-1: compilation completed with severe errors

thank you.


It does appear to be an install problem. What OS are you using? Also, what’s the output from the commands “uname -a” and “/lib/”?


Thank you very much for your response. /lib/ gives output which indeed suggests someone should first look at our linux installation.

Sorry to have bothered you.

the ‘PGC-S-0040-Illegal use of symbol’ error went away after renaming the types.h file, then manually adjusting the localrc files made everything work as i want. the system is a dual opteron, running a 64 bit kernel, and Debian GNU/Linux as distribution.