Article View: news.software.nn
Article #5288Questions about compiling nn6.5.0.b2
From: Ofer Inbar
Date: Thu, 13 Jan 1994 01:42
Date: Thu, 13 Jan 1994 01:42
34 lines
2024 bytes
2024 bytes
The documentation doesn't appear to have been updated completely, but
perhaps someone here can help me with the beta. I'm trying to use
nn6.5 with nov, and our INN 1.4 server supports the nov extensions.
Do I need to run nnmaster? Do I need to define DB_DIRECTORY?
What options should I use with the inst script?
OK, now the compile error. This is on a Solbourne 6 running SunOS 4.1.2
~/news/nn-6.5.0.b2>uname -a
SunOS kaos 4.1B 4.1.2 sun4
~/news/nn-6.5.0.b2>make
make -f ymakefile all
gcc -Iconf -Inov -O -target sun4 -c hostname.c
hostname.c: In function `nn_gethostname':
hostname.c:29: `un' undeclared (first use this function)
hostname.c:29: (Each undeclared identifier is reported only once
hostname.c:29: for each function it appears in.)
*** Error code 1
make: Fatal error: Command failed for target `hostname.o'
It looks like the right way to fix this error is to change
gethostname(&un, length);
To gethostname(&name, length);
I would appreciate any advice. I realize this is a beta, so I don't
expect it to be perfect, but I would like to try it out. Thanks.
-- Cos (Ofer Inbar) -- cos@cs.brandeis.edu
-- WBRS (BRiS) -- WBRS@binah.cc.brandeis.edu WBRS@brandeis.bitnet
Broken Newsreader (TM): a newsreader which lacks certain features that my
newsreader has, if said features would defuse my opponents' argument.
Technical Details
Message-ID:
<cos.758425364@cs.brandeis.edu>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!archive!mbox2nntp-news.software.nn.mbox.zip!gmd.de!xlink.net!howland.reston.ans.net!europa.eng.gtefsd.com!uunet!noc.near.net!news.cs.brandeis.edu!cosShow Full Headers
Complete Article Headers
Message-ID: <cos.758425364@cs.brandeis.edu> Subject: Questions about compiling nn6.5.0.b2 Date: Thu, 13 Jan 1994 01:42:44 GMT From: cos@cs.brandeis.edu (Ofer Inbar) Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!archive!mbox2nntp-news.software.nn.mbox.zip!gmd.de!xlink.net!howland.reston.ans.net!europa.eng.gtefsd.com!uunet!noc.near.net!news.cs.brandeis.edu!cos Newsgroups: news.software.nn Sender: news@news.cs.brandeis.edu (USENET News System) Organization: Brandeis University Lines: 34