Repair .hdepend file?
Alan Dayley
plug-discuss@lists.PLUG.phoenix.az.us
Thu, 7 Jun 2001 19:17:50 -0700
This did not work. If I execute the "scripts/mkdep" line it tells me that
$(HPATH) is not in the environment. If I manually put in the HPATH value or
use the env command to get it in, it runs but the .hdepend.new file is 0
length.
The other idea of copying the .config to another directory and then executing
make mrproper produces the corrupted .hdepend error.
I think I will have to restore the source tree or something since nothing
else is working to rebuild the .hdepend file.
Alan
On Thursday 07 June 2001 01:56 pm, you wrote:
> A google search on ".hdepend" returned many links, one was this:
>
> http://www.torque.net/kbuild/archive/0048.html
>
> It states in part:
>
> --<begin quote>--
>
> > . . . If you interrupt a 'make dep' at the
> > right point, you wind up with an invalid .hdepend that needs to be
> > removed.
>
> Aha, the generic way to fix that is:
>
> dep-files:
> scripts/mkdep `find $(HPATH) ...` > .hdepend.new
> mv .hdepend.new .hdepend
>
> --<end quote>--
>
> Looks benign enough to try. I will give it a go this evening, inspecting
> the .hdepend.new file before I mv it. Does it make sense to you?
>
> Alan
>
>
> ________________________________________________
> See http://PLUG.phoenix.az.us/navigator-mail.shtml if your mail doesn't
> post to the list quickly and you use Netscape to write mail.
>
> PLUG-discuss mailing list - PLUG-discuss@lists.PLUG.phoenix.az.us
> http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss