Solved Cannot compile simple kernel module

Hi there,

Using 10.3-RELEASE and trying to compile a simple kernel module. My Makefile is really simple....
Code:
~/code/memstat % cat Makefile
# Source files for kernel module
SRCS=memstat_kmod.c

# Declare Name of the kernel module
KMOD=memstat

# Include kernel module makefile
.include <bsd.kmod.mk>
~/code/memstat % make
make: "/sys/conf/kmod.mk" line 461: Could not find bsd.clang-analyze.mk
make: Fatal errors encountered -- cannot continue
make: stopped in /home/fnoyanisi/code/memstat
~/code/memstat %
I have seen this and in this forum post, wblock@ mentions that bsd.clang-analyze.mk is only available in 11-CURRENT.

My questions is, why would bsd.kmod.mk on 10.3-RELEASE pull bsd.clang-analyze.mk, which is only available in 11-CURRENT?
 
Back
Top