"/sys/conf/kmod.mk", line 111: Malformed conditional (${MK_CLANG_IS_CC}

Dimitry Andric dim at FreeBSD.org
Sat Mar 3 14:25:24 UTC 2012


On 2012-03-03 15:19, Florian Smeets wrote:
> On 03.03.12 14:24, Chris Rees wrote:
>> On 3 March 2012 11:48, O. Hartmann <ohartman at zedat.fu-berlin.de> wrote:
...
>>> "/sys/conf/kmod.mk", line 111: Malformed conditional (${MK_CLANG_IS_CC}
...
> No need, a buildworld / installworld cycle will fix it. A make install
> in src/share/mk *could* also be enough, but i haven't tested it.

It's also enough if you run "make buildenv" in your source directory,
before attempting to compile the module.  This is needed when you want
to build a module separately for -CURRENT on older stable branches.

Alternatively, use "make -m ${srcdir}/share/mk" or set the MAKESYSPATH
environment variable to ${srcdir}/share/mk before building.


More information about the freebsd-current mailing list