*BSD News Article 12611


Return to BSD News archive

Path: sserve!newshost.anu.edu.au!munnari.oz.au!sgiblab!sdd.hp.com!crash!ryptyde!warelock
Newsgroups: comp.unix.bsd
Subject: Help with agetty.v2!
From: warelock@netlink.cts.com (Tom Zacharoff)
Message-ID: <m2P7ZB1w165w@netlink.cts.com>
Date: Tue, 09 Mar 93 23:16:09 PST
Organization: NetLink Online Communications, San Diego CA
Lines: 122

See if you can figure this out. I have 386 bsd and also access to a 
system V unix box. I tried doing the "make" like the docs said but it 
blows off:

% make
Make: Must be a separator on rules line 26.  Stop.
% make -d
setvar: $ = $ noreset = 0 envflg = 0 Mflags = 040101
Reading "=" type args on command line.
setvar: MAKEARGS =  noreset = -1 envflg = -1 Mflags = 042105
Reading internal rules.
setvar: MAKE = make noreset = 0 envflg = 0 Mflags = 040101
setvar: LOADLIBS =  noreset = 0 envflg = 0 Mflags = 040101
setvar: YACC = yacc noreset = 0 envflg = 0 Mflags = 040101
setvar: YFLAGS =  noreset = 0 envflg = 0 Mflags = 040101
setvar: LEX = lex noreset = 0 envflg = 0 Mflags = 040101
setvar: LFLAGS =  noreset = 0 envflg = 0 Mflags = 040101
setvar: LD = ld noreset = 0 envflg = 0 Mflags = 040101
setvar: MLD = mld noreset = 0 envflg = 0 Mflags = 040101
setvar: LDFLAGS =  noreset = 0 envflg = 0 Mflags = 040101
setvar: CC = cc noreset = 0 envflg = 0 Mflags = 040101
setvar: MCC = mcc noreset = 0 envflg = 0 Mflags = 040101
setvar: CFLAGS =  noreset = 0 envflg = 0 Mflags = 040101
setvar: PC = pc noreset = 0 envflg = 0 Mflags = 040101
setvar: MPC = mpc noreset = 0 envflg = 0 Mflags = 040101
setvar: PFLAGS =  noreset = 0 envflg = 0 Mflags = 040101
setvar: FC = f77 noreset = 0 envflg = 0 Mflags = 040101
setvar: MFC = mf77 noreset = 0 envflg = 0 Mflags = 040101
setvar: FFLAGS =  noreset = 0 envflg = 0 Mflags = 040101
setvar: EFLAGS =  noreset = 0 envflg = 0 Mflags = 040101
setvar: RFLAGS =  noreset = 0 envflg = 0 Mflags = 040101
setvar: AS = as noreset = 0 envflg = 0 Mflags = 040101
setvar: MAS = mas noreset = 0 envflg = 0 Mflags = 040101
setvar: ASFLAGS =  noreset = 0 envflg = 0 Mflags = 040101
setvar: COB = cobol noreset = 0 envflg = 0 Mflags = 040101
setvar: COBFLAGS =  noreset = 0 envflg = 0 Mflags = 040101
setvar: PL1 = pl1 noreset = 0 envflg = 0 Mflags = 040101
setvar: PL1FLAGS =  noreset = 0 envflg = 0 Mflags = 040101
setvar: GET = get noreset = 0 envflg = 0 Mflags = 040101
setvar: GFLAGS =  noreset = 0 envflg = 0 Mflags = 040101
setvar: AR = ar noreset = 0 envflg = 0 Mflags = 040101
setvar: MAR = mar noreset = 0 envflg = 0 Mflags = 040101
setvar: GETVER = getver noreset = 0 envflg = 0 Mflags = 040101
setvar: GVFLAGS =  noreset = 0 envflg = 0 Mflags = 040101
setvar: DELTAVER = deltaver noreset = 0 envflg = 0 Mflags = 040101
setvar: DVFLAGS =  noreset = 0 envflg = 0 Mflags = 040101
setvar: VERS = vers noreset = 0 envflg = 0 Mflags = 040101
setvar: VFILE = s.$(VERS).c noreset = 0 envflg = 0 Mflags = 040101
setvar: INSTALL = install noreset = 0 envflg = 0 Mflags = 040101
Reading environment.
setvar: HOME = /usr/css/zac noreset = 0 envflg = -1 Mflags = 040005
setvar: PATH = /usr/lbin:/usr/ucb:/usr/bin:/bin:/etc:/usr/new:/usr/local/b
in noreset = 0 envflg = -1 Mflags = 040005
setvar: LOGNAME = zac noreset = 0 envflg = -1 Mflags = 040005
setvar: SHELL = /bin/csh noreset = 0 envflg = -1 Mflags = 040005
setvar: MAIL = /usr/mail/zac noreset = 0 envflg = -1 Mflags = 040005
setvar: TZ = PST8PDT noreset = 0 envflg = -1 Mflags = 040005
setvar: USER = zac noreset = 0 envflg = -1 Mflags = 040005
setvar: TERM = vt100 noreset = 0 envflg = -1 Mflags = 040005
Reading Makefile
setvar: BINDIR = /usr/local/etc noreset = 0 envflg = 0 Mflags = 040001
setvar: MANDIR = /usr/local/man noreset = 0 envflg = 0 Mflags = 040001
setvar: CC = cc noreset = 0 envflg = 0 Mflags = 040001
setvar: SHELL = /bin/sh noreset = 0 envflg = -1 Mflags = 040001
setvar: CFLAGS = -g -DUUCPUID=6 -DUUCPGID=1 -DUSE_SYSLOG -DTERMIOS 
-DUUGETTY -DASCIIPID -DLAX  noreset = 0 envflg = 0 Mflags = 040001 
setvar: FILES = README README.fax README.bsdi agetty.c agetty.8 Makefile 
noreset = 0 envflg = 0 Mflags = 040001
Make: Must be a separator on rules line 26.  Stop.
% cat Makefile
# @(#) Makefile 1.5 9/1/91 23:21:21 
 
