🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #996

A note on building nntpd with gcc

#996
From: David Myers
Date: Wed, 20 Feb 1991 13:47
22 lines
1687 bytes

   Many of you are probably already aware of this, but it slipped my
mind and stung me when I built nntpd 1.5.11 with gcc 1.39 for B News
and ndbm under SunOS 4.0.3.  I thought a reminder to others would be
helpful.

   Remember to use the gcc option -fpcc-struct-return when building
nntpd with gcc.  The ndbm routines return structures, so you need to
tell gcc to use the common structure return mechanism.  If you don't
do this, I've found that the nntpd will appear to function normally,
but accessing articles via Message-ID will not work.  If you only use
nntpd for news reading, and don't run a newsreader that can access
articles by Message-ID, you might not even notice a problem.

   Other than this, 1.5.11 has worked great here.  Thanks, Stan & Co.

--
David Myers                                             (513) 865-1343   
Mead Data Central          Friends don't           Interactive Systems
P.O. Box 933                let friends               dem@meaddata.com
Dayton, Ohio  45401           use DOS.          ...!uunet!meaddata!dem
Technical Details
Message-ID: <DEM.91Feb20084708@devil.meaddata.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp!utzoo!utgpu!watserv1!watmath!att!linac!pacific.mps.ohio-state.edu!zaphod.mps.ohio-state.edu!samsung!spool.mu.edu!uunet!meaddata!dem

Show Full Headers
Complete Article Headers
Message-ID: <DEM.91Feb20084708@devil.meaddata.com>
Subject: A note on building nntpd with gcc
Date: Wed, 20 Feb 1991 13:47:08 +0000
From: dem@meaddata.com (David Myers)
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp!utzoo!utgpu!watserv1!watmath!att!linac!pacific.mps.ohio-state.edu!zaphod.mps.ohio-state.edu!samsung!spool.mu.edu!uunet!meaddata!dem
Newsgroups: news.software.nntp
Sender: usenet@meaddata.com
Organization: Mead Data Central, Dayton OH
Lines: 21