DragonFly bugs List (threaded) for 2004-09
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]
Re: make libc fails
:
:On Mon, 27 Sep 2004 13:05:15 -0700 (PDT)
:Matthew Dillon <dillon@xxxxxxxxxxxxxxxxxxxx> wrote:
:
:> You need to do a buildworld/installworld sequence to get the updated
:> include files before you can build subsystems singly.
:
:Hmm, I was sure I did do that. Starting it all again has solved my problem.
:My bad! Thanks.
Another thing that you (and everyone) should watch out for are stale
files in /usr/src from manual builds (e.g. like the one you just tried
to do in libc). These can cause odd problems later on. To clean those
out type 'make cleandir; make clean' in /usr/src.
When building a program or library manually you can keep /usr/src clean
by doing a 'make obj' before 'make', which will cause the build to put
generated files (like object files) in /usr/obj/usr/src/<blah> rather
then /usr/src/<blah>.
The 'make obj' trick is also used by people who have multiple machines,
by allowing one machine to hold a master copy of /usr/src and then
do a read-only NFS export of /usr/src to the other machine(s).
[a buildworld creates its own object hierarchy in /usr/obj, you do not
need to do anything special for buildworlds].
-Matt
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]