From owner-freebsd-current@FreeBSD.ORG Wed Feb 4 13:41:48 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D499316A4CE; Wed, 4 Feb 2004 13:41:48 -0800 (PST) Received: from postman.ripe.net (postman.ripe.net [193.0.0.199]) by mx1.FreeBSD.org (Postfix) with ESMTP id 121AC43D31; Wed, 4 Feb 2004 13:41:45 -0800 (PST) (envelope-from ms@dell-laptop.6bone.nl) Received: by postman.ripe.net (Postfix, from userid 8) id 4F7CE4EFB3; Wed, 4 Feb 2004 22:41:44 +0100 (CET) Received: from birch.ripe.net (birch.ripe.net [193.0.1.96]) by postman.ripe.net (Postfix) with ESMTP id F04624EFAF; Wed, 4 Feb 2004 22:41:43 +0100 (CET) Received: from dell-laptop.6bone.nl (cow.ripe.net [193.0.1.239]) by birch.ripe.net (8.12.10/8.11.6) with SMTP id i14Lfh0G021116; Wed, 4 Feb 2004 22:41:43 +0100 Received: (nullmailer pid 2922 invoked by uid 1001); Wed, 04 Feb 2004 16:03:03 -0000 Date: Wed, 4 Feb 2004 17:03:03 +0100 From: Mark Santcroos To: Don Lewis Message-ID: <20040204160303.GA713@laptop.6bone.nl> References: <200401110106.i0B1627E029227@gw.catspoiler.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200401110106.i0B1627E029227@gw.catspoiler.org> User-Agent: Mutt/1.4.1i X-Handles: MS6-6BONE, MS18417-RIPE X-RIPE-Spam-Level: X-RIPE-Spam-Status: N 0.182918 X-RIPE-Signature: 68a513a53c6295bd444f00b4ceb23b64 cc: current@FreeBSD.org Subject: Re: building acpi module with ACPI_DEBUG option X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 04 Feb 2004 21:41:49 -0000 Hi Don, I think this is a lack in the build process of modules in general. At this moment you'll just need to put it in /etc/make.conf (just as I do). Mark On Sat, Jan 10, 2004 at 05:06:02PM -0800, Don Lewis wrote: > If you build a kernel with the ACPI_DEBUG option, this option gets > passed to the module build in opt_acpi.h, but the kernel panics on boot > because the symbol AcpiDmDumpMethodInfo is undefined in the module. The > problem is that the Makefile for the acpi module needs to know whether > ACPI_DEBUG is defined because it wants to append some more files to SRCS > in this case. One of the extra source files contains the definition of > the undefined symbol. > > .if ACPI_DEBUG > CFLAGS+=-DACPI_DEBUG > SRCS+= ${DBSRC} > opt_ddb.h: Makefile > echo "#define DDB 1" > ${.TARGET} > .else > opt_ddb.h: Makefile > echo -n > ${.TARGET} > .endif > > _______________________________________________ > freebsd-current@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"