alsa-lib설치하려는데 에러가 나요~
한컴 리눅스 3.1쓰고 있는 왕초보입니다.
ad1980내장 사운드칩이거든요.
이거때문에 3일째 silent system으로 구동중입니다. ㅜ.ㅜ
아래는 에러를 캡쳐해봤습니다.
[root@localhost alsa-lib-0.9.6]# make
Making all in doc
make[1]: 들어감 `/usr/src/alsa-lib-0.9.6/doc' 디렉토리
Making all in pictures
make[2]: 들어감 `/usr/src/alsa-lib-0.9.6/doc/pictures' 디렉토리
make[2]: Nothing to be done for `all'.
make[2]: 나감 `/usr/src/alsa-lib-0.9.6/doc/pictures' 디렉토리
make[2]: 들어감 `/usr/src/alsa-lib-0.9.6/doc' 디렉토리
make[2]: Nothing to be done for `all-am'.
make[2]: 나감 `/usr/src/alsa-lib-0.9.6/doc' 디렉토리
make[1]: 나감 `/usr/src/alsa-lib-0.9.6/doc' 디렉토리
Making all in include
make[1]: 들어감 `/usr/src/alsa-lib-0.9.6/include' 디렉토리
make all-recursive
make[2]: 들어감 `/usr/src/alsa-lib-0.9.6/include' 디렉토리
Making all in sound
make[3]: 들어감 `/usr/src/alsa-lib-0.9.6/include/sound' 디렉토리
make[3]: Nothing to be done for `all'.
make[3]: 나감 `/usr/src/alsa-lib-0.9.6/include/sound' 디렉토리
make[3]: 들어감 `/usr/src/alsa-lib-0.9.6/include' 디렉토리
make[3]: 나감 `/usr/src/alsa-lib-0.9.6/include' 디렉토리
make[2]: 나감 `/usr/src/alsa-lib-0.9.6/include' 디렉토리
make[1]: 나감 `/usr/src/alsa-lib-0.9.6/include' 디렉토리
Making all in src
make[1]: 들어감 `/usr/src/alsa-lib-0.9.6/src' 디렉토리
Making all in control
make[2]: 들어감 `/usr/src/alsa-lib-0.9.6/src/control' 디렉토리
source='cards.c' object='cards.lo' libtool=yes \
depfile='.deps/cards.Plo' tmpdepfile='.deps/cards.TPlo' \
depmode=gcc3 /bin/sh ../../depcomp \
/bin/sh ../../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../../include
-I../../include -g -O2 -c -o cards.lo `test -f cards.c || echo './'`cards.c
gcc -DHAVE_CONFIG_H -I. -I. -I../../include -I../../include -g -O2 -c cards.c -M
T cards.lo -MD -MP -MF .deps/cards.TPlo -fPIC -DPIC -o cards.lo
In file included from /usr/include/sys/ioctl.h:27,
from cards.c:34:
/usr/include/bits/ioctls.h:24:24: asm/ioctls.h: No such file or directory
In file included from /usr/include/sys/ioctl.h:30,
from cards.c:34:
/usr/include/bits/ioctl-types.h:25:24: asm/ioctls.h: No such file or directory
In file included from /usr/include/errno.h:36,
from ../../include/local.h:34,
from control_local.h:22,
from cards.c:35:
/usr/include/bits/errno.h:25:26: linux/errno.h: No such file or directory
In file included from ../../include/local.h:94,
from control_local.h:22,
from cards.c:35:
../../include/sound/asound.h:28:25: linux/ioctl.h: No such file or directory
In file included from ../../include/local.h:94,
from control_local.h:22,
from cards.c:35:
../../include/sound/asound.h:142: parse error before "int"
../../include/sound/asound.h:143: parse error before "struct"
../../include/sound/asound.h:144: parse error before "struct"
../../include/sound/asound.h:145: parse error before "struct"
../../include/sound/asound.h:440: parse error before "int"
../../include/sound/asound.h:441: parse error before "struct"
../../include/sound/asound.h:442: parse error before "int"
../../include/sound/asound.h:443: parse error before "struct"
../../include/sound/asound.h:444: parse error before "struct"
../../include/sound/asound.h:445: enumerator value for `SNDRV_PCM_IOCTL_HW_FREE'
not integer constant
../../include/sound/asound.h:446: parse error before "struct"
../../include/sound/asound.h:447: parse error before "struct"
../../include/sound/asound.h:448: parse error before "sndrv_pcm_sframes_t"
../../include/sound/asound.h:449: enumerator value for `SNDRV_PCM_IOCTL_HWSYNC'
not integer constant
../../include/sound/asound.h:450: parse error before "struct"
../../include/sound/asound.h:451: enumerator value for `SNDRV_PCM_IOCTL_PREPARE'
not integer constant
../../include/sound/asound.h:452: enumerator value for `SNDRV_PCM_IOCTL_RESET' n
ot integer constant
../../include/sound/asound.h:453: enumerator value for `SNDRV_PCM_IOCTL_START' n
ot integer constant
../../include/sound/asound.h:454: enumerator value for `SNDRV_PCM_IOCTL_DROP' no
t integer constant
../../include/sound/asound.h:455: enumerator value for `SNDRV_PCM_IOCTL_DRAIN' n
ot integer constant
../../include/sound/asound.h:456: parse error before "int"
../../include/sound/asound.h:457: parse error before "sndrv_pcm_uframes_t"
../../include/sound/asound.h:458: enumerator value for `SNDRV_PCM_IOCTL_RESUME'
not integer constant
../../include/sound/asound.h:459: enumerator value for `SNDRV_PCM_IOCTL_XRUN' no
t integer constant
../../include/sound/asound.h:460: parse error before "sndrv_pcm_uframes_t"
../../include/sound/asound.h:461: parse error before "struct"
../../include/sound/asound.h:462: parse error before "struct"
../../include/sound/asound.h:463: parse error before "struct"
../../include/sound/asound.h:464: parse error before "struct"
../../include/sound/asound.h:465: parse error before "int"
../../include/sound/asound.h:466: enumerator value for `SNDRV_PCM_IOCTL_UNLINK'
not integer constant
../../include/sound/asound.h:525: parse error before "int"
../../include/sound/asound.h:526: parse error before "struct"
../../include/sound/asound.h:527: parse error before "struct"
../../include/sound/asound.h:528: parse error before "struct"
../../include/sound/asound.h:529: parse error before "int"
../../include/sound/asound.h:530: parse error before "int"
../../include/sound/asound.h:638: parse error before "int"
../../include/sound/asound.h:639: parse error before "struct"
../../include/sound/asound.h:640: parse error before "int"
../../include/sound/asound.h:641: parse error before "struct"
../../include/sound/asound.h:642: parse error before "struct"
../../include/sound/asound.h:643: parse error before "struct"
../../include/sound/asound.h:644: parse error before "struct"
../../include/sound/asound.h:645: parse error before "struct"
../../include/sound/asound.h:646: parse error before "struct"
../../include/sound/asound.h:647: parse error before "struct"
../../include/sound/asound.h:648: enumerator value for `SNDRV_TIMER_IOCTL_START'
not integer constant
../../include/sound/asound.h:649: enumerator value for `SNDRV_TIMER_IOCTL_STOP'
not integer constant
../../include/sound/asound.h:650: enumerator value for `SNDRV_TIMER_IOCTL_CONTIN
UE' not integer constant
../../include/sound/asound.h:651: enumerator value for `SNDRV_TIMER_IOCTL_PAUSE'
not integer constant
../../include/sound/asound.h:817: parse error before "int"
../../include/sound/asound.h:818: parse error before "struct"
../../include/sound/asound.h:819: parse error before "struct"
../../include/sound/asound.h:820: parse error before "struct"
../../include/sound/asound.h:821: parse error before "struct"
../../include/sound/asound.h:822: parse error before "struct"
../../include/sound/asound.h:823: parse error before "struct"
../../include/sound/asound.h:824: parse error before "struct"
../../include/sound/asound.h:825: parse error before "int"
../../include/sound/asound.h:826: parse error before "int"
../../include/sound/asound.h:827: parse error before "struct"
../../include/sound/asound.h:828: parse error before "int"
../../include/sound/asound.h:829: parse error before "struct"
../../include/sound/asound.h:830: parse error before "int"
../../include/sound/asound.h:831: parse error before "int"
../../include/sound/asound.h:832: parse error before "struct"
../../include/sound/asound.h:833: parse error before "int"
../../include/sound/asound.h:834: parse error before "int"
../../include/sound/asound.h:835: parse error before "int"
../../include/sound/asound.h:891: parse error before "struct"
../../include/sound/asound.h:892: parse error before "struct"
In file included from ../../include/local.h:96,
from control_local.h:22,
from cards.c:35:
../../include/sound/asequencer.h:26:25: linux/ioctl.h: No such file or directory
cards.c: In function `snd_card_next':
cards.c:81: `EINVAL' undeclared (first use in this function)
cards.c:81: (Each undeclared identifier is reported only once
cards.c:81: for each function it appears in.)
cards.c: In function `snd_card_get_index':
cards.c:109: `EINVAL' undeclared (first use in this function)
cards.c:132: `ENODEV' undeclared (first use in this function)
cards.c: In function `snd
glibc의 런타임은 설치되어 있지만 glibc-devel 패키지가 설치
glibc의 런타임은 설치되어 있지만 glibc-devel 패키지가 설치되어 있지 않은 것 같네요. gcc 컴파일을 통해 설치하려면 glibc-devel이 필수적입니다.
-----
http://monpetit.posterous.com/
http://monpetit.tistory.com/
설치되있는데요~
glibc-kernheaders와의 의존성 문제때문이었네요.
으~ 정말 리눅스 삽질은 msdos를 능가하는군요.
아~~ 드뎌 소리가 나오네요~ㅜ.ㅜ
rpm설치도 못하던 저에겐 정말 엄청난 작업이었습니다.
명령어 한번 실행시킬 때마다 에러와의 전쟁을 치뤘는데
아~ 이 맛에 리눅스 쓰나봅니다. -_-
댓글 달기