Skip to contentSkip to conversation

acer-wmi uses input:i8042_command() => build error

DISCUSSION Applied Randy Dunlap 4 participants 7 messages Mar 10, 2008 – Mar 12, 2008

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

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

#1 lore raw
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
#2 lore raw
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
index 982e27b..962817e 100644
@@ -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
author Acked-by
#3 lore raw
Quoted 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 2

Does the patch below fix your build?

Yes, thanks.

Quoted 15 lines

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 +0 -0
index 982e27b..962817e 100644

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

#4 lore raw
Quoted 2 lines · On Monday 10 March 2008 23:06:49 Randy Dunlap wrote:

Yes, thanks.

(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
#5 lore raw
Quoted 5 lines · Carlos Corbacho

(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