sndconfig 를 이용해서 사운드를 설정하려고 하는데, alsa드라이버를 다운받아서 설치하라고
하길래(VIA AC97 Codec) 이곳에있는 글들을 참고해서 설치하려고 하는데, alsa-lib를 configure해주
고 make install을 하면 다음과 같은에러가 발생합니다. control_hw.c: In function 'snd_ctl_hw_set_power_s
tate': control_hw.c:244: SNDRV_CTL_IOCTL_POWER' undeclared (first use in this function) control_hw.c:244: (Each undeclar
ed identifier is reported only once control_hw.c:244: for each function it appears in.)
control_hw.c: In function 'snd_ctl_hw_get_power_state':
control_hw.c:252: 'SNDRV_CTL_IOCTL_POWER_STATE' undeclared (first use in this function)
make[3]: *** [control_hw.lo]오류 1
make[3]:나감 '/usr/local/temp/alsa-lib-0.9.0beta9/src/control'디렉토리
make[2]:*** [control/libcontrol.al]오류 2
make[2]:나감 '/usr/local/temp/alsa-lib-0.9.0beta9/src'디렉토리
make[1]:*** [install-recursive]오류 1
make[1]:나감 '/usr/local/temp/alsa-lib-0.9.0beta9/src'디렉토리
make: *** [install-recursive]오류 1
언제쯤에나 음악을 들을수 있을지...
alsa-lib 의 빌드 에러는 커널 헤더 버전과 alsa 버전이 맞지 않을 때 자주 나옵니다. 현재 커널에 맞는 헤더를 쓰고, alsa-driver 와 alsa-lib 를 같은 시기의 버전으로 맞추세요. 에러가 난 함수 이름을 보면 헤더의 정의가 빠졌는지 알 수 있습니다.