Article View: news.software.nntp
Article #22471Re: ANNOUNCE: INN 1.7 available
From: Charles R. Dennett
Date: Fri, 17 Oct 1997 00:00
Date: Fri, 17 Oct 1997 00:00
39 lines
2154 bytes
2154 bytes
Just a heads up of a problem I just ran into in converting from 1.5.1 to 1.7 on a Solaris 2.4 system. Got the source, run subst -f to convert my old config.data file to the new one. Ran a make. innd failed in the link stage. Said it could not find setbuffer() in innd.c. Compared it against the 1.5.1 version which compiled fine. Looks line a typo correction in 1.7 was the cause. In 1.7's innd.c and include/configdata.h and in 1.5's include/configdata.h, there is a compiler macro called DO_HAVE_SETBUFFER. However, in 1.5's innd.c it uses HAVE_SETBUFFER which does not exist and so the falls through to to the #else clause of the #if defined. Here is the code from 1.7's innd.c: ======================================================================== #if defined(DO_HAVE_SETBUFFER) #define SETBUFFER(F, buff, size) setbuffer((F), (buff), (size)) STATIC int LogBufferSize = 4096; #else #define SETBUFFER(F, buff, size) setbuf((F), (buff)) STATIC int LogBufferSize = BUFSIZ; #endif /* defined(HAVE_SETBUFFER) */ ======================================================================== The 1.5 version has #if defined(HAVE_SETBUFFER) instead which evaluates to false. I believe setbuffer() may be in the /usr/ucblib area. The fix to this is either to set HAVE_SETBUFFER to DONT in config.data or use the correct library from /usr/ucblib. Charlie Dennett
Technical Details
Message-ID:
<627trj$ol1$1@kodak.rdcs.Kodak.COM>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mailReferences:
<yy3oh4pwgc1.fsf@velo.pp.vix.com>Show Full Headers
Complete Article Headers
Message-ID: <627trj$ol1$1@kodak.rdcs.Kodak.COM> Subject: Re: ANNOUNCE: INN 1.7 available Date: Fri, 17 Oct 1997 00:00:00 +0000 From: dennett@cyber.kodak.com (Charles R. Dennett) References: <yy3oh4pwgc1.fsf@velo.pp.vix.com> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mail X-Deja-AN: 281252237 To: James Brister <brister@velo.pp.vix.com> Organization: Network Services/Web Site Tech Support; Eastman Kodak Company; Rochester, NY Reply-To: dennett@cyber.kodak.com (Charles R. Dennett) Newsgroups: news.software.nntp