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

Mel fbsd.questions at rachie.is-a-geek.net
Thu May 1 21:34:22 UTC 2008


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.


More information about the freebsd-questions mailing list