From owner-freebsd-acpi@FreeBSD.ORG Thu Mar 17 22:29:17 2005 Return-Path: Delivered-To: freebsd-acpi@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7505D16A4CE; Thu, 17 Mar 2005 22:29:17 +0000 (GMT) Received: from ylpvm01.prodigy.net (ylpvm01-ext.prodigy.net [207.115.57.32]) by mx1.FreeBSD.org (Postfix) with ESMTP id D8B8343D1F; Thu, 17 Mar 2005 22:29:16 +0000 (GMT) (envelope-from nate@root.org) Received: from [10.0.0.34] (adsl-67-119-74-222.dsl.sntc01.pacbell.net [67.119.74.222])j2HMTERv008420; Thu, 17 Mar 2005 17:29:15 -0500 Message-ID: <423A04BA.40800@root.org> Date: Thu, 17 Mar 2005 14:29:14 -0800 From: Nate Lawson User-Agent: Mozilla Thunderbird 1.0RC1 (X11/20041205) X-Accept-Language: en-us, en MIME-Version: 1.0 To: fandino@ng.fadesa.es References: <4238483F.2020108@ng.fadesa.es> <42387144.3050507@root.org> <42396712.2060704@ng.fadesa.es> In-Reply-To: <42396712.2060704@ng.fadesa.es> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit cc: freebsd-acpi@freebsd.org Subject: Re: link_elf: symbol AcpiDmDumpMethodInfo undefined X-BeenThere: freebsd-acpi@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: ACPI and power management development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 17 Mar 2005 22:29:17 -0000 fandino wrote: > Nate Lawson wrote: > >> fandino wrote: >> >>> >>> I get this error when I compile 5.4-PRERELEASE with ACPI_DEBUG. >>> >>> Did I miss something? >> >> You need to recompile both kernel and modules with that option. > > apart from deleting /usr/obj/usr/src/sys followed of the typical > "make kernel KERNCONF=xxx" > what more do I need to do? > because it's what I did and I'm getting the undefined error. Actually, my response was not correct. There is only one dependency acpi.ko has on the kernel that changes with the ACPI_DEBUG option: db_readline(). If you get an undefined symbol for that, you need "options KDB" in your kernel. I have no idea how you are getting AcpiDmDumpMethodInfo not defined. That means you have somehow undefined ACPI_DISASSEMBLER. The only thing I can think that would lead to this is an incomplete cvsup or a weird kernel config. Blow away sys/dev/acpica and sys/contrib/dev/acpica and cvsup again. What are the contents of your KERNCONF? -- Nate