🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nn
Article #7655

Can't compile nn605b3 with NOV and NNTP.

#7655
From: Peter Jordan
Date: Sat, 01 Jun 1996 00:00
82 lines
3719 bytes
I downlaoded the tarred version nn-6.0.5.b3.tar.gz
and then downloaded the newspak-2.5 ...

whew .. okay did some MORE reading yet .
made the following edits to config.h-dist
calling it config.h :

#define NOV  (was already defined)
#define NNTP (was undefined)

#include "s-linux.h"  (was set to some sys-5 thingy I think)

I got this last file from the newspak distribution.

Okay ... so I do "make client"
and get the following barf  (included in its entirety) :

cp xmakefile MF.c
/lib/cpp -DCOMPILER="gcc" -DPREPROC="/lib/cpp" \
       -DLDEBUG="-s " \
       -DCDEBUG="-O2 " -Iconf MF.c | \
sed -e '1,/MAKE WILL CUT HERE/d' \
    -e '/^#/d' \
    -e '/^[ \f	]$/d' \
    -e '/^[ \/]*[*]/d' | \
sed -n -e '/^..*$/p' > ymakefile
In file included from /usr/include/endian.h:34,
                 from /usr/include/ctype.h:43,
                 from config.h:17,
                 from MF.c:7:
/usr/include/bytesex.h:13: #error architecture not supported by the Linux C library
In file included from /usr/include/dirent.h:30,
                 from s-linux.h:124,
                 from config.h:129,
                 from MF.c:7:
/usr/include/gnu/types.h:118: warning: `__NFDBITS' redefined
/usr/include/linux/posix_types.h:30: warning: this is the location of the previous definition
/usr/include/gnu/types.h:129: warning: `__FD_ZERO' redefined
/usr/include/asm/posix_types.h:53: warning: this is the location of the previous definition
/usr/include/gnu/types.h:130: warning: `__FD_SET' redefined
/usr/include/asm/posix_types.h:33: warning: this is the location of the previous definition
/usr/include/gnu/types.h:131: warning: `__FD_CLR' redefined
/usr/include/asm/posix_types.h:38: warning: this is the location of the previous definition
/usr/include/gnu/types.h:132: warning: `__FD_ISSET' redefined
/usr/include/asm/posix_types.h:46: warning: this is the location of the previous definition
MF.c:177: unterminated string or character constant
MF.c:177: possible real start of unterminated constant
rm -f MF.c
make  -f ymakefile client
make[1]: Entering directory `/usr/src/nn-6.5.0.b3'
gcc  -Iconf -O6  -O2    -c nn.c -o nn.o
gcc  -Iconf -O6  -O2    -c admin.c -o admin.o
gcc  -Iconf -O6  -O2    -c proto.c -o proto.o
configuration number updated to 1
gcc  -Iconf -O6  -O2    -c global.c -o global.o
gcc  -Iconf -O6  -O2    -c options.c -o options.o
gcc  -Iconf -O6  -O2    -c db.c -o db.o
gcc  -Iconf -O6  -O2    -c nntp.c -o nntp.o
nntp.c: In function `nntp_check':
nntp.c:761: warning: assignment discards `const' from pointer target type
nntp.c: In function `nntp_get_overview':
nntp.c:1193: argument `first' doesn't match prototype
global.h:653: prototype declaration
nntp.c:1193: argument `last' doesn't match prototype
global.h:653: prototype declaration
make[1]: *** [nntp.o] Error 1
make[1]: Leaving directory `/usr/src/nn-6.5.0.b3'
make: *** [client] Error 2



It will compile without NNTP defined .. but thats not what I want ..
I want to use the .overview file thingy over a PPP link
connecting to my local nntpserver.

Please help.
Thanks.

PeterJordan

Technical Details
Message-ID: <4oolrd$hf0@pulp.ucs.ualberta.ca>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nn.mbox.zip!not-for-mail

Show Full Headers
Complete Article Headers
Message-ID: <4oolrd$hf0@pulp.ucs.ualberta.ca>
Subject: Can't compile nn605b3 with NOV and NNTP.
Date: Sat, 01 Jun 1996 00:00:00 +0000
From: pjordan@gpu3.srv.ualberta.ca (Peter Jordan)
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nn.mbox.zip!not-for-mail
X-Deja-AN: 157862951
Organization: University of Alberta, Edmonton, Canada
Newsgroups: news.software.nn,comp.os.linux.misc