[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
TeXinfo-4.0 on IBM AIX 4.2
From: |
Nelson H. F. Beebe |
Subject: |
TeXinfo-4.0 on IBM AIX 4.2 |
Date: |
Mon, 20 Nov 2000 08:49:00 -0700 (MST) |
While I was able to force a build of texinfo-4.0 on IBM AIX 4.2
with CC=cc, my normal build procedure with CC=c89 failed because
of stricter type checking:
c89 -c -DLOCALEDIR=\"/usr/local/share/locale\"
-DGNULOCALEDIR=\"/usr/local/share/locale\"
-DLOCALE_ALIAS_PATH=\"/usr/local/share/locale:.\" -DHAVE_CONFIG_H -I.. -I.
-I../intl -I../lib -g finddomain.c
"finddomain.c", line 147.14: 1506-068 (S) Operation between types "char*" and
"int" is not allowed.
c89 -c -DLOCALEDIR=\"/usr/local/share/locale\"
-DGNULOCALEDIR=\"/usr/local/share/locale\"
-DLOCALE_ALIAS_PATH=\"/usr/local/share/locale:.\" -DHAVE_CONFIG_H -I.. -I.
-I../intl -I../lib -g intl-compat.c
c89 -c -DLOCALEDIR=\"/usr/local/share/locale\"
-DGNULOCALEDIR=\"/usr/local/share/locale\"
-DLOCALE_ALIAS_PATH=\"/usr/local/share/locale:.\" -DHAVE_CONFIG_H -I.. -I.
-I../intl -I../lib -g bindtextdom.c
"bindtextdom.c", line 116.27: 1506-068 (S) Operation between types "char*"
and "int" is not allowed.
"bindtextdom.c", line 148.31: 1506-068 (S) Operation between types "char*"
and "int" is not allowed.
"bindtextdom.c", line 164.32: 1506-068 (S) Operation between types "char*"
and "int" is not allowed.
make[2]: *** [bindtextdom.o] Error 1
c89 -c -DLOCALEDIR=\"/usr/local/share/locale\"
-DGNULOCALEDIR=\"/usr/local/share/locale\"
-DLOCALE_ALIAS_PATH=\"/usr/local/share/locale:.\" -DHAVE_CONFIG_H -I.. -I.
-I../intl -I../lib -g dcgettext.c
"dcgettext.c", line 276.29: 1506-045 (S) Undeclared identifier PATH_MAX.
make[2]: [dcgettext.o] Error 1 (ignored)
c89 -c -DLOCALEDIR=\"/usr/local/share/locale\"
-DGNULOCALEDIR=\"/usr/local/share/locale\"
-DLOCALE_ALIAS_PATH=\"/usr/local/share/locale:.\" -DHAVE_CONFIG_H -I.. -I.
-I../intl -I../lib -g loadmsgcat.c
"loadmsgcat.c", line 69.10: 1506-007 (S) "struct stat" is undefined.
"loadmsgcat.c", line 88.37: 1506-045 (S) Undeclared identifier O_RDONLY.
make[2]: [loadmsgcat.o] Error 1 (ignored)
c89 -c -DLOCALEDIR=\"/usr/local/share/locale\"
-DGNULOCALEDIR=\"/usr/local/share/locale\"
-DLOCALE_ALIAS_PATH=\"/usr/local/share/locale:.\" -DHAVE_CONFIG_H -I.. -I.
-I../intl -I../lib -g localealias.c
"localealias.c", line 258.18: 1506-280 (E) Function argument assignment
between types "char*" and "unsigned char*" is not allowed.
"localealias.c", line 264.19: 1506-280 (E) Function argument assignment
between types "const char*" and "unsigned char*" is not allowed.
"localealias.c", line 317.35: 1506-280 (E) Function argument assignment
between types "const char*" and "unsigned char*" is not allowed.
"localealias.c", line 318.35: 1506-280 (E) Function argument assignment
between types "const char*" and "unsigned char*" is not allowed.
c89 -c -DLOCALEDIR=\"/usr/local/share/locale\"
-DGNULOCALEDIR=\"/usr/local/share/locale\"
-DLOCALE_ALIAS_PATH=\"/usr/local/share/locale:.\" -DHAVE_CONFIG_H -I.. -I.
-I../intl -I../lib -g textdomain.c
"textdomain.c", line 89.34: 1506-068 (S) Operation between types "const
char*" and "int" is not allowed.
make[2]: [textdomain.o] Error 1 (ignored)
c89 -c -DLOCALEDIR=\"/usr/local/share/locale\"
-DGNULOCALEDIR=\"/usr/local/share/locale\"
-DLOCALE_ALIAS_PATH=\"/usr/local/share/locale:.\" -DHAVE_CONFIG_H -I.. -I.
-I../intl -I../lib -g explodename.c
"explodename.c", line 111.60: 1506-280 (E) Function argument assignment
between types "const unsigned char*" and "const char*" is not allowed.
c89 -DHAVE_CONFIG_H -I. -I. -I.. -I../intl -g -c substring.c
"/usr/include/sys/lock_def.h", line 226.1: 1506-166 (S) Definition of
function boolean_t requires parentheses.
"/usr/include/sys/lock_def.h", line 226.11: 1506-276 (S) Syntax error:
possible missing '{'?
"/usr/include/sys/pcl.h", line 77.9: 1506-007 (S) "struct priv" is undefined.
"/usr/include/sys/pcl.h", line 118.9: 1506-007 (S) "struct priv" is
undefined.
"/usr/include/sys/cred.h", line 51.9: 1506-046 (S) Syntax error.
"/usr/include/sys/cred.h", line 68.9: 1506-007 (S) "struct priv" is
undefined.
"/usr/include/sys/cred.h", line 74.9: 1506-007 (S) "struct priv" is
undefined.
"/usr/include/sys/cred.h", line 80.9: 1506-007 (S) "struct priv" is
undefined.
"/usr/include/sys/cred.h", line 86.9: 1506-007 (S) "struct priv" is
undefined.
make[2]: [substring.o] Error 1 (ignored)
c89 -DHAVE_CONFIG_H -I. -I. -I.. -I../intl -g -c xexit.c
"/usr/include/sys/lock_def.h", line 226.1: 1506-166 (S) Definition of
function boolean_t requires parentheses.
"/usr/include/sys/lock_def.h", line 226.11: 1506-276 (S) Syntax error:
possible missing '{'?
"/usr/include/sys/pcl.h", line 77.9: 1506-007 (S) "struct priv" is undefined.
"/usr/include/sys/pcl.h", line 118.9: 1506-007 (S) "struct priv" is
undefined.
"/usr/include/sys/cred.h", line 51.9: 1506-046 (S) Syntax error.
"/usr/include/sys/cred.h", line 68.9: 1506-007 (S) "struct priv" is
undefined.
"/usr/include/sys/cred.h", line 74.9: 1506-007 (S) "struct priv" is
undefined.
"/usr/include/sys/cred.h", line 80.9: 1506-007 (S) "struct priv" is
undefined.
"/usr/include/sys/cred.h", line 86.9: 1506-007 (S) "struct priv" is
undefined.
make[2]: [xexit.o] Error 1 (ignored)
There were a lot more of this flavor. Since texinfo is essentially
a filter, reading a text file, and producing a text file, there seems
to be no reason why it should not be compilable in a strict Standard C
environment.
-------------------------------------------------------------------------------
- Nelson H. F. Beebe Tel: +1 801 581 5254 -
- Center for Scientific Computing FAX: +1 801 585 1640, +1 801 581 4148 -
- University of Utah Internet e-mail: address@hidden -
- Department of Mathematics, 322 INSCC address@hidden address@hidden -
- 155 S 1400 E RM 233 address@hidden -
- Salt Lake City, UT 84112-0090, USA URL: http://www.math.utah.edu/~beebe -
-------------------------------------------------------------------------------
- TeXinfo-4.0 on IBM AIX 4.2,
Nelson H. F. Beebe <=