[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
groff-1.19.1 compilation error on IRIX 5.3
From: |
Georg Schwarz |
Subject: |
groff-1.19.1 compilation error on IRIX 5.3 |
Date: |
Sun, 16 May 2004 01:35:26 +0200 |
User-agent: |
MacSOUP/D-2.6 (Mac OS 8.1) |
GROFF VERSION: 1.19.1
MACHINE: SGI Indigo
OS: IRIX 5.3
COMPILER:
g++ 2.95.3 or g++ 3.3.3 (does not make a difference)
INPUT FILES:
n/a
COMMAND LINE:
n/a
DESCRIPTION OF INCORRECT BEHAVIOUR:
compilation breaks with
/usr/local/bin/g++ -I. -I. -I/var/tmp/groff-1.19.1/src/include
-I/var/tmp/groff-1.19.1/src/include -DHAVE_CONFIG_H -g -O2 -c
tmpname.cpp
cc1plus: warning: `-g': unknown or unsupported -g option
tmpname.cpp: In function `int gen_tempname(char*, int)':
tmpname.cpp:70: error: ISO C++ forbids declaration of `uintmax_t' with
no type
tmpname.cpp:70: error: parse error before `;' token
tmpname.cpp:83: error: `uintmax_t' undeclared (first use this function)
tmpname.cpp:83: error: (Each undeclared identifier is reported only once
for
each function it appears in.)
tmpname.cpp:83: error: parse error before `=' token
tmpname.cpp:87: error: `value' undeclared (first use this function)
tmpname.cpp:87: error: `random_time_bits' undeclared (first use this
function)
tmpname.cpp:90: error: parse error before `=' token
tmpname.cpp:93: error: `v' undeclared (first use this function)
*** Error code 1 (bu21)
*** Error code 1 (bu21)
*** Error code 1 (bu21)
(the warning about -g not being supported is normal and not the issue)
On IRIX 5.3, uintmax_t is declared in /usr/include/inttypes.h.
On IRIX 5.3, inttypes.h and sys/types.h are incompatible with one
another (maybe only for certain circumstances). configure mentions this
as a comment. HAVE_INTTYPES_H is not set by configure.
Things do compile on IRIX 5.3 if I nevertheless add
#include <inttypes.h>
to src/libs/libgroff/tmpname.cpp.
With 1.19.1 I end up with
...
GROFF_COMMAND_PREFIX=''; export GROFF_COMMAND_PREFIX;
GROFF_BIN_PATH=`echo /var/tmp/groff-1.19.1/src/roff/groff
/var/tmp/groff-1.19.1/src/roff/troff
/var/tmp/groff-1.19.1/src/devices/grops | sed -e 's| *|:|g'`; export
GROFF_BIN_PATH; /var/tmp/groff-1.19.1/src/roff/groff/groff
-F/var/tmp/groff-1.19.1/font -F/var/tmp/groff-1.19.1/font
-M/var/tmp/groff-1.19.1/tmac -M/var/tmp/groff-1.19.1/tmac -M. -Tps -mom
examples/letter.mom >examples/letter.ps
./om.tmac:519: warning: can't find character with input code 192
and then it hands forever, with troff running at full speed.
With 1.19.1 that problem does not occur.
There, on installation I get the following error messages:
...
for f in ; do rm -f /var/tmp/local/share/groff/1.19/font/devX75/$f; if
test -f
$f; then /var/tmp/groff-1.19/install-sh -c $f
/var/tmp/local/share/groff/1.19/
font/devX75/$f; else /var/tmp/groff-1.19/install-sh -c
/var/tmp/groff-1.19/font/devX75/$f
/var/tmp/local/share/groff/1.19/font/devX75/$f; fi; done
/bin/sh: Syntax error at line 1: `;' unexpected
*** Error code 2 (ignored)
...
for f in ; do rm -f /var/tmp/local/share/groff/1.19/font/devX75-12/$f;
if test
-f $f; then /var/tmp/groff-1.19/install-sh -c $f
/var/tmp/local/share/groff/1.
19/font/devX75-12/$f; else /var/tmp/groff-1.19/install-sh -c
/var/tmp/groff-1.
19/font/devX75-12/$f /var/tmp/local/share/groff/1.19/font/devX75-12/$f;
fi; do
ne
/bin/sh: Syntax error at line 1: `;' unexpected
*** Error code 2 (ignored)
...
for f in ; do rm -f /var/tmp/local/share/groff/1.19/font/devX100/$f;
if test -
f $f; then /var/tmp/groff-1.19/install-sh -c $f
/var/tmp/local/share/groff/1.19
/font/devX100/$f; else /var/tmp/groff-1.19/install-sh -c
/var/tmp/groff-1.19/f
ont/devX100/$f /var/tmp/local/share/groff/1.19/font/devX100/$f; fi;
done
/bin/sh: Syntax error at line 1: `;' unexpected
*** Error code 2 (ignored)
...
for f in ; do rm -f /var/tmp/local/share/groff/1.19/font/devX100-12/$f;
if tes
t -f $f; then /var/tmp/groff-1.19/install-sh -c $f
/var/tmp/local/share/groff/1
.19/font/devX100-12/$f; else /var/tmp/groff-1.19/install-sh -c
/var/tmp/groff-
1.19/font/devX100-12/$f
/var/tmp/local/share/groff/1.19/font/devX100-12/$f; fi;
done
/bin/sh: Syntax error at line 1: `;' unexpected
*** Error code 2 (ignored)
...
and similar ones, all of which are ignored.
If you need furtherinformation am happy to to try to provide it.
Georg
--
Georg Schwarz http://home.pages.de/~schwarz/
address@hidden +49 177 8811442
- groff-1.19.1 compilation error on IRIX 5.3,
Georg Schwarz <=