My makefile automatically finds all the C file and compiles it. But I got compile errors from ACPICA code:
Code: Select all
kernel/driver/acpi/acpica/evxfregn.c:79:1: error: redefinition of 'AcpiInstallAddressSpaceHandler'
AcpiInstallAddressSpaceHandler (
^
kernel/driver/acpi/acpica/acpixf.h:778:1: note: previous definition is here
AcpiInstallAddressSpaceHandler (
^
kernel/driver/acpi/acpica/platform/acwheel.h:96:24: note: expanded from macro
'ACPI_EXTERNAL_RETURN_STATUS'
static ACPI_INLINE Prototype {return(AE_NOT_CONFIGURED);}
^
kernel/driver/acpi/acpica/evxfregn.c:145:14: error: use of undeclared identifier
'AcpiGbl_RegMethodsExecuted'
if (!AcpiGbl_RegMethodsExecuted)
^
kernel/driver/acpi/acpica/evxfregn.c:168:1: warning: type specifier missing, defaults to 'int'
[-Wimplicit-int]
ACPI_EXPORT_SYMBOL (AcpiInstallAddressSpaceHandler)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
kernel/driver/acpi/acpica/platform/acwheel.h:109:37: note: expanded from macro 'ACPI_EXPORT_SYMBOL'
#define ACPI_EXPORT_SYMBOL(symbol) EXPORT_SYMBOL(symbol);
^~~~~~~~~~~~~
kernel/driver/acpi/acpica/evxfregn.c:168:21: error: a parameter list without types is only allowed
in a function definition
ACPI_EXPORT_SYMBOL (AcpiInstallAddressSpaceHandler)
^
kernel/driver/acpi/acpica/platform/acwheel.h:109:51: note: expanded from macro 'ACPI_EXPORT_SYMBOL'
#define ACPI_EXPORT_SYMBOL(symbol) EXPORT_SYMBOL(symbol);
^
kernel/driver/acpi/acpica/evxfregn.c:186:1: error: redefinition of 'AcpiRemoveAddressSpaceHandler'
AcpiRemoveAddressSpaceHandler (
^
kernel/driver/acpi/acpica/acpixf.h:787:1: note: previous definition is here
AcpiRemoveAddressSpaceHandler (
^
kernel/driver/acpi/acpica/platform/acwheel.h:96:24: note: expanded from macro
'ACPI_EXTERNAL_RETURN_STATUS'
static ACPI_INLINE Prototype {return(AE_NOT_CONFIGURED);}
^
kernel/driver/acpi/acpica/evxfregn.c:222:19: error: use of undeclared identifier 'AcpiGbl_RootNode'
(Node != AcpiGbl_RootNode)))
^
kernel/driver/acpi/acpica/evxfregn.c:315:1: warning: type specifier missing, defaults to 'int'
[-Wimplicit-int]
ACPI_EXPORT_SYMBOL (AcpiRemoveAddressSpaceHandler)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
kernel/driver/acpi/acpica/platform/acwheel.h:109:37: note: expanded from macro 'ACPI_EXPORT_SYMBOL'
#define ACPI_EXPORT_SYMBOL(symbol) EXPORT_SYMBOL(symbol);
^~~~~~~~~~~~~
kernel/driver/acpi/acpica/evxfregn.c:315:21: error: a parameter list without types is only allowed
in a function definition
ACPI_EXPORT_SYMBOL (AcpiRemoveAddressSpaceHandler)
^
kernel/driver/acpi/acpica/platform/acwheel.h:109:51: note: expanded from macro 'ACPI_EXPORT_SYMBOL'
#define ACPI_EXPORT_SYMBOL(symbol) EXPORT_SYMBOL(symbol);
^