Subject: Re: Missing strchr.c
To: Mike Long <mikel@shore.net>
From: Erik Bertelsen <erik@sockdev.uni-c.dk>
List: current-users
Date: 01/27/1998 06:47:33
On Mon, 26 Jan 1998, Mike Long wrote:

.. >From: darcy@druid.net (D'Arcy J.M. Cain)
.. >Date: Sat, 24 Jan 1998 06:19:46 -0500 (EST)
.. >
.. >I have been getting this error for a few days.  I thought that perhaps
.. >there was some weirdness in the current tree so I moved the src tree and
.. >resupped the entire distribution.  Same error.  Anyone else seen this?
.. >
.. >depend ===> sys/arch/i386/stand/biosboot
.. >rm -f /usr/src/sys/arch/i386/stand/biosboot/machine
.. >ln -s /usr/src/sys/arch/i386/stand/biosboot/../../../..//arch/i386/include /usr/src/sys/arch/i386/stand/biosboot/machine
.. >depending the kern library objects
.. >make: don't know how to make strchr.c. Stop
.. 
.. Usually my first reaction when I see something like this is:
.. 
.. cd sys/arch/i386/stand/biosboot  # or whatever other dir has a problem
.. rm {,obj/}.depend
.. make depend
.. 

Im my case make depend was not sufficient, but removing
/sys/arch/i386/compile/<CONF>/lib/kern/.depend did the trick.

- Erik