creation of /usr/include/sys

Dag-ErlingSmørgrav des at des.no
Thu Jan 8 03:29:38 PST 2004


Richard Schilling <rschi at rsmba.biz> writes:
> I solved the problem and got top working again when I finally erased
> /usr/include/sys and copied /usr/src/sys/sys to /usr/include/sys
> (after running cvsup on the source tree of course).

This is almost never the right thing to do unless you are already very
familiar with the build system.

> I thought `cd /usr/src/sys; make install' would have copied
> /usr/sys/sys to /usr/include/sys, but it doesn't.  Where in the
> build process does /usr/include/sys get created?

'make includes' in /usr/src.

You wouldn't be having these problems if you followed the documented
procedure (buildworld, buildkernel, installkernel, reboot into
single-user mode, installworld, mergemaster, reboot)

DES
-- 
Dag-Erling Smørgrav - des at des.no


More information about the freebsd-stable mailing list