ACPI can only be compiled into the kernel on the amd64 and ia64 platforms

alexus alexus at gmail.com
Thu May 1 21:43:19 UTC 2008


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 <fbsd.questions at rachie.is-a-geek.net> 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/


More information about the freebsd-questions mailing list