alsa-lib설치하려는데 에러가 나요~

mwsung76의 이미지

한컴 리눅스 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

monpetit의 이미지

glibc의 런타임은 설치되어 있지만 glibc-devel 패키지가 설치되어 있지 않은 것 같네요. gcc 컴파일을 통해 설치하려면 glibc-devel이 필수적입니다.

mwsung76의 이미지

glibc-kernheaders와의 의존성 문제때문이었네요.
으~ 정말 리눅스 삽질은 msdos를 능가하는군요.

mwsung76의 이미지

rpm설치도 못하던 저에겐 정말 엄청난 작업이었습니다.

명령어 한번 실행시킬 때마다 에러와의 전쟁을 치뤘는데

아~ 이 맛에 리눅스 쓰나봅니다. -_-

댓글 달기

Filtered HTML

  • 텍스트에 BBCode 태그를 사용할 수 있습니다. URL은 자동으로 링크 됩니다.
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param><hr>
  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.

BBCode

  • 텍스트에 BBCode 태그를 사용할 수 있습니다. URL은 자동으로 링크 됩니다.
  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param>
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.

Textile

  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • You can use Textile markup to format text.
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param><hr>

Markdown

  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • Quick Tips:
    • Two or more spaces at a line's end = Line break
    • Double returns = Paragraph
    • *Single asterisks* or _single underscores_ = Emphasis
    • **Double** or __double__ = Strong
    • This is [a link](http://the.link.example.com "The optional title text")
    For complete details on the Markdown syntax, see the Markdown documentation and Markdown Extra documentation for tables, footnotes, and more.
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param><hr>

Plain text

  • HTML 태그를 사용할 수 없습니다.
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.
  • 줄과 단락은 자동으로 분리됩니다.
댓글 첨부 파일
이 댓글에 이미지나 파일을 업로드 합니다.
파일 크기는 8 MB보다 작아야 합니다.
허용할 파일 형식: txt pdf doc xls gif jpg jpeg mp3 png rar zip.
CAPTCHA
이것은 자동으로 스팸을 올리는 것을 막기 위해서 제공됩니다.