Thread View: news.software.nn
3 messages
3 total messages
Started by Chip Salzenberg
Tue, 06 Oct 1992 12:36
Re: Problems with cnews+nn6.4.16 on SCO3.2.2
Author: Chip Salzenberg
Date: Tue, 06 Oct 1992 12:36
Date: Tue, 06 Oct 1992 12:36
15 lines
1356 bytes
1356 bytes
According to mike@sojurn.lns.pa.us (Mike J. Sangrey):
> Yep, fixed by getting rid of SCO's buggy libdir.a.
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."
--
Chip Salzenberg at Teltronics/TCT <chip@tct.com>, <73717.366@compuserve.com>
"My favorite phenomenon is when someone mails me or posts to this
group, either calling me a newbie or telling me that my postings
are not relevant to alt.non.sequitur." -- Matt Welsh
Re: Problems with cnews+nn6.4.16 on SCO3.2.2
Author: Larry Philps
Date: Thu, 08 Oct 1992 13:11
Date: Thu, 08 Oct 1992 13:11
40 lines
2359 bytes
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
Re: Problems with cnews+nn6.4.16 on SCO3.2.2
Author: Carl Kreider
Date: Fri, 09 Oct 1992 14:32
Date: Fri, 09 Oct 1992 14:32
14 lines
1357 bytes
1357 bytes
Chip Salzenberg (chip@tct.com) wrote: : I'll bet that nn is including <dirent.h> and linking with -lx, or else : including <sys/ndir.h> and _not_ linking with -lx. : Thank you very much. It is really dumb luck that I stumbled onto this, but I'll take it. I snuck half an hour to look at nn again and, although I couldn't find a reference to <dirent.h> or <sys/ndir.h>, it was linking with -lx. Removing that seems to have fixed nnmaster! -- Carl Kreider Usenet uunet!rde!gator!syscon!carl CIS 71076,76 Internet carl@syscon.rn.com
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads