試験運用中なLinux備忘録・旧記事

はてなダイアリーで公開していた2007年5月-2015年3月の記事を保存しています。

alsa-driver-1.0.15rc3をカーネルツリーに組み込んだときのエラーに対処

(2007/10/19)バージョン1.0.15ではこの問題は修正されている。


カーネルソースツリーのALSAドライバを新しいalsa-driverに置き換える」のスクリプトで、Linux 2.6.23(内蔵するALSAのバージョンは1.0.14)にALSAドライバ 1.0.15rc3を組み込んだところ、カーネル設定をしようとすると

sound/pci/Kconfig:903: unknown option "The"
sound/pci/Kconfig:904: unknown option "power"

というエラーが出る。これは、そのファイルの該当箇所に、ヘルプ項目の説明であることを示す「help」が抜けていたのが原因だった。

--- sound/pci/Kconfig.orig
+++ sound/pci/Kconfig
@@ -900,6 +900,7 @@
 	int "Default time-out for AC97 power-save mode"
 	depends on SND_AC97_POWER_SAVE
 	default 0
+	help
 	  The default time-out value in seconds for AC97 automatic
 	  power-save mode.  0 means to disable the power-save mode.
 

これで無事に設定に入ることができ、ビルドも無事通り、ALSAドライバは最新版になった。