bug-inetutils
[Top][All Lists]
Advanced

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

Re: Building inetutils from 2000-11-07 CVS


From: Alain Magloire
Subject: Re: Building inetutils from 2000-11-07 CVS
Date: Wed, 8 Nov 2000 20:29:02 -0500 (EST)

> 
> Hello.

Bonjour

> Marcus Brinkmann wrote:
> > 
> > On Tue, Nov 07, 2000 at 10:37:09PM +0000, Richard Dawe wrote:
> > >    configure.in:222: warning: AC_TRY_RUN called without default to
> > >    allow cross compiling
> > 
> > That's AC_FUNC_SETVBUF_REVERSED. I don't think there is a sane default,
> > is there? The warning is mostly harmless.
> 
> FWIW I have no idea, having never heard of this test before.

On some old OS, an engineer did not know how to read a standard ;-)
so the function
 int setvbuf(FILE *stream, char *buf, int mode , size_t size); 
on this old system it is define to be
 int setvbuf(FILE *stream, int mode, char *buf, size_t size); 
                          ^^^^^^^^^^^^^^^^^^^^^
                          the arguments are reversed.
There is no way to check for this reliably other then running a small
program.  But this will not work if you are doing a cross-compilation
So autoconf issues a warning about this.

We could have remove this by using setlinebuf() but this function
is not Posix and only define on BSDish and probably Linux.
So I've removed it for setvbuf() only.

The only time, this is use, is in syslogd.c  and I just realize that I did
not put the necessary #if HAVE_SETVBUF_REVERSED to do the inversion,
sigh ... If someone with write access could do that, great, or I'll
do it later during this month.

In any case not a big deal.

> > All other problems you report are actually due to the fact that you
> > didn't complete all steps in autogen.sh. Try to run it on a fresh copy
> > of the checkout and try again.
> 
> Thanks for the help, that's fixed it. Bye, Rich =]

You brought an interresting point.  Actually, I was thinking of
doing daily snapshots, since many do not have the necessary auto* tools
to generate the configuartion files, but I got a feeling from this
list that since the cvs tree is public, there was no need for daily
snaphots.

Rolling a snapshot should not be to hard and I beleive Jeff did a couple
already that are taking dust on alpha.gnu.org.
Jeff how about to roll another one to replace the old ones ?

--
alain




reply via email to

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