Mailing List Archive

drivers/acpi/tables.c error on kernel compilation
I tried an alternate method for compiling Xen with my custom Linux
kernel .config. Instead of running "make kernels" in the top-level Xen
source directory I went into xen-unstable/linux-2.6.11-xen0/ and just
ran "make" as per usual kernel config.

It gives the following error message every time it compiles:


CC drivers/acpi/tables.o
drivers/acpi/tables.c: In function `acpi_table_init':
drivers/acpi/tables.c:584: error: `FIX_ACPI_RSDP_PAGE' undeclared (first
use in this function)
drivers/acpi/tables.c:584: error: (Each undeclared identifier is
reported only once
drivers/acpi/tables.c:584: error: for each function it appears in.)
make[2]: *** [drivers/acpi/tables.o] Error 1
make[1]: *** [drivers/acpi] Error 2
make: *** [drivers] Error 2


I will now be turning off acpi in .config to see if this helps.

_______________________________________________
Xen-users mailing list
Xen-users@lists.xensource.com
http://lists.xensource.com/xen-users
Re: drivers/acpi/tables.c error on kernel compilation [ In reply to ]
Did you do "make ARCH=xen"? Otherwise it'll try to do a i386 build with Xen
bits in it and it'll break.

Cheers,
Mark

On Monday 16 May 2005 23:41, prosolutions@gmx.net wrote:
> I tried an alternate method for compiling Xen with my custom Linux
> kernel .config. Instead of running "make kernels" in the top-level Xen
> source directory I went into xen-unstable/linux-2.6.11-xen0/ and just
> ran "make" as per usual kernel config.
>
> It gives the following error message every time it compiles:
>
>
> CC drivers/acpi/tables.o
> drivers/acpi/tables.c: In function `acpi_table_init':
> drivers/acpi/tables.c:584: error: `FIX_ACPI_RSDP_PAGE' undeclared (first
> use in this function)
> drivers/acpi/tables.c:584: error: (Each undeclared identifier is
> reported only once
> drivers/acpi/tables.c:584: error: for each function it appears in.)
> make[2]: *** [drivers/acpi/tables.o] Error 1
> make[1]: *** [drivers/acpi] Error 2
> make: *** [drivers] Error 2
>
>
> I will now be turning off acpi in .config to see if this helps.
>
> _______________________________________________
> Xen-users mailing list
> Xen-users@lists.xensource.com
> http://lists.xensource.com/xen-users

_______________________________________________
Xen-users mailing list
Xen-users@lists.xensource.com
http://lists.xensource.com/xen-users
RE: drivers/acpi/tables.c error on kernel compilation [ In reply to ]
> I tried an alternate method for compiling Xen with my custom
> Linux kernel .config. Instead of running "make kernels" in
> the top-level Xen source directory I went into
> xen-unstable/linux-2.6.11-xen0/ and just ran "make" as per
> usual kernel config.

You need to specify "make ARCH=xen", though it looks like you might have
highlighted something we've done that has broken the native i386 build.

Ian

> It gives the following error message every time it compiles:
>
>
> CC drivers/acpi/tables.o
> drivers/acpi/tables.c: In function `acpi_table_init':
> drivers/acpi/tables.c:584: error: `FIX_ACPI_RSDP_PAGE'
> undeclared (first use in this function)
> drivers/acpi/tables.c:584: error: (Each undeclared identifier
> is reported only once
> drivers/acpi/tables.c:584: error: for each function it appears in.)
> make[2]: *** [drivers/acpi/tables.o] Error 1
> make[1]: *** [drivers/acpi] Error 2
> make: *** [drivers] Error 2
>
>
> I will now be turning off acpi in .config to see if this helps.
>
> _______________________________________________
> Xen-users mailing list
> Xen-users@lists.xensource.com
> http://lists.xensource.com/xen-users
>

_______________________________________________
Xen-users mailing list
Xen-users@lists.xensource.com
http://lists.xensource.com/xen-users