Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 1 May 2008 23:34:19 +0200
From:      Mel <fbsd.questions@rachie.is-a-geek.net>
To:        freebsd-questions@freebsd.org
Cc:        alexus <alexus@gmail.com>
Subject:   Re: ACPI can only be compiled into the kernel on the amd64 and ia64 platforms
Message-ID:  <200805012334.20146.fbsd.questions@rachie.is-a-geek.net>
In-Reply-To: <6ae50c2d0804301423l485c586er854aa36086504d17@mail.gmail.com>
References:  <6ae50c2d0804301423l485c586er854aa36086504d17@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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.



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