bug-groff
[Top][All Lists]
Advanced

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

Groff 1.18 build fails, snprintf()/vfprintf()


From: Jim Thalmann
Subject: Groff 1.18 build fails, snprintf()/vfprintf()
Date: Fri, 7 Nov 2003 14:52:37 -0800

                           Groff Bug Report

Send the completed form to address@hidden

GROFF VERSION:
[1.18]

MACHINE:
[7510 power-pc (SBS Technologies VG4)]

OS:
[LynxOS 4.0.0 PatchLevel 29]

COMPILER:
[g++ version 2.95.3]

INPUT FILES:
[ Happens with the standard distribution ]

COMMAND LINE:
[ PAGE=letter ./configure
  make
]

DESCRIPTION OF INCORRECT BEHAVIOUR:
[
 ***  The "make" fails with this error:
g++ -I. -I/usr/share/groff-1.18/src/preproc/pic
-I/usr/share/groff-1.18/src/include -I/usr/share/groff-1.18/src/include
-DHAVE_CONFIG_H -g -O2  -c pic.cc
pic.y: In function `char * do_sprintf(const char *, const double *,
int)':
pic.y:1844: implicit declaration of function `int snprintf(...)'
make[2]: *** [pic.o] Error 1
make[1]: *** [src/preproc/pic] Error 2
make: *** [all] Error 2


 ***  If I force a fix to this by tricking configure into using the
local
 ***  copy of snprintf(), then it complains about not having vfprintf().

]

SUGGESTED FIX [optional]:
[
  - The standard libraries have snprintf() and vfprintf()
  - LynxOS does not have a prototype for snprintf()

  ==> I tried to reverse engineer the build, but this is an unusally 
      complicated makefile imho...  some help would be appreciated.

      Thank you! 
      address@hidden
]

Attachment: configure.txt
Description: configure.txt

Attachment: make.txt
Description: make.txt

Attachment: config_status.txt
Description: config_status.txt


reply via email to

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