public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [x86]compile error
@ 2009-12-18  8:34 Helight.Xu
  2009-12-18  8:44 ` Américo Wang
  0 siblings, 1 reply; 3+ messages in thread
From: Helight.Xu @ 2009-12-18  8:34 UTC (permalink / raw)
  To: linux-kernel; +Cc: ibm-acpi-devel

linux@linux-desktop:~/linux-2.6$ make modules
  CHK     include/linux/version.h
  CHK     include/linux/utsrelease.h
  SYMLINK include/asm -> include/asm-x86
  CALL    scripts/checksyscalls.sh
  Building modules, stage 2.
  MODPOST 1834 modules
ERROR: "snd_card_create" [drivers/platform/x86/thinkpad_acpi.ko] undefined!
ERROR: "snd_ctl_notify" [drivers/platform/x86/thinkpad_acpi.ko] undefined!
ERROR: "snd_ctl_boolean_mono_info" 
[drivers/platform/x86/thinkpad_acpi.ko] undefined!
ERROR: "snd_ctl_new1" [drivers/platform/x86/thinkpad_acpi.ko] undefined!
ERROR: "snd_card_free" [drivers/platform/x86/thinkpad_acpi.ko] undefined!
ERROR: "snd_card_register" [drivers/platform/x86/thinkpad_acpi.ko] 
undefined!
ERROR: "snd_ctl_add" [drivers/platform/x86/thinkpad_acpi.ko] undefined!

-- 
Zhenwen Xu - Seven Helight
Home Page: http://zhwen.org


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [x86]compile error
  2009-12-18  8:34 [x86]compile error Helight.Xu
@ 2009-12-18  8:44 ` Américo Wang
  2009-12-18  9:01   ` Helight.Xu
  0 siblings, 1 reply; 3+ messages in thread
From: Américo Wang @ 2009-12-18  8:44 UTC (permalink / raw)
  To: Helight.Xu; +Cc: linux-kernel, ibm-acpi-devel

[-- Attachment #1: Type: text/plain, Size: 949 bytes --]

On Fri, Dec 18, 2009 at 4:34 PM, Helight.Xu <helight.xu@gmail.com> wrote:
> linux@linux-desktop:~/linux-2.6$ make modules
>  CHK     include/linux/version.h
>  CHK     include/linux/utsrelease.h
>  SYMLINK include/asm -> include/asm-x86
>  CALL    scripts/checksyscalls.sh
>  Building modules, stage 2.
>  MODPOST 1834 modules
> ERROR: "snd_card_create" [drivers/platform/x86/thinkpad_acpi.ko] undefined!
> ERROR: "snd_ctl_notify" [drivers/platform/x86/thinkpad_acpi.ko] undefined!
> ERROR: "snd_ctl_boolean_mono_info" [drivers/platform/x86/thinkpad_acpi.ko]
> undefined!
> ERROR: "snd_ctl_new1" [drivers/platform/x86/thinkpad_acpi.ko] undefined!
> ERROR: "snd_card_free" [drivers/platform/x86/thinkpad_acpi.ko] undefined!
> ERROR: "snd_card_register" [drivers/platform/x86/thinkpad_acpi.ko]
> undefined!
> ERROR: "snd_ctl_add" [drivers/platform/x86/thinkpad_acpi.ko] undefined!

Does attached patch fix your problem?

[-- Attachment #2: drivers-platform-x86-thinkpad-kconfig-fix.diff --]
[-- Type: text/plain, Size: 382 bytes --]

diff --git a/drivers/platform/x86/Kconfig b/drivers/platform/x86/Kconfig
index fc5bf9d..596966c 100644
--- a/drivers/platform/x86/Kconfig
+++ b/drivers/platform/x86/Kconfig
@@ -215,6 +215,7 @@ config THINKPAD_ACPI
 	depends on ACPI
 	depends on INPUT
 	depends on RFKILL || RFKILL = n
+	depends on SOUND
 	select BACKLIGHT_LCD_SUPPORT
 	select BACKLIGHT_CLASS_DEVICE
 	select HWMON

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [x86]compile error
  2009-12-18  8:44 ` Américo Wang
@ 2009-12-18  9:01   ` Helight.Xu
  0 siblings, 0 replies; 3+ messages in thread
From: Helight.Xu @ 2009-12-18  9:01 UTC (permalink / raw)
  To: Américo Wang; +Cc: linux-kernel, ibm-acpi-devel

Américo Wang wrote:
> On Fri, Dec 18, 2009 at 4:34 PM, Helight.Xu <helight.xu@gmail.com> wrote:
>   
>> linux@linux-desktop:~/linux-2.6$ make modules
>>  CHK     include/linux/version.h
>>  CHK     include/linux/utsrelease.h
>>  SYMLINK include/asm -> include/asm-x86
>>  CALL    scripts/checksyscalls.sh
>>  Building modules, stage 2.
>>  MODPOST 1834 modules
>> ERROR: "snd_card_create" [drivers/platform/x86/thinkpad_acpi.ko] undefined!
>> ERROR: "snd_ctl_notify" [drivers/platform/x86/thinkpad_acpi.ko] undefined!
>> ERROR: "snd_ctl_boolean_mono_info" [drivers/platform/x86/thinkpad_acpi.ko]
>> undefined!
>> ERROR: "snd_ctl_new1" [drivers/platform/x86/thinkpad_acpi.ko] undefined!
>> ERROR: "snd_card_free" [drivers/platform/x86/thinkpad_acpi.ko] undefined!
>> ERROR: "snd_card_register" [drivers/platform/x86/thinkpad_acpi.ko]
>> undefined!
>> ERROR: "snd_ctl_add" [drivers/platform/x86/thinkpad_acpi.ko] undefined!
>>     
>
> Does attached patch fix your problem?
>   
yes!it does work, I think you fix the problem!

-- 
Zhenwen Xu - Seven Helight
Home Page: http://zhwen.org


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2009-12-18  8:59 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-12-18  8:34 [x86]compile error Helight.Xu
2009-12-18  8:44 ` Américo Wang
2009-12-18  9:01   ` Helight.Xu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox