vine-users ML アーカイブ



[vine-users:066859] alsaが install出来ない

  • From: Yasuyuki OYA (OUYA) <ouya@xxxxxxxxxxxx>
  • Subject: [vine-users:066859] alsaが install出来ない
  • Date: Mon, 9 Aug 2004 21:29:58 +0900
應矢です.
いつも御世話になっております.

Dynabook T4のLinuxをVine 2.6からVine 3.0へ
clean installすることによりupgradeして諸test中です.

sound cardは,
ALI15X3ですが音がでません.
そこで2.6時代に御世話になっていた
alsa-driver/-lib/-utilsを利用しようとしています.
kernel-sourceをapt-get installした後に,
http://www.alsa.orgから
alsa-driver/-lib/-utils-1.0.4.tar.bz2をdownloadして,
松本様に以前頂いた御教示[vine-users:066495]と,
そこで参照されている
	http://shino.pos.to/linux/alsa2.html
を参考にinstallを試みましたが,
旨く行きません.

download後の手順は次の通りです.

#cd ~/rpm/SOURCE
#tar xvfj alsa-driver-1.0.4.tar.bz2
#cd alsa-driver-1.0.4
#./configure
#make
#checkinstall

(ここで./buildrpmを実行もしてみましたが,
	/usr/src/redhat directory not found
というerrorが生じたからです.)

続けて
#./snddevices

(directory alsa-driver-1.0.4で成功)

#.ls -l /dev/mixer
出力はlrwxrwxrwx root root 11 Aug 9 20:40 /dev/mixer -> /dev/mixer0

更に
#cd ~/rpm/SOURCE
#tar xvfj alsa-lib-1.0.4.tar.bz2
#cd alsa-lib-1.0.4
#./configure
#make
#checkinstall

ここまでは成功

#cd ~/rpm/SOURCE
#tar xvfj alsa-utils-1.0.4.tar.bz2
#cd alsa-utils-1.0.4
#./configure
#make
の途中で以下のerror messageが出て失敗します.

原因対策等の御教示御願致します.

(前略)
Making all in alsamixer
make[1]: ディレクトリ `/root/rpm/SOURCES/alsa-utils-1.0.4/alsamixer' に入ります
if gcc -DHAVE_CONFIG_H -I. -I. -I../include     -g -O2 -MT alsamixer.o -MD -MP -MF ".deps/alsamixer.Tpo" \
  -c -o alsamixer.o `test -f 'alsamixer.c' || echo './'`alsamixer.c; \
then mv -f ".deps/alsamixer.Tpo" ".deps/alsamixer.Po"; \
else rm -f ".deps/alsamixer.Tpo"; exit 1; \
fi
alsamixer.c:119:21: ncurses.h: そのようなファイルやディレクトリはありません
alsamixer.c:176: error: 文法エラー before '*' token
alsamixer.c:176: 警告: data definition has no type or storage class
alsamixer.c: 関数 `mixer_init_draw_contexts' 内:
alsamixer.c:328: error: `COLOR_WHITE' undeclared (first use in this function)
alsamixer.c:328: error: (Each undeclared identifier is reported only once
alsamixer.c:328: error: for each function it appears in.)
alsamixer.c:328: error: `A_BOLD' undeclared (first use in this function)
alsamixer.c:328: error: `COLOR_BLACK' undeclared (first use in this function)
alsamixer.c:328: error: `A_NORMAL' undeclared (first use in this function)
alsamixer.c:329: error: `COLOR_YELLOW' undeclared (first use in this function)
alsamixer.c:330: error: `COLOR_CYAN' undeclared (first use in this function)
alsamixer.c:332: error: `ACS_HLINE' undeclared (first use in this function)
alsamixer.c:333: error: `COLOR_RED' undeclared (first use in this function)
alsamixer.c:335: error: `A_DIM' undeclared (first use in this function)
alsamixer.c:336: error: `COLOR_BLUE' undeclared (first use in this function)
alsamixer.c:336: error: `A_REVERSE' undeclared (first use in this function)
alsamixer.c:339: error: `ACS_CKBOARD' undeclared (first use in this function)
alsamixer.c:340: error: `COLOR_GREEN' undeclared (first use in this function)
alsamixer.c: 関数 `mixer_clear' 内:
alsamixer.c:379: error: `TRUE' undeclared (first use in this function)
alsamixer.c: 関数 `mixer_abort' 内:
alsamixer.c:396: error: `TRUE' undeclared (first use in this function)
alsamixer.c:398: error: `FALSE' undeclared (first use in this function)
alsamixer.c: 関数 `mixer_cbar_get_pos' 内:
alsamixer.c:448: error: `FALSE' undeclared (first use in this function)
alsamixer.c:466: error: `TRUE' undeclared (first use in this function)
alsamixer.c: 関数 `mixer_update_cbar' 内:
alsamixer.c:859: error: `ACS_LLCORNER' undeclared (first use in this function)
alsamixer.c:860: error: `ACS_HLINE' undeclared (first use in this function)
alsamixer.c:862: error: `ACS_LRCORNER' undeclared (first use in this function)
alsamixer.c:867: error: `ACS_VLINE' undeclared (first use in this function)
alsamixer.c:891: error: `ACS_ULCORNER' undeclared (first use in this function)
alsamixer.c:901: error: `ACS_URCORNER' undeclared (first use in this function)
alsamixer.c: 関数 `mixer_draw_frame' 内:
alsamixer.c:1022: error: `ACS_VLINE' undeclared (first use in this function)
alsamixer.c:1027: error: `ACS_HLINE' undeclared (first use in this function)
alsamixer.c:1034: error: `ACS_ULCORNER' undeclared (first use in this function)
alsamixer.c:1035: error: `ACS_URCORNER' undeclared (first use in this function)
alsamixer.c:1036: error: `ACS_LLCORNER' undeclared (first use in this function)
alsamixer.c:1038: error: `ACS_LRCORNER' undeclared (first use in this function)
alsamixer.c: 関数 `mixer_show_text' 内:
alsamixer.c:1208: error: `ACS_LRCORNER' undeclared (first use in this function)
alsamixer.c:1209: error: `ACS_LLCORNER' undeclared (first use in this function)
alsamixer.c:1210: error: `ACS_ULCORNER' undeclared (first use in this function)
alsamixer.c:1211: error: `ACS_URCORNER' undeclared (first use in this function)
alsamixer.c:1216: error: `ACS_VLINE' undeclared (first use in this function)
alsamixer.c:1218: error: `ACS_HLINE' undeclared (first use in this function)
alsamixer.c:1235: error: `ACS_CKBOARD' undeclared (first use in this function)
alsamixer.c:1236: error: `ACS_BLOCK' undeclared (first use in this function)
alsamixer.c:1237: error: `ACS_BOARD' undeclared (first use in this function)
alsamixer.c: 関数 `mixer_init_window' 内:
alsamixer.c:1586: 警告: 代入により、キャストなしで整数からポインタを作りました
alsamixer.c:1599: error: `TRUE' undeclared (first use in this function)
alsamixer.c: 関数 `mixer_resize' 内:
alsamixer.c:1636: error: `FALSE' undeclared (first use in this function)
alsamixer.c: 関数 `mixer_iteration' 内:
alsamixer.c:1766: error: `FALSE' undeclared (first use in this function)
alsamixer.c:1772: error: case label does not reduce to an integer constant
alsamixer.c:1777: error: case label does not reduce to an integer constant
alsamixer.c:1784: error: `TRUE' undeclared (first use in this function)
alsamixer.c:1795: error: `KEY_BTAB' undeclared (first use in this function)
alsamixer.c:1798: error: `KEY_A1' undeclared (first use in this function)
alsamixer.c:1802: error: `KEY_A3' undeclared (first use in this function)
alsamixer.c:1806: error: `KEY_C1' undeclared (first use in this function)
alsamixer.c:1810: error: `KEY_C3' undeclared (first use in this function)
alsamixer.c:1814: error: `KEY_RIGHT' undeclared (first use in this function)
alsamixer.c:1818: error: `KEY_LEFT' undeclared (first use in this function)
alsamixer.c:1822: error: `KEY_UP' undeclared (first use in this function)
alsamixer.c:1827: error: `KEY_DOWN' undeclared (first use in this function)
alsamixer.c:1832: error: `KEY_PPAGE' undeclared (first use in this function)
alsamixer.c:1837: error: `KEY_NPAGE' undeclared (first use in this function)
alsamixer.c:1841: error: `KEY_BEG' undeclared (first use in this function)
alsamixer.c:1842: error: `KEY_HOME' undeclared (first use in this function)
alsamixer.c:1845: error: `KEY_LL' undeclared (first use in this function)
alsamixer.c:1846: error: `KEY_END' undeclared (first use in this function)
alsamixer.c:1938: error: `KEY_IC' undeclared (first use in this function)
alsamixer.c:1943: error: `KEY_DC' undeclared (first use in this function)
make[1]: *** [alsamixer.o] エラー 1
make[1]: ディレクトリ `/root/rpm/SOURCES/alsa-utils-1.0.4/alsamixer' から出ます
make: *** [all-recursive] エラー 1


ちなみにkernelのversion関係の情報は次の通りです.

[root@localhost root]# uname -r
2.4.26-0vl15
[root@localhost root]# rpm -qa | grep kernel
kernel-headers-2.4.26-0vl15
kernel-pcmcia-cs-3.2.7-0vl3
kernel-2.4.26-0vl15
kernel-source-2.4.26-0vl15

	應矢保行