🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nn
Article #3217

Re: Problems with cnews+nn6.4.16 on SCO3.2.2

#3217
From: Larry Philps
Date: Thu, 08 Oct 1992 13:11
40 lines
2359 bytes
In <2AD1883E.74E5@tct.com> chip@tct.com (Chip Salzenberg) writes:

> According to mike@sojurn.lns.pa.us (Mike J. Sangrey):
> > Yep,  fixed by getting rid of SCO's buggy libdir.a.

Its not buggy.  It does exactly the right thing if you are trying to
produce binaries for old Xenix systems. :-)  Unfortunately, this is not the
right thing for EAFS or NFS filesystems.

> I'll bet that nn is including <dirent.h> and linking with -lx, or else
> including <sys/ndir.h> and _not_ linking with -lx.
> 
> So what's the fix?
> 
> "Well, don't do that, then."

If you are producing a Unix binary and you absolutely need something
from the xenix library, modify your link line to read

	.... -lc -lx

This will resolve everything possible from the C library (and in this
case get the "right" directory routines) first, and then (and only
then) get the undefined things from the Xenix library.  Thus if there
are Unix equivalents of the Xenix routines in libx.a, they will be
picked up.  Libdir should not be used at all for Unix binaries.

However, you should not need either for compiling nn6.4.16.  That is
what I am using to respond to this message, and the only libraries
needed to compile my version were -lcurses -lsocket.

---
#include <std/disclaimer>

Larry Philps,	 SCO Canada, Inc.
Postman:  130 Bloor St. West, 10th floor, Toronto, Ontario.  M5S 1N5
InterNet: larryp@sco.COM
UUCP:	  {uunet,utcsri,sco}!scocan!larryp
Phone:	  (416) 922-1937
Technical Details
Message-ID: <1992Oct08.131156.9905@sco.COM>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-biz.sco.general.mbox.zip!sparky!uunet!zaphod.mps.ohio-state.edu!rpi!utcsri!geac!herboid!cattnts!ncrcan!scocan!larryp
References: <1992Oct05.163135.16469%jim.uucp@wupost.wustl.edu> <1992Oct06.020654.23393@sojurn.lns.pa.us> <2AD1883E.74E5@tct.com>

Show Full Headers
Complete Article Headers
Message-ID: <1992Oct08.131156.9905@sco.COM>
Subject: Re: Problems with cnews+nn6.4.16 on SCO3.2.2
Date: Thu, 08 Oct 1992 13:11:56 +0000
From: larryp@sco.COM (Larry Philps)
References: <1992Oct05.163135.16469%jim.uucp@wupost.wustl.edu> <1992Oct06.020654.23393@sojurn.lns.pa.us> <2AD1883E.74E5@tct.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-biz.sco.general.mbox.zip!sparky!uunet!zaphod.mps.ohio-state.edu!rpi!utcsri!geac!herboid!cattnts!ncrcan!scocan!larryp
Newsgroups: biz.sco.general,comp.unix.sysv386,news.software.nn
Keywords: problem cnews nn 6.4.16 sco 3.2 v2 news
Sender: news@sco.COM (News administration)
Distribution: usa
Organization: SCO Canada, Inc.
Lines: 39