From owner-freebsd-current  Thu May  2 19:17:18 1996
Return-Path: owner-current
Received: (from root@localhost)
          by freefall.freebsd.org (8.7.3/8.7.3) id TAA13295
          for current-outgoing; Thu, 2 May 1996 19:17:18 -0700 (PDT)
Received: from freebsd.ki.net (root@freebsd.ki.net [205.150.102.51])
          by freefall.freebsd.org (8.7.3/8.7.3) with ESMTP id TAA13289
          for <current@freebsd.org>; Thu, 2 May 1996 19:17:12 -0700 (PDT)
Received: from localhost (scrappy@localhost) by freebsd.ki.net (8.7.5/8.7.3) with SMTP id WAA00568 for <current@freebsd.org>; Thu, 2 May 1996 22:17:03 -0400 (EDT)
X-Authentication-Warning: freebsd.ki.net: scrappy owned process doing -bs
Date: Thu, 2 May 1996 22:17:01 -0400 (EDT)
From: "Marc G. Fournier" <scrappy@ki.net>
To: current@freebsd.org
Subject: tn3270 won't make depend...
Message-ID: <Pine.NEB.3.93.960502220916.253B-100000@freebsd.ki.net>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Sender: owner-current@freebsd.org
X-Loop: FreeBSD.org
Precedence: bulk


Hi again...

	I've hit this problem before, and for the life of me, can't
recall what I did to fix it :(  When I try to do a make depend on
/usr/src/usr.bin/tn3270, I get this error:

===> mset
cd /usr/src/usr.bin/tn3270/mset/../tools/mkastosc; make
/usr/src/usr.bin/tn3270/mset/../tools/mkastosc/obj/mkastosc  /usr/src/usr.bin/tn3270/mset/../ctlr/hostctlr.h /usr/src/usr.bin/tn3270/mset/../ctlr/function.h  < /usr/src/usr.bin/tn3270/mset/../ctlr/unix.kbd > astosc.OUT
/usr/src/usr.bin/tn3270/mset/../tools/mkastosc/obj/mkastosc: not found
*** Error code 2

Stop.
*** Error code 1

Stop.

	Now, I know *why* it gives me the error, in that it can't find
mkastosc in the obj directory...but I'm not using an obj directory :(

	And mkastosc definitely exists in '../tools/mkastosc':

freebsd# ls -lt
total 36
-rwxr-xr-x  1 root  wheel  13623 May  2 21:57 mkastosc
-rw-r--r--  1 root  wheel    653 May  2 21:57 ebc_disp.o
-rw-r--r--  1 root  wheel    587 May  2 21:57 asc_ebc.o
-rw-r--r--  1 root  wheel   3351 May  2 21:56 dohits.o
-rw-r--r--  1 root  wheel   2378 May  2 21:56 mkastosc.o
-rw-r--r--  1 root  wheel   1339 May  2 21:55 .depend
-rw-r--r--  1 root  wheel   4998 May 30  1995 mkastosc.c
-rw-r--r--  1 root  wheel    237 May 27  1994 Makefile

	I've made sure to reinstall /usr/src/share/mk, and have performed
a 'make clean' before trying the make depend.  The same error keeps popping
up.

	Looking through the .mk files in /usr/share/mk, there is a 
check for NOOBJ being defined, but since the rest of the source tree is
compiling fine, I *assume* that its being set properly when I'm doing
my compiles...isn't it?


Marc G. Fournier                                  scrappy@ki.net
Systems Administrator @ ki.net               scrappy@freebsd.org