-
Notifications
You must be signed in to change notification settings - Fork 24.5k
Description
%gmake -v
GNU Make 3.80
Copyright (C) 2002 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.
%which cc
/usr/vacpp/bin/cc
zhangbb7%ls -l /usr/vacpp/bin/cc
lrwxrwxrwx 1 bin bin 16 Jan 1 16:11 /usr/vacpp/bin/cc@ -> /usr/vac/bin/xlc*
zhangbb7%ls -l /usr/vac/bin/xlc*
-r-xr-xr-x 13 bin bin 74947 Jun 7 2002 /usr/vac/bin/xlc*
-r-xr-xr-x 13 bin bin 74947 Jun 7 2002 /usr/vac/bin/xlc128*
-r-xr-xr-x 13 bin bin 74947 Jun 7 2002 /usr/vac/bin/xlc128_r*
-r-xr-xr-x 13 bin bin 74947 Jun 7 2002 /usr/vac/bin/xlc_r*
-r-xr-xr-x 13 bin bin 74947 Jun 7 2002 /usr/vac/bin/xlc_r4*
-r-xr-xr-x 13 bin bin 74947 Jun 7 2002 /usr/vac/bin/xlc_r7*
%xlc -v
exec: /usr/bin/pg(/usr/bin/pg,/usr/vac/exe/default_msg/vac.help,NULL)
C for AIX Compiler, Version 6
Usage:
xlc [ option | inputfile ]...
cc [ option | inputfile ]...
c89 [ option | inputfile ]...
xlc128 [ option | inputfile ]...
........
when i use gmake to run , it appears many errors, such like
......
xlc -O2 -DLUA_USE_POSIX -DLUA_USE_DLOPEN -c -o lundump.o lundump.c
xlc -O2 -DLUA_USE_POSIX -DLUA_USE_DLOPEN -c -o lvm.o lvm.c
xlc -O2 -DLUA_USE_POSIX -DLUA_USE_DLOPEN -c -o lzio.o lzio.c
xlc -O2 -DLUA_USE_POSIX -DLUA_USE_DLOPEN -c -o strbuf.o strbuf.c
"strbuf.h", line 77.1: 1506-277 (S) Syntax error: possible missing ';' or ','?
"strbuf.h", line 76.8: 1506-485 (S) Parameter declaration list is incompatible with declarator for inline.
"strbuf.h", line 83.12: 1506-045 (S) Undeclared identifier s.
"strbuf.h", line 89.1: 1506-277 (S) Syntax error: possible missing ';' or ','?
"strbuf.h", line 88.8: 1506-485 (S) Parameter declaration list is incompatible with declarator for inline.
"strbuf.h", line 95.9: 1506-045 (S) Undeclared identifier len.
......
Must i use GNU compiler to install it?