From owner-freebsd-hackers@FreeBSD.ORG Thu Aug 5 14:33:19 2004 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A381A16A4CE for ; Thu, 5 Aug 2004 14:33:19 +0000 (GMT) Received: from gatorzone.com (gatormail.gatorzone.com [216.53.131.133]) by mx1.FreeBSD.org (Postfix) with ESMTP id 13E3543D31 for ; Thu, 5 Aug 2004 14:33:19 +0000 (GMT) (envelope-from cd_freebsd@gatorzone.com) Date: Thu, 5 Aug 2004 11:04:10 -0400 Message-Id: <200408051104.AA21692530@gatorzone.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii From: "cd_freebsd" To: X-Mailer: Subject: Re: Compiling Kernel Module with Current Kernel Options X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: cd_freebsd@gatorzone.com List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 05 Aug 2004 14:33:19 -0000 >> 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?