Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 23 Mar 2005 11:12:18 -0500
From:      Mike Tancsa <mike@sentex.net>
To:        freebsd-stable@freebsd.org
Subject:   RELENG_5 buildworld problems using MODULES_WITH_WORLD=true
Message-ID:  <6.2.1.2.0.20050323111207.038a5a58@64.7.153.2>

next in thread | raw e-mail | index | archive | help

With the following make.conf

NOGAMES=        true    # do not build games (games/ subdir)
MODULES_WITH_WORLD=true # build modules when building kernel
NO_MODULES=true
KERNCONF=test

make buildworld dies at
...
===> sys/modules/arcnet
rm -f .depend
mkdep -f .depend -a   -nostdinc -D_KERNEL -DKLD_MODULE -I- -I. -I@ 
-I@/contrib/altq -I@/../include 
/usr/src/sys/modules/arcnet/../../net/if_arcsubr.c
===> sys/modules/arl
rm -f .depend
mkdep -f .depend -a   -nostdinc -I/usr/src/sys/modules/arl/../.. -D_KERNEL 
-DKLD_MODULE -I- -I/usr/src/sys/modules/arl/../.. -I. -I@ -I@/contrib/altq 
-I@/../include /usr/src/sys/modules/arl/../../dev/arl/if_arl.c 
/usr/src/sys/modules/arl/../../dev/arl/if_arl_isa.c
===> sys/modules/asr
rm -f .depend
mkdep -f .depend -a   -nostdinc -D_KERNEL -DKLD_MODULE -I- -I. -I@ 
-I@/contrib/altq -I@/../include /usr/src/sys/modules/asr/../../dev/asr/asr.c
/usr/src/sys/modules/asr/../../dev/asr/asr.c:140:21: opt_asr.h: No such 
file or directory
mkdep: compile failed
*** Error code 1

Stop in /usr/src/sys/modules/asr.
*** 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.

If I build the modules with the kernel, all is OK.  I am guessing
http://lists.freebsd.org/pipermail/cvs-all/2005-March/111998.html
was what broke it.

         ---Mike


--------------------------------------------------------------------
Mike Tancsa,                                      tel +1 519 651 3400
Sentex Communications,                            mike@sentex.net
Providing Internet since 1994                    www.sentex.net
Cambridge, Ontario Canada                         www.sentex.net/mike



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