[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[debian-users:26531] ALSA driver compile (potato)
- From: Masahiro Yamada <masahiro_yamada@xxxxxxxxxxxxxxxxx>
- Subject: [debian-users:26531] ALSA driver compile (potato)
- Date: Tue, 23 Jan 2001 08:42:09 +0900
- Organization: BIGLOBE dial-up user
- X-biglobe-sender: <masahiro_yamada@xxxxxxxxxxxxxxxxx>
- X-face: 0NAM:44kfH;)Yo:f82Q%]h,^cx#9?CyvE]q]0YN$fXjVR3iTTn.|Ra/AJ^&`UmntzEl`4!l }R:1hd[+Yl=\x$BU,aqGy~67H4H21'w]d.@[ZF6S8DIr{l!8wmYV+Bl+aXEr|8^qhtZ6
- X-face-version: X-Face utility v1.3.6.8 - "Yellow Submarine (remix)" with Select X-Face v0.14 - "Keep Under Cover"
- X-ml-info: If you have a question, send e-mail with the body "help" (without quotes) to the address debian-users-ctl@debian.or.jp; help=<mailto:debian-users-ctl@debian.or.jp?body=help>
- X-ml-name: debian-users
- X-mlserver: fml [fml 3.0pl#17]; post only (only members can post)
- Message-id: <877l3nqhm9.fsf@xxxxxxxxxxxxxxxxx>
- X-mail-count: 26531
- User-agent: T-gnus/6.13.3 (based on Pterodactyl Gnus v0.98) EMIKO/1.13.9 (Euglena tripteris) FLIM/1.13.2 (Kasanui) APEL/10.2 Emacs/20.7 (i386-debian-linux-gnu) MULE/4.1 (AOI)
山田@debian2.2r2 です。
現在、ALSAを使おうと思い、ALSAのコンパイルを試みているのですが
コンパイルできずに困っています。
単純なミスだと思うのですが、何かアドバイス頂けると幸いです。
宜しくお願いします。
(1) 関連パッケージ
ii kernel-source- 2.2.18-1 Linux kernel source for version 2.2.18
ii alsa-base 0.4.1i-5 ALSA driver common files
ii alsa-headers 0.4.1i-5 ALSA driver header files
ii alsa-source 0.4.1i-5 ALSA driver source
ii alsaconf 0.4.2-3 ALSA configurator
ii alsautils 0.4.1-5 Advanced Linux Sound Architecture (utils)
ii libasound0.4 0.4.1e-2 Advanced Linux Sound Architecture (libraries
ii libasound0.4-d 0.4.1e-2 Advanced Linux Sound Architecture (developme
(2) sound関連カーネル設定 (以下のもの以外は `n')
CONFIG_SOUND=y
(3) コンパイル状況
# kernelと、pcmcia-moduleは、成功しており、
# MODULE_LOC='../modules' fakeroot make-kpkg
# --revision custom.1.0 kernel-image modules-image
# という具合に、一度に実施しても同じ所(alsa)でエラーとなります。
$ pwd
/home/yamada/src/kernel-source-2.2.18
$ MODULE_LOC='../modules' fakeroot make-kpkg --revision custom.1.0 kernel-image
:
$ MODULE_LOC='../modules' fakeroot make-kpkg modules-image
test -f stamp-debian || make -f /usr/share/kernel-package/rules debian
test -f .config || make -f /usr/share/kernel-package/rules .config
test ! -f stamp-configure \
&& make CROSS_COMPILE= \
ARCH=i386 oldconfig \
&& make CROSS_COMPILE= \
ARCH=i386 dep \
&& make CROSS_COMPILE= \
ARCH=i386 clean && \
touch stamp-configure
make: [stamp-configure] エラー 1 (無視されました)
for module in ../modules/* ; do \
if test -d $module; then \
(cd $module; \
if ./debian/rules KVERS="2.2.18" KSRC="/home/yamada/src/kernel-source-2.2.18" \
KMAINT="Unknown Kernel Package Maintainer" KEMAIL="unknown@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" \
KDREV="modena.20010123" kdist_image; then \
echo "Module $module processed fine"; \
else \
echo "Module $module failed."; \
echo "Hit return to Continue"; \
read ans; \
fi; \
); \
fi; \
done
make[1]: 入ります ディレクトリ `/home/yamada/src/modules/alsadriver'
if [ "`cat version`" != "`cat config`" ]; then \
make -w -f debian/rules MODDIR=/home/yamada/src/kernel-source-2.2.18/.. clean; \
make -w -f debian/rules KSRC=/home/yamada/src/kernel-source-2.2.18 config; \
fi
Will build only for modules, sorry.
make -w -f debian/rules MODDIR=/home/yamada/src/kernel-source-2.2.18/.. binary-modules
make[2]: 入ります ディレクトリ `/home/yamada/src/modules/alsadriver'
if [ "`cat version`" != "`cat config`" ]; then \
make -w -f debian/rules MODDIR=/home/yamada/src/kernel-source-2.2.18/.. clean; \
make -w -f debian/rules KSRC=/home/yamada/src/kernel-source-2.2.18 config; \
fi
make
make[3]: 入ります ディレクトリ `/home/yamada/src/modules/alsadriver'
make[4]: 入ります ディレクトリ `/home/yamada/src/modules/alsadriver/support'
gcc -DALSA_BUILD -O2 -m486 -malign-loops=2 -malign-jumps=2 -malign-functions=2 -DCPU=686 -DLINUX -Wall -Wstrict-prototypes -fomit-frame-pointer -pipe -I/home/yamada/src/kernel-source-2.2.18/include -I.. -DEXPORT_SYMTAB -c isapnp.c
isapnp.c: In function `isapnp_peek':
isapnp.c:280: warning: `d' might be used uninitialized in this function
isapnp.c: In function `isapnp_pci_init':
isapnp.c:2093: warning: `dev' might be used uninitialized in this function
ld -r -o ../modules/isapnp.o isapnp.o
make[4]: 出ます ディレクトリ `/home/yamada/src/modules/alsadriver/support'
make[4]: 入ります ディレクトリ `/home/yamada/src/modules/alsadriver/kernel'
gcc -DALSA_BUILD -O2 -m486 -malign-loops=2 -malign-jumps=2 -malign-functions=2 -DCPU=686 -DLINUX -Wall -Wstrict-prototypes -fomit-frame-pointer -pipe -I/home/yamada/src/kernel-source-2.2.18/include -I.. -DEXPORT_SYMTAB -c persist.c
In file included from persist.c:23:
../include/driver.h:143: warning: `init_MUTEX' redefined
/home/yamada/src/kernel-source-2.2.18/include/asm/semaphore.h:44: warning: this is the location of the previous definition
../include/driver.h:144: warning: `DECLARE_MUTEX' redefined
/home/yamada/src/kernel-source-2.2.18/include/asm/semaphore.h:46: warning: this is the location of the previous definition
../include/driver.h:147: warning: `init_waitqueue_head' redefined
/home/yamada/src/kernel-source-2.2.18/include/linux/wait.h:24: warning: this is the location of the previous definition
In file included from persist.c:23:
../include/driver.h:145: redefinition of `wait_queue_t'
/home/yamada/src/kernel-source-2.2.18/include/linux/wait.h:18: `wait_queue_t' previously declared here
../include/driver.h:146: redefinition of `wait_queue_head_t'
/home/yamada/src/kernel-source-2.2.18/include/linux/wait.h:19: `wait_queue_head_t' previously declared here
make[4]: *** [persist.o] エラー 1
make[4]: 出ます ディレクトリ `/home/yamada/src/modules/alsadriver/kernel'
make[3]: *** [compile] エラー 1
make[3]: 出ます ディレクトリ `/home/yamada/src/modules/alsadriver'
make[2]: *** [binary-modules] エラー 2
make[2]: 出ます ディレクトリ `/home/yamada/src/modules/alsadriver'
make[1]: *** [kdist_image] エラー 2
make[1]: 出ます ディレクトリ `/home/yamada/src/modules/alsadriver'
Module ../modules/alsadriver failed.
Hit return to Continue
--
Masahiro Yamada (山田昌弘)