🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.next.sysadmin
Article #1045

Anyone want to share a compileable NNTP?

#1045
From: Shane M Zatezalo
Date: Thu, 10 Sep 1992 19:06
84 lines
3997 bytes
We've been trying to compile NNTP for a while now, with no luck. We've
got plenty of helpful suggestions from people (thank you much) but as
we've tackled one problem, another arises, and its getting to be outrageous.
NNTP should compile very easily. (we're trying nntp.1.5_11)

Does anyone who has recently successfully compiled this package want
to send it my way?

Just incase your curious, here's the results from the last trial-compile:
(granted, we've been able to cut the error list by a 3rd, but.... it seems
to always get stuck on Index, which is sometimes externally declared, and
sometimes not. The only way it was able to compile newnews.c was to 
comment out the "extern char *index();" under the 
"getword(fp,w,line.linesize)" routine.)

make server
cd server; make  "LIBS=-BSD" "CFLAGS=-O "
cc -O  -c newnews.c
cc -O  -c nextlast.c
cc -O  -c ngmatch.c
cc -O  -c post.c
cc -O  -c parsit.c
cc -O  -c scandir.c
cc -O  -c slave.c
cc -O  -c spawn.c
spawn.c: In function spawn:
spawn.c:101: warning: argument passing between incompatible pointer types
cc -O  -c strcasecmp.c
cc -O  -c subnet.c
cc -O  -c time.c
cc -O  -c xhdr.c
cc -O  -c fakesyslog.c
cc -O  -c batch.c
cc -O  -c auth.c
cc -O  -c timer.c
cc -O  -c ../common/version.c
mv version.o ../common/version.o
cc -O  -o nntpd main.o serve.o access.o access_inet.o access_dnet.o active.o  ahbs.o globals.o group.o help.o ihave.o list.o misc.o netaux.o  newgroups.o newnews.o nextlast.o ngmatch.o post.o parsit.o scandir.o  slave.o spawn.o strcasecmp.o subnet.o time.o xhdr.o fakesyslog.o  batch.o auth.o timer.o ../common/version.o -BSD
cd support; make  "LIBS=-BSD" "CFLAGS=-O "
cc -O  -c mkgrdates.c
cc -O  -o mkgrdates mkgrdates.o
cd doc; make  "LIBS=-BSD" "CFLAGS=-O "
config.sh nntpd.dst nntpd.8c
Extracting nntpd.8c from nntpd.dst ...
Finished.
config.sh mkgrdates.dst mkgrdates.8c
Extracting mkgrdates.8c from mkgrdates.dst ...
Finished.
config.sh nntpxmit.dst nntpxmit.1
Extracting nntpxmit.1 from nntpxmit.dst ...
Finished.
Done
cd xmit; make  "LIBS=-BSD" "CFLAGS=-O "
cc -O  -c nntpxmit.c
nntpxmit.c:1069: warning: initialization of integer from pointer lacks a cast
nntpxmit.c: In function catchsig:
nntpxmit.c:1078: warning: comparison between pointer and integer
nntpxmit.c:1082: warning: comparison between pointer and integer
nntpxmit.c: In function restsig:
nntpxmit.c:1093: warning: comparison between pointer and integer
cc -O  -c remote.c
remote.c: In function hello:
remote.c:274: warning: return of integer from pointer lacks a cast
cc -O  -c llist.c
cc -O  -c get_tcp_conn.c
cc -O  -c xmitauth.c
cc -O  -c ../server/fakesyslog.c
cc -O  -c ../server/strcasecmp.c
cc -O  -o nntpxmit nntpxmit.o remote.o llist.o get_tcp_conn.o xmitauth.o fakesyslog.o strcasecmp.o -BSD
cc -O  -DNNTPSRC -o shlock shlock.c
cd xfer; make  "LIBS=-BSD" "CFLAGS=-O "
cc -O  -c nntpxfer.c
cc -O   -c ../xmit/get_tcp_conn.c
cc -O   -c ../server/fakesyslog.c
cc  nntpxfer.o get_tcp_conn.o fakesyslog.o  -o nntpxfer -BSD


Any ideas?

 _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
:   Shane M. Zatezalo         : i-net> szatezal@magnus.acs.ohio-state.edu :
:   CIS Eng Ohio State        : NeXTMail>  shane@kiwi.shws.ohio-state.edu :
:          "The light in the window is a crack in the sky"  - ozzy        :
:GS:::: Apple II forever!! ::::::GO BUCKS!::::::: Play Lacrosse! :::::::GS:
Technical Details
Message-ID: <1992Sep10.190656.5602@magnus.acs.ohio-state.edu>
Path: arc1-ca.pugleaf.net!sparky!uunet!sun-barr!ames!elroy.jpl.nasa.gov!sdd.hp.com!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!magnus.acs.ohio-state.edu!szatezal

Show Full Headers
Complete Article Headers
Newsgroups: comp.sys.next.sysadmin
Path: arc1-ca.pugleaf.net!sparky!uunet!sun-barr!ames!elroy.jpl.nasa.gov!sdd.hp.com!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!magnus.acs.ohio-state.edu!szatezal
From: szatezal@magnus.acs.ohio-state.edu (Shane M Zatezalo)
Subject: Anyone want to share a compileable NNTP?
Message-ID: <1992Sep10.190656.5602@magnus.acs.ohio-state.edu>
Sender: news@magnus.acs.ohio-state.edu
Nntp-Posting-Host: magnusug.magnus.acs.ohio-state.edu
Organization: The Ohio State University
Date: Thu, 10 Sep 1992 19:06:56 GMT
Lines: 85