# On the CFLAGS line, specify -DUSE_SYSLOG if you want diagnostics to be
# reported via the syslog(3) facility. Otherwise, agetty will report its
# problems to /dev/console.
 
# Add -DTERMIOS if you have POSIX like TERMIOS.  Only BSDI uses
# this option.  SunOS and SYSV are figured out automagically.
 
# Add -DUUGETTY for bi-directional line support under BSDI.  SunOS
# and SYSV use other methods to support this
 
# Add -DASCIIPID if your OS's lock files contain the PID in ASCII.
 
# Add -DLAX for less secure permissions
 
BINDIR  = /usr/local/etc
MANDIR  = /usr/local/man
CC      = cc
SHELL  = /bin/sh
#CFLAGS  = -g -DUUCPUID=6 -DUUCPGID=1 -DUSE_SYSLOG #SunOS|SYSV
CFLAGS = -g -DUUCPUID=6 -DUUCPGID=1 -DUSE_SYSLOG -DTERMIOS -DUUGETTY 
-DASCIIPID -DLAX #BSDI
FILES  = README README.fax README.bsdi agetty.c agetty.8 Makefile
 
agetty: agetty.c
       $(CC) $(CFLAGS) -o $@ $?
 
install:
       cp agetty $(BINDIR)
       chmod 755 $(BINDIR)/agetty
       nroff -mandoc agetty.8 >$(MANDIR)/cat8/agetty.0
       chmod 444 $(MANDIR)/cat8/agetty.0
 
clean:
       rm -f agetty.o agetty
 
shar:  $(FILES)
       @shar $(FILES)
 
% 

--------- cut here --------

That's it... If you can help out it would be great! Please send 
suggestions to warelock@netrun.cts.com (a different system than the one 
I'm using now). Thanks!

--                    
INTERNET:  warelock@netlink.cts.com (Tom Zacharoff)
UUCP:   ...!ryptyde!netlink!warelock
NetLink Online Communications * Public Access in San Diego, CA (619) 453-1115