buildworld broken with NO_MODULES= and MODULES_WITH_WORLD=

Ruslan Ermilov ru at FreeBSD.org
Fri Feb 17 03:10:55 PST 2006


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)
> @ -> /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@ -I@/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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-current/attachments/20060217/679d24c8/attachment.bin


More information about the freebsd-current mailing list