acer-wmi uses input:i8042_command() => build error
Subsystems (2)
drivers/built-in.o: In function `set_u32':
acer-wmi.c:(.text+0xb9bf6): undefined reference to `i8042_command' make[1]: *** [vmlinux] Error 1
make: *** [sub-make] Error 2
config attached.
---
~Randy
Quoted 4 lines · On Monday 10 March 2008 19:47:54 Randy Dunlap wrote:
drivers/built-in.o: In function `set_u32':
acer-wmi.c:(.text+0xb9bf6): undefined reference to `i8042_command' make[1]: *** [vmlinux] Error 1
make: *** [sub-make] Error 2
It appears acer-wmi also depends on CONFIG_SERIO_I8042 for that function (I don't have CONFIG_EMBEDDED set so didn't notice that it could be disabled on x86).
-Carlos
Signature · 3 lines
E-Mail: [email protected] Web: strangeworlds.co.uk GPG Key ID: 0x23EE722D
Quoted 4 lines · Randy Dunlap
drivers/built-in.o: In function `set_u32':
acer-wmi.c:(.text+0xb9bf6): undefined reference to `i8042_command' make[1]: *** [vmlinux] Error 1
make: *** [sub-make] Error 2
Does the patch below fix your build?
From: Jiri Kosina <[email protected]>
Acer-wmi dependends on i8042 code.
---
drivers/misc/Kconfig | 1 + 1 files changed, 1 insertions(+), 0 deletions(-)
drivers/misc/Kconfig +1 -0
@@ -108,6 +108,7 @@ config ACER_WMI depends on ACPI depends on LEDS_CLASS depends on BACKLIGHT_CLASS_DEVICE + depends on SERIO_I8042 select ACPI_WMI ---help--- This is a driver for newer Acer (and Wistron) laptops. It adds
Randy Dunlap
Acked-byQuoted 8 lines · On Mon, 10 Mar 2008 22:29:37 +0100 (CET) Jiri Kosina wrote:
Quoted 4 lines · Randy Dunlap
drivers/built-in.o: In function `set_u32':
acer-wmi.c:(.text+0xb9bf6): undefined reference to `i8042_command' make[1]: *** [vmlinux] Error 1
make: *** [sub-make] Error 2Does the patch below fix your build?
Yes, thanks.
Quoted 15 lines
From: Jiri Kosina <[email protected]>
Acer-wmi dependends on i8042 code.
Signed-off-by Jiri Kosina <[email protected]>---
drivers/misc/Kconfig | 1 + 1 files changed, 1 insertions(+), 0 deletions(-)drivers/misc/Kconfig +0
-0
drivers/misc/Kconfig config ACER_WMI
Quoted 8 lines
drivers/misc/Kconfig +1
-1@@ -108,6 +108,7 @@ config ACER_WMI depends on ACPI depends on LEDS_CLASS depends on BACKLIGHT_CLASS_DEVICE + depends on SERIO_I8042 select ACPI_WMI ---help--- This is a driver for newer Acer (and Wistron) laptops. It adds --
---
~Randy
Quoted 2 lines · On Monday 10 March 2008 23:06:49 Randy Dunlap wrote:
Yes, thanks.
Acked-by Randy Dunlap <[email protected]>
(I'll add this to my queue, although given my last set of patches hasn't been applied to the ACPI tree yet, and Len seems to have gone AWOL for the last two weeks since then, I have no idea on the chances of this getting in, unless someone else wants to pick it up?)
-Carlos
Signature · 3 lines
E-Mail: [email protected] Web: strangeworlds.co.uk GPG Key ID: 0x23EE722D
Quoted 5 lines · Carlos Corbacho
Signed-off-by Carlos Corbacho <[email protected]>(I'll add this to my queue, although given my last set of patches hasn't been applied to the ACPI tree yet, and Len seems to have gone AWOL for the last two weeks since then, I have no idea on the chances of this getting in, unless someone else wants to pick it up?)
Probably just Sign it off and bounce it to Andrew, he'll manage.
Thanks,
Signature · 1 line
Jiri Kosina