From owner-freebsd-questions@FreeBSD.ORG Thu May 1 21:43:19 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6AA251065674 for ; Thu, 1 May 2008 21:43:19 +0000 (UTC) (envelope-from alexus@gmail.com) Received: from wr-out-0506.google.com (wr-out-0506.google.com [64.233.184.226]) by mx1.freebsd.org (Postfix) with ESMTP id 1F6408FC21 for ; Thu, 1 May 2008 21:43:18 +0000 (UTC) (envelope-from alexus@gmail.com) Received: by wr-out-0506.google.com with SMTP id 50so764985wra.13 for ; Thu, 01 May 2008 14:43:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=v+7fJe3L0PdwI9yptQM4EAMMB6r6A/zP2f1v96mIONM=; b=fy1uySFcmOK+rptZqPXCWJxsi8JOLCsusSvY8194C5JySXMUl3ruLnRkOXB0GVplrvrSBYoq1FtncGqJQQHi3pU30bTPQne+hIw38ESShF3J3CT24p/Z1lpiXf7qEH1/JkWNX1DukfzXAQyNfROYV3FijPhEnaNeuuuge1vy2QI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=G5zSC5yagln3sniT5NkdFgbX2wBF3bjuaaiofU7Hsmhx72KHR/gWPdkJHvzPqI9O/4veyjXYUriJ1MWZwPE26XFFvwvOw3EkJXfRAn9/30e/0r/Tw44Hsl/OiSprieeNUFS+Nq1U0K6D0ca6/P5LnIMUm6ESIepZpUyy0RqaITY= Received: by 10.114.152.17 with SMTP id z17mr2285561wad.159.1209678197505; Thu, 01 May 2008 14:43:17 -0700 (PDT) Received: by 10.114.174.15 with HTTP; Thu, 1 May 2008 14:43:17 -0700 (PDT) Message-ID: <6ae50c2d0805011443qbb57354v3e075282e59d9ceb@mail.gmail.com> Date: Thu, 1 May 2008 17:43:17 -0400 From: alexus To: Mel In-Reply-To: <200805012334.20146.fbsd.questions@rachie.is-a-geek.net> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <6ae50c2d0804301423l485c586er854aa36086504d17@mail.gmail.com> <200805012334.20146.fbsd.questions@rachie.is-a-geek.net> Cc: freebsd-questions@freebsd.org Subject: Re: ACPI can only be compiled into the kernel on the amd64 and ia64 platforms X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 01 May 2008 21:43:19 -0000 like i said i copy GENERIC dd# pwd /usr/src/sys/i386/conf dd# grep -i acpi GENERIC dd# my GENERIC doesn't have acpi either... as far as "weird" part goes, this is a plain vanila FreeBSD-7.0-RELEASE, I'm not sure what you mean by "weird" or i386 part, all I did is cp GENERIC dd then vi dd, then config dd and then tried compiling and it threw me an error right away. On Thu, May 1, 2008 at 5:34 PM, Mel wrote: > > On Wednesday 30 April 2008 23:23:27 alexus wrote: > > dd# make cleandepend && make depend > > rm -f .depend machine amd64 > > cd ../../../modules; > > MAKEOBJDIRPREFIX=/usr/src/sys/i386/compile/dd/modules > > KMODDIR=/boot/kernel DEBUG_FLAGS="-g" MACHINE=i386 > > KERNBUILDDIR="/usr/src/sys/i386/compile/dd" make cleandepend > > ===> aac (cleandepend) > > rm -f @ machine amd64 > > rm -f .depend GPATH GRTAGS GSYMS GTAGS > > ===> accf_data (cleandepend) > > rm -f @ machine amd64 > > rm -f .depend GPATH GRTAGS GSYMS GTAGS > > ===> accf_http (cleandepend) > > rm -f @ machine amd64 > > rm -f .depend GPATH GRTAGS GSYMS GTAGS > > ===> acpi (cleandepend) > > ===> acpi/acpi (cleandepend) > > "Makefile", line 4: "ACPI can only be compiled into the kernel on the > > amd64 and ia64 platforms" > > *** Error code 1 > > > > Stop in /usr/src/sys/modules/acpi. > > *** Error code 1 > > > > Stop in /usr/src/sys/modules. > > *** Error code 1 > > > > Stop in /usr/src/sys/i386/compile/dd. > > dd# > > > > I took GENERIC and rewise it a little bit > > You removed device acpi and shouldn't have done that. > Also, your build system looks weird. > What is compile/dd, why are you compiling under i386 when your system is > detected as amd64 or ia64, why is MAKEOBJDIRPREFIX pointing to a directory > below the source tree, rather then a directory outside the source tree. > In other words, not enough info (aside from the missing question). > > -- > Mel > > Problem with today's modular software: they start with the modules > and never get to the software part. > -- http://alexus.org/