On Thursday 06 September 2007 04:51, Toralf Förster wrote:
> Hello,
> 
> the build with the attached .config failed, make ends with:
> ...
>   CC      drivers/acpi/pci_root.o
>   CC      drivers/acpi/pci_link.o
>   CC      drivers/acpi/pci_irq.o
>   CC      drivers/acpi/pci_bind.o
>   CC      drivers/acpi/power.o
>   CC      drivers/acpi/system.o
>   CC      drivers/acpi/event.o
> drivers/acpi/event.c:243: error: 'acpi_generate_netlink_event' undeclared 
> here (not in a function)
> drivers/acpi/event.c:243: warning: type defaults to 'int' in declaration of 
> 'acpi_generate_netlink_event'
> make[2]: *** [drivers/acpi/event.o] Error 1
> make[1]: *** [drivers/acpi] Error 2
> make: *** [drivers] Error 2
> 
> The build was made with :
> $> make mrproper && make rndconfig && <tweak config file> && make oldconfig 
> && make

This is due to CONFIG_NET=n, which Henrique fixed last week
and will be in -rc6.

thanks,
-Len

commit 66baf327ae5d4c17e75d1f501145e79eaeeaf649
Author: Henrique de Moraes Holschuh <[EMAIL PROTECTED]>
Date:   Mon Sep 3 00:03:35 2007 -0300

    ACPI: fix CONFIG_NET=n acpi_bus_generate_netlink_event build failure
    
    drivers/acpi/event.c:243: error: 'acpi_generate_netlink_event' undeclared
    here (not in a function)
    
    Signed-off-by: Henrique de Moraes Holschuh <[EMAIL PROTECTED]>
    Signed-off-by: Len Brown <[EMAIL PROTECTED]>

diff --git a/drivers/acpi/event.c b/drivers/acpi/event.c
index a2b9304..5c95863 100644
--- a/drivers/acpi/event.c
+++ b/drivers/acpi/event.c
@@ -240,7 +240,7 @@ int acpi_bus_generate_netlink_event(const char 
*device_class,
        return 0;
 }
 
-EXPORT_SYMBOL(acpi_generate_netlink_event);
+EXPORT_SYMBOL(acpi_bus_generate_netlink_event);
 
 static int acpi_event_genetlink_init(void)
 {

-
To unsubscribe from this list: send the line "unsubscribe linux-acpi" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to