From owner-freebsd-current Thu May 2 18:37:55 1996 Return-Path: owner-current Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id SAA11352 for current-outgoing; Thu, 2 May 1996 18:37:55 -0700 (PDT) Received: from palmer.demon.co.uk (palmer.demon.co.uk [158.152.50.150]) by freefall.freebsd.org (8.7.3/8.7.3) with ESMTP id SAA11347 for ; Thu, 2 May 1996 18:37:51 -0700 (PDT) Received: from palmer.demon.co.uk (localhost [127.0.0.1]) by palmer.demon.co.uk (sendmail/PALMER-1) with ESMTP id CAA00766 ; Fri, 3 May 1996 02:37:24 +0100 (BST) To: "Marc G. Fournier" cc: current@FreeBSD.ORG From: "Gary Palmer" Subject: Re: Dependencies...how do they work? In-reply-to: Your message of "Thu, 02 May 1996 21:05:32 EDT." Date: Fri, 03 May 1996 02:37:23 +0100 Message-ID: <764.831087443@palmer.demon.co.uk> Sender: owner-current@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk "Marc G. Fournier" wrote in message ID : > I'm just curious how exactly the .depend file is created... > what does it base its information on? If you run `top' during a mkdep, you'll see it runs the relevant C files through the CPP to get that information. > I just tried to rebuild libutil, and got an error of: > 'Can't make pte.h' > Or similar to that... > pte.h was just removed, but even doing a 'make clean; make depend' > on the directory comes up with that error, and the .depend file has it in > it. > I checked setproctitle.c (which is what .depend seems to think > needs pte.h), and there is no include there. Nor can I find it in > any of the include files on the system. I ended up just editting .depend > and removing that one entry to get past it...but I seem to recall someone > mentioning that editting the .depend file is "!A Good Thing(tm)" Did you have an `obj' subdir/symlink? This make be a bogon somewhere :-( Gary -- Gary Palmer FreeBSD Core Team Member FreeBSD - Turning PC's into workstations. See http://www.FreeBSD.ORG/ for info.