make fails (kernel)

Brandon helsley brandon.helsley at
Thu Dec 10 09:51:48 UTC 2020

I am creating a custom kernel that has the ipv6 only option from the FAQ. here's my output from buildkernel. I have attached the kernel config file as well, the options added are at the very bottom with a hash separating it from the rest. Thank you for anyone's time spent helping, It goes a long way.

[root at machine17 ~]# cd /usr/src
[root at machine17 /usr/src]# make buildkernel KERNCONF=MYKERNEL
make[1]: "/usr/src/Makefile.inc1" line 342: SYSTEM_COMPILER: Determined that CC=cc matches the source tree.  Not bootstrapping a cross-compiler.
make[1]: "/usr/src/Makefile.inc1" line 349: SYSTEM_LINKER: libclang will be built for bootstrapping a cross-linker.
make[1]: "/usr/src/Makefile.inc1" line 1430: Malformed conditional (!make(packageworld) && ${MK_CAROOT} != "no")
make[1]: Fatal errors encountered -- cannot continue
make[1]: stopped in /usr/src
*** Error code 1
-------------- next part --------------
A non-text attachment was scrubbed...
Type: application/octet-stream
Size: 14877 bytes
URL: <>

More information about the freebsd-questions mailing list