[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

groff-1.18.1 (4Sep2002 snapshot) on hpux-11, fails on type mismatch

From: korz
Subject: groff-1.18.1 (4Sep2002 snapshot) on hpux-11, fails on type mismatch
Date: Wed, 4 Sep 2002 21:23:54 -0400 (EDT)

Although groff-1.18.1 (04Sep2002 snapshot) finally yielded success on
Solaris 2.6, it failed as shown in lossage below on HPUX-11.

source: 1.18.1 snapshot (04Sep2002) from ftp.ffii.org
compiler:  g++ (gcc-3.2)
bison: 1.35
make: gmake 3.79.1

Unpacked the tarball (and renamed as crude version control), made
separate build directory, ran "../groff-1.18.1/configure" there, then
simply "make", which terminates (whether or not I have 'touched' pic.y
to trigger bison) as copied below.

The build also fails in this way on this platform with these tools
when building from the official groff-1.18 release sources.


make[2]: Entering directory 
if test -n "pic_tab.h"; then \
  bison -y -v -d /work/korz/software/groff/groff-1.18.1/src/preproc/pic/pic.y; \
else \
  bison -y -v /work/korz/software/groff/groff-1.18.1/src/preproc/pic/pic.y; \
test -f y.tab.h && mv y.tab.h y_tab.h
test -f y.tab.c && mv y.tab.c y_tab.c
mv y_tab.c pic.cc
if test -n "pic_tab.h"; then mv y_tab.h pic_tab.h; fi
g++ -I. -I/work/korz/software/groff/groff-1.18.1/src/preproc/pic 
-I/work/korz/software/groff/groff-1.18.1/src/include -DHAVE_CONFIG_H -g -O2  -c 
/work/korz/software/groff/groff-1.18.1/src/preproc/pic/pic.y: In function 
   `char* do_sprintf(const char*, const double*, int)':
/work/korz/software/groff/groff-1.18.1/src/preproc/pic/pic.y:1858: invalid 
   conversion from `const char*' to `char*'
make[2]: *** [pic.o] Error 1
make[2]: Leaving directory 
make[1]: *** [src/preproc/pic] Error 2
make[1]: Leaving directory 
make: *** [all] Error 2

grand:groff-1.18.1-hppa2.0w-hp-hpux11.00> grep -n do_sprintf 
78:char *do_sprintf(const char *form, const double *v, int nv);
1091:             $$.str = do_sprintf($3.str, $4.v, $4.nv);
1823:  return do_sprintf(form, &n, 1);
1826:char *do_sprintf(const char *form, const double *v, int nv)

Fred Korz        Manager, Development Support, System Management Arts
address@hidden                                     914 948 6200 x7211

reply via email to

[Prev in Thread] Current Thread [Next in Thread]