bug-groff
[Top][All Lists]
Advanced

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

Re: your mail


From: Miles Fidelman
Subject: Re: your mail
Date: Sun, 25 Nov 2001 21:46:54 -0500 (EST)

Hi Werner,

Thanks for your quick reply.

At first glance, your suggested fix seems to work. I:
- modified the file
- did a make clean
- ran autoconf
- ran configure
- did a make
- did a make install
- ran a simple test (./test-groff -man -Tascii src/roff/groff/groff.n |
less)

It all seemed to work.

There was one funny. The first time I tried the make, things died in the
middle of compiling pic.c, but the error messages scrolled off the top of
my screen buffer. So, I repeated the procedure, and everything ran to
completion. I couldn't get the abend to repeat itself.

Thanks again,

Miles Fidelman

On Sun, 25 Nov 2001, Werner LEMBERG wrote:

> Date: Sun, 25 Nov 2001 18:21:15 +0100 (CET)
> From: Werner LEMBERG <address@hidden>
> To: address@hidden
> Cc: address@hidden
> 
> > in file included from font.cc:27:
> > /usr/local/src/groff-current/src/include/lib.h:54: previous declaration of
> > `int 
> >    mkstemp(char*)' with C++ linkage
> > /usr/include/stdlib.h:150: conflicts with new declaration with C linkage
> 
> Thanks for the report.  This is a known problem; please try the new
> GROFF_MKSTEMP function below: Replace the old one in aclocal.m4 and
> run autoconf (version 2.52 or newer) to create a new configure script.
> 
> Please report whether this solves the problem.
> 
> 
>     Werner
> 
> 
> ======================================================================
> 
> 
> dnl
> dnl
> dnl If mkstemp() isn't available, use our own mkstemp.cc file.
> dnl
> AC_DEFUN(GROFF_MKSTEMP,
> [AC_MSG_CHECKING([for mkstemp])
> AC_LANG_PUSH(C++)
> AC_LIBSOURCE(mkstemp.cc)
> AC_TRY_LINK([#include <stdlib.h>
> int (*f) (char *);],
> [f = mkstemp;],
> AC_MSG_RESULT(yes);AC_DEFINE(HAVE_MKSTEMP, 1,
>                            [Define if you have mkstemp().]),
> AC_MSG_RESULT(no);_AC_LIBOBJ(mkstemp))
> AC_LANG_POP(C++)])dnl
> 

**************************************************************************
Network Technology Corporation              PO Box 600618
Miles R. Fidelman, President                Newtonville, MA 02460-0006
address@hidden                      617-558-3698
http://www.ntcorp.com                       fax: 617-630-8946                   
**************************************************************************




reply via email to

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