🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.b
Article #6944

questions, making rn on Sys V UNIX

#6944
From: neal pollak ck
Date: Sun, 18 Feb 1990 19:17
51 lines
2366 bytes
Will some kind soul please provide some insight into the following
questions?  Maybe I can learn something new;

I am trying to make rn on an AT&T 3B2/600 with AT&T UNIX sys V 3.2.
While going through the rn Configure program, it asks the question;

*On some systems the default C compiler will not resolve multiple global
*references that happen to have the same name.  On some such systems the
*"Mcc" command may be used to force these to be resolved.  On other systems
*a "cc -M" command is required.  What command will force resolution on
*EOM
*    $echo $n "this system? [$dflt] $c"

What is the proper answer for the standard AT&T compiler?  I have been
into the manual, but maybe am not looking in the proper places.

Next, while attempting to compile rn, the following occurs;

	cc -c -O ngdata.c
"ngdata.c", line 179: syntax error
"ngdata.c", line 186: dirp undefined
"ngdata.c", line 189: warning: illegal pointer/integer combination, op =
*** Error code 1  S T O P.

The source code line is in this block of file ngdata.c;
-------------------------------------------------------------------------
/* scan a directory for minimum article number greater than floor */

ART_NUM
getngmin(dirname,floor)
char *dirname;
ART_NUM floor;
{
    register DIR *dirp;     <<<=== Line 179, SYNTAX error ???
    register struct direct *dp;
--------------------------------------------------------------------------

I could use some help decoding this error.  Is it complaining that
DIR is not defined in a header file?  Or is the problem in using this
as a register pointer?

So far I have learned that AT&T Sys V does not have libndir or dbm.
Where do I learn what these do, and where they come from?

Any guidence or advice would be sincerely appreciated.

Thanks,
Neal Pollack
Santa Monica College
213-450-5150 x9845
uunet!ucla-cs!smcnet!neal
Technical Details
Message-ID: <656@smcnet.UUCP>
Path: arc1-ca.pugleaf.net!utzoo!utstat!helios.physics.utoronto.ca!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!zaphod.mps.ohio-state.edu!usc!elroy.jpl.nasa.gov!ucla-cs!smcnet!neal

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utstat!helios.physics.utoronto.ca!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!zaphod.mps.ohio-state.edu!usc!elroy.jpl.nasa.gov!ucla-cs!smcnet!neal
From: neal@smcnet.UUCP (neal pollak ck)
Newsgroups: news.software.b,comp.sys.att
Subject: questions, making rn on Sys V UNIX
Keywords: rn sys V
Message-ID: <656@smcnet.UUCP>
Date: 18 Feb 90 19:17:27 GMT
Distribution: usa
Organization: Santa Monica College, Santa Monica, CA 90405
Lines: 51