bug-groff
[Top][All Lists]
Advanced

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

Re: groff 1.17.2 fails to build under vax-dec-ultrix4.3


From: Werner LEMBERG
Subject: Re: groff 1.17.2 fails to build under vax-dec-ultrix4.3
Date: Mon, 16 Jul 2001 04:09:45 +0200 (CEST)

> /xxx/gnu/groff-1.17.2/src/preproc/html/pre-html.cc:275: `strdup' undeclared
>    (first use this function)

This is fixed now, thanks.

> /xxx/gnu/groff-1.17.2/src/libs/libgroff/tmpfile.cc:123: cannot convert `void
>    (*)()' to `void (*)(...)' for argument `1' to `int atexit(void (*)(...))'
> 
> The atexit problem is a prototype problem which needs a fixincl
> hack.

What do you mean with `fixincl'?  Can you provide a small autoconf
test to check the prototype of atexit (if in CC mode)?

> The system doesn't have either strdup or mkstemp.  It does have mktemp
> although there is no prototype for it in any system include file.  The
> man page says the function should not be used for "new" applications.

Hehe.  What else do people on Ultrix use?  Only mkstemp() is secure.

> Its ultrix prototype should be:
> 
> extern "C" {
> extern char * mktemp (char *);
> }

What symbol do the C compilers on Ultrix use to identify the system?
`__ultrix'?


    Werner



reply via email to

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