Re: buildworld broken with NO_MODULES= and MODULES_WITH_WORLD=

From: Ruslan Ermilov <ru_at_FreeBSD.org>
Date: Fri, 17 Feb 2006 12:55:40 +0200
Should be fixed now (sys/modules/if_vlan/Makefile,v 1.4).

On Fri, Feb 17, 2006 at 01:30:27PM +0300, Boris Samorodov wrote:
> Here it is:
> -----
> >>> stage 4.3: make dependencies
> ...
> ===> sys/modules/if_vlan (depend)
> _at_ -> /usr/src/sys
> machine -> /usr/src/sys/amd64/include
> echo "#define INET 1" > opt_inet.h
> rm -f .depend
> mkdep -f .depend -a   -nostdinc -D_KERNEL -DKLD_MODULE -I- -I. -I_at_ -I_at_/contrib/altq /usr/src/sys/modules/if_vlan/../../net/if_vlan.c
> /usr/src/sys/modules/if_vlan/../../net/if_vlan.c:45:22: opt_vlan.h: No such file or directory
> mkdep: compile failed
> *** Error code 1
> 
> Stop in /usr/src/sys/modules/if_vlan.
> *** Error code 1
> 
> Stop in /usr/src/sys/modules.
> *** Error code 1
> 
> Stop in /usr/src/sys.
> *** Error code 1
> 
> Stop in /usr/src.
> *** Error code 1
> 
> Stop in /usr/src.
> *** Error code 1
> 
> Stop in /usr/src.
> -----
> 
> Without these options a new buildworld process is at...
> -----
> >>> stage 4.4: building everything
> -----
> ... and is going on.

Unless you really need it for some reason, the MODULES_WITH_WORLD option
is harmful -- it produces modules that aren't guaranteed to be compatible
with your kernel.


Cheers,
-- 
Ruslan Ermilov
ru_at_FreeBSD.org
FreeBSD committer

Received on Fri Feb 17 2006 - 10:10:55 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:52 UTC