Skip site navigation (1)Skip section navigation (2)
From:      Vivek Khera <khera@kcilink.com>
To:        freebsd-stable@freebsd.org
Subject:   Re: HEADS UP: share/mk stuff is being updated (was: Re: bsd.init.mk ?)
References:  <1026974131.3d3661b3c9a1c@intranet.consol.de> <20020718115138.GB99249@sunbay.com>

| previous in thread | raw e-mail | index | archive | help
>>>>> "RE" == Ruslan Ermilov <ru@FreeBSD.org> writes:

RE> This particular problem is caused by your /usr/share/mk stuff being not
RE> in sync with the source tree.  To work around this (if you really want
RE> to build only your kernel from fresh sources), you need to:

RE> 	cd /usr/src/share/mk && make install

RE> Then continue with the kernel build config(8) way.

I'm observing a similar problem building the kernel modules from
within the vmware2 port.  After answering the interactive questions
(no bridging, default everything else), I get this:

===>  Building for vmware2-2.0.4.1142
===> vmmon-only
make -f Makefile.FreeBSD SMP=YES clean && make -f Makefile.FreeBSD SMP=YES
"/sys/conf/kmod.mk", line 63: Could not find bsd.init.mk
"/sys/conf/kmod.mk", line 190: Could not find bsd.links.mk
make: fatal errors encountered -- cannot continue
*** Error code 1

Stop in /u/onceler1/usr/ports/emulators/vmware2/work/vmware-distrib/vmmon-only.
*** Error code 1

Stop in /u/onceler1/usr/ports/emulators/vmware2/work/vmware-distrib.
*** Error code 1

Stop in /u/onceler1/usr/ports/emulators/vmware2.
*** Error code 1

Stop in /u/onceler1/usr/ports/emulators/vmware2.


This is with:

FreeBSD onceler.kciLink.com 4.6-STABLE FreeBSD 4.6-STABLE #0: Mon Jun 17 23:25:23 EDT 2002

The kernel was built a few hours after the cvsup finished.  I used the
standard buildworld/kernel installworld/kernel and mergemaster.

Running your above make install in the mk directory fixed this issue
as well.

-- 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Vivek Khera, Ph.D.                Khera Communications, Inc.
Internet: khera@kciLink.com       Rockville, MD       +1-240-453-8497
AIM: vivekkhera Y!: vivek_khera   http://www.khera.org/~vivek/

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-stable" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?>