I am not much of a makefile expert, but I have been trying
various changes to see if I could fix the problem with
building /rescue.  On my system, a buildworld will always
fail if I specify '-j'.  It is time-consuming to try things,
because it takes a while to do a whole buildworld.

Today it occurred to me that I could probably make things go
much faster if I didn't do the whole buildworld.  And indeed,
it turns out that I get the same 'make' error if I use:

   rm -Rf /usr/obj/usr/src/*
   cd /usr/src/rescue
   make -j5 obj
   make -j5 includes
   make -j5 depend
   make -j5 all

Where that error is:

make: don't know how to make /usr/obj/usr/src/rescue/rescue//usr/src/sbin/dhclient/client/clparse.o. Stop
*** Error code 2
1 error
*** Error code 2
1 error


The nice thing about this is that it only takes three minutes
to get to that error, instead of the seventy minutes that it
takes when doing it as part of buildworld.  And if I drop the
'-j5', then the error does not come up.

This also suggests I could probably get away with:
    cd /usr/src
    make -j5 -DNO_RESCUE buildworld
    cd /usr/src/rescue
    make obj includes && make depend && make all

--
Garance Alistair Drosehn            =   [EMAIL PROTECTED]
Senior Systems Programmer           or  [EMAIL PROTECTED]
Rensselaer Polytechnic Institute    or  [EMAIL PROTECTED]
_______________________________________________
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to