Solved make buildworld fail: stage 4.3 on 11.1-RELEASE (rev 327062)

When running a make buildworld, it fails at stage 4.3. The source is 11.1-RELEASE at revision 327062. Note that I am building modules with world instead with the kernels.

Here is the error:

Code:
===> sys/modules (all)
===> sys/modules/3dfx (all)
make[5]: don't know how to make bus_if.h. Stop

make[5]: stopped in /usr/src/sys/modules/3dfx
*** Error code 2

Stop.
make[4]: stopped in /usr/src/sys/modules
*** Error code 1

Stop.
make[3]: stopped in /usr/src/sys
*** Error code 1

Stop.
make[2]: stopped in /usr/src
*** Error code 1

Stop.
make[1]: stopped in /usr/src
*** Error code 1

Stop.
make: stopped in /usr/src

EDIT:

I've restarted the build by removing the options NO_MODULES=1 and MODULES_WITH_WORLD=1 from /etc/make.conf. We'll see what happens.
 
Also make sure the source is complete, I've had a few instances where I missed some parts. Checking out a fresh source tree typically solves it.
 
The source was a fresh checkout from the mirror using svn. So I'm pretty sure it was complete. Taking those options out fixed the problem. My guess is that this might be deliberately broken because I read somewhere that this particular build configuration was not recommended. If the modules were built with world instead of with kernel, you could end up with modules that are not compatible with the kernel. Now I don't usually use modules, but that is something to consider.
 
Back
Top