[comp.sys.next] pmake on NeXT

matthews@lewhoosh.umd.edu (Mike Matthews) (02/28/91)

Has anyone gotten pmake to compile on a NeXT?  I have lots o' sources gotten
from uunet, but they all require pmake (the tell-tale line:  .include
<bsd-prog-mk> or something like that).

So I got the sources for pmake through a friend of mine, but it won't
compile.  I don't know much about these things, but here is the output of the
regular 'make' as gotten from make -f Makefile.dist:

[lots of warnings about lacks of casts, incompatible argument types...]

cd lst.lib; cc -I.. -c *.c
cc *.o lst.lib/*.o -o pmake
/bin/ld: multiple definitions of symbol _getenv
getenv.o definition of _getenv in section (__TEXT,__text)
/lib/libsys_s.a(getenv.o) definition of absolute _getenv (value 0x50025d0)
*** Exit 1
Stop.

I have this sneaky suspicion that it's a shared library thang, but - as some
of you are undoubtedly aware - I'm not too familiar with such beasts.  Any
clues?  Any binaries? :-)  (I have the supposedly latest finger and fingerd
sources from uunet, which will hopefully fix NeXT's broken versions, but
can't compile them).
------
Mike Matthews, matthews@lewhoosh.umd.edu (NeXT)/matthews@umdd (bitnet)
------
System/3!  System/3!
See how it runs!  See how it runs!
	Its monitor loses so totally!
	It runs all its programs in RPG!
	It's made by our favorite monopoly!
System/3!

eps@toaster.SFSU.EDU (Eric P. Scott) (03/02/91)

In article <8129@umd5.umd.edu> matthews@lewhoosh.umd.edu (Mike Matthews) writes:
>Has anyone gotten pmake to compile on a NeXT?  I have lots o' sources gotten
>from uunet, but they all require pmake (the tell-tale line:  .include
><bsd-prog-mk> or something like that).

Methinks you've been poking around in the 4.3-reno sources,
which use Adam de Boor's "incompatible with 20 years of
UNIX history" make program.  The .include directive looks in
/usr/share/mk, which appears to be missing from the distribution
on uunet.

>                           (I have the supposedly latest finger and fingerd
>sources from uunet, which will hopefully fix NeXT's broken versions, but
>can't compile them).

That sounds like my department.  I'll get back to y'all.
(Actually, I thought only fingerd was broken???)

					-=EPS=-