Skip site navigation (1)Skip section navigation (2)
Date:      Thu,  5 Aug 2004 11:04:10 -0400
From:      "cd_freebsd" <cd_freebsd@gatorzone.com>
To:        <freebsd-hackers@freebsd.org>
Subject:   Re: Compiling Kernel Module with Current Kernel Options
Message-ID:  <200408051104.AA21692530@gatorzone.com>

next in thread | raw e-mail | index | archive | help
>>
I'm not sure what the problem is here, but could it be that the build is picking up the wrong set of includes? After you built the SMP kernel, did you copy kernel to / or did you do a make install? I've built at least a SCSI driver for 4.7 for a SMP machine and don't remember having to do anything special.
>>

Yes, I did a make install. The system has booted and uname -a shows the kernel was the one I built. 

The problem I see is that there is no "-include opt_global.h" in the compile command generated by the bsd.kmod.mk. Even if there was the include, the directory opt_global.h is located is not in the INCLUDE path. 

How did your code include and locate opt_global.h?



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