aix6.1编译器报错版本和系统不符合

aix6.1编译器报错版本和系统不符合
I was able to solve this using the following procedure:

cd /etc
cp -pr /etc/vac.cfg.53 vac.cfg.61
rm /etc/vac/cfg
ln -s /etc/vac.cfg.61 vac.cfg

vi vac.cfg.61

under common definitions

options
add -D_AIX61 to the list of operating systems.

change

oslevel = 6.1

os_major = 6

os_minor = 1

works fine now.
from:
http://unix.ittoolbox.com/groups/technical-functional/ibm-aix-l/aix-c-compiler-2052509

你可能感兴趣的:(aix6.1编译器报错版本和系统不符合)