LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat
User Name
Password
Red Hat This forum is for the discussion of Red Hat Linux.

Notices


Reply
  Search this Thread
Old 04-20-2004, 07:31 PM   #1
prem0
LQ Newbie
 
Registered: Apr 2004
Posts: 2

Rep: Reputation: 0
compilation error with alsa-lib package


Hello all,

I have been trying to get the sound to work on my machine for some time now.
My computer has an Intel Corp. 82801EB AC'97 Audio Controller. I have
Fedora Core installed on my computer and my kernel version is 2.4.22-1.2115.

I downloaded the alsa-driver, alsa-lib, alsa-utils, alsa-driver packages. The
installation went well until I came to installing the alsa-lib package. During
make I get the following error :

Making all in include
make[1]: Entering directory `/usr/src/alsa-utils-1.0.4/include'
make all-am
make[2]: Entering directory `/usr/src/alsa-utils-1.0.4/include'
make[2]: Leaving directory `/usr/src/alsa-utils-1.0.4/include'
make[1]: Leaving directory `/usr/src/alsa-utils-1.0.4/include'
Making all in alsactl
make[1]: Entering directory `/usr/src/alsa-utils-1.0.4/alsactl'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/usr/src/alsa-utils-1.0.4/alsactl'
Making all in alsaconf
make[1]: Entering directory `/usr/src/alsa-utils-1.0.4/alsaconf'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/usr/src/alsa-utils-1.0.4/alsaconf'
Making all in alsamixer
make[1]: Entering directory `/usr/src/alsa-utils-1.0.4/alsamixer'
if gcc32 -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: No such file or directory
alsamixer.c:176: syntax error before '*' token
alsamixer.c:176: warning: data definition has no type or storage class
alsamixer.c: In function `mixer_init_draw_contexts':
alsamixer.c:328: `COLOR_WHITE' undeclared (first use in this function)
alsamixer.c:328: (Each undeclared identifier is reported only once
alsamixer.c:328: for each function it appears in.)
alsamixer.c:328: `A_BOLD' undeclared (first use in this function)
alsamixer.c:328: `COLOR_BLACK' undeclared (first use in this function)
alsamixer.c:328: `A_NORMAL' undeclared (first use in this function)
alsamixer.c:329: `COLOR_YELLOW' undeclared (first use in this function)
alsamixer.c:330: `COLOR_CYAN' undeclared (first use in this function)
alsamixer.c:332: `ACS_HLINE' undeclared (first use in this function)
alsamixer.c:333: `COLOR_RED' undeclared (first use in this function)
alsamixer.c:335: `A_DIM' undeclared (first use in this function)
alsamixer.c:336: `COLOR_BLUE' undeclared (first use in this function)
alsamixer.c:336: `A_REVERSE' undeclared (first use in this function)
alsamixer.c:339: `ACS_CKBOARD' undeclared (first use in this function)
alsamixer.c:340: `COLOR_GREEN' undeclared (first use in this function)
alsamixer.c: In function `mixer_clear':
alsamixer.c:379: `TRUE' undeclared (first use in this function)
alsamixer.c: In function `mixer_abort':
alsamixer.c:396: `TRUE' undeclared (first use in this function)
alsamixer.c:398: `FALSE' undeclared (first use in this function)
alsamixer.c: In function `mixer_cbar_get_pos':
alsamixer.c:448: `FALSE' undeclared (first use in this function)
alsamixer.c:466: `TRUE' undeclared (first use in this function)
alsamixer.c: In function `mixer_update_cbar':
alsamixer.c:859: `ACS_LLCORNER' undeclared (first use in this function)
alsamixer.c:860: `ACS_HLINE' undeclared (first use in this function)
alsamixer.c:862: `ACS_LRCORNER' undeclared (first use in this function)
alsamixer.c:867: `ACS_VLINE' undeclared (first use in this function)
alsamixer.c:891: `ACS_ULCORNER' undeclared (first use in this function)
alsamixer.c:901: `ACS_URCORNER' undeclared (first use in this function)
alsamixer.c: In function `mixer_draw_frame':
alsamixer.c:1022: `ACS_VLINE' undeclared (first use in this function)
alsamixer.c:1027: `ACS_HLINE' undeclared (first use in this function)
alsamixer.c:1034: `ACS_ULCORNER' undeclared (first use in this function)
alsamixer.c:1035: `ACS_URCORNER' undeclared (first use in this function)
alsamixer.c:1036: `ACS_LLCORNER' undeclared (first use in this function)
alsamixer.c:1038: `ACS_LRCORNER' undeclared (first use in this function)
alsamixer.c: In function `mixer_show_text':
alsamixer.c:1208: `ACS_LRCORNER' undeclared (first use in this function)
alsamixer.c:1209: `ACS_LLCORNER' undeclared (first use in this function)
alsamixer.c:1210: `ACS_ULCORNER' undeclared (first use in this function)
alsamixer.c:1211: `ACS_URCORNER' undeclared (first use in this function)
alsamixer.c:1216: `ACS_VLINE' undeclared (first use in this function)
alsamixer.c:1218: `ACS_HLINE' undeclared (first use in this function)
alsamixer.c:1235: `ACS_CKBOARD' undeclared (first use in this function)
alsamixer.c:1236: `ACS_BLOCK' undeclared (first use in this function)
alsamixer.c:1237: `ACS_BOARD' undeclared (first use in this function)
alsamixer.c: In function `mixer_init_window':
alsamixer.c:1586: warning: assignment makes pointer from integer without a castalsamixer.c:1599: `TRUE' undeclared (first use in this function)
alsamixer.c: In function `mixer_resize':
alsamixer.c:1636: `FALSE' undeclared (first use in this function)
alsamixer.c: In function `mixer_iteration':
alsamixer.c:1766: `FALSE' undeclared (first use in this function)
alsamixer.c:1772: case label does not reduce to an integer constant
alsamixer.c:1777: case label does not reduce to an integer constant
alsamixer.c:1784: `TRUE' undeclared (first use in this function)
alsamixer.c:1795: `KEY_BTAB' undeclared (first use in this function)
alsamixer.c:1798: `KEY_A1' undeclared (first use in this function)
alsamixer.c:1802: `KEY_A3' undeclared (first use in this function)
alsamixer.c:1806: `KEY_C1' undeclared (first use in this function)
alsamixer.c:1810: `KEY_C3' undeclared (first use in this function)
alsamixer.c:1814: `KEY_RIGHT' undeclared (first use in this function)
alsamixer.c:1818: `KEY_LEFT' undeclared (first use in this function)
alsamixer.c:1822: `KEY_UP' undeclared (first use in this function)
alsamixer.c:1827: `KEY_DOWN' undeclared (first use in this function)
alsamixer.c:1832: `KEY_PPAGE' undeclared (first use in this function)
alsamixer.c:1837: `KEY_NPAGE' undeclared (first use in this function)
alsamixer.c:1841: `KEY_BEG' undeclared (first use in this function)
alsamixer.c:1842: `KEY_HOME' undeclared (first use in this function)
alsamixer.c:1845: `KEY_LL' undeclared (first use in this function)
alsamixer.c:1846: `KEY_END' undeclared (first use in this function)
alsamixer.c:1938: `KEY_IC' undeclared (first use in this function)
alsamixer.c:1943: `KEY_DC' undeclared (first use in this function)
make[1]: *** [alsamixer.o] Error 1
make[1]: Leaving directory `/usr/src/alsa-utils-1.0.4/alsamixer'
make: *** [all-recursive] Error 1

I have no idea what this. Please help.

The alsa driver seems to be installed though. This is what I get as
output for

[root@localhost alsa-utils-1.0.4]# lsmod | grep snd
snd-pcm-oss 44964 0 (autoclean)
snd-mixer-oss 16728 1 (autoclean) [snd-pcm-oss]
snd-intel8x0 24840 1 (autoclean)
snd-ac97-codec 60092 0 (autoclean) [snd-intel8x0]
snd-pcm 84352 0 (autoclean) [snd-pcm-oss snd-intel8x0]
snd-timer 19812 0 (autoclean) [snd-pcm]
snd-page-alloc 9332 0 (autoclean) [snd-intel8x0 snd-pcm]
gameport 3380 0 (autoclean) [snd-intel8x0]
snd-mpu401-uart 5376 0 (autoclean) [snd-intel8x0]
snd-rawmidi 18752 0 (autoclean) [snd-mpu401-uart]
snd-seq-device 6220 0 (autoclean) [snd-rawmidi]
snd 46212 0 (autoclean) [snd-pcm-oss snd-mixer-oss snd-intel8x0 snd-ac97-codec snd-pcm snd-timer snd-mpu401-uart snd-rawmidi snd-seq-device]
soundcore 6468 4 (autoclean) [snd]

I am using the snd-intel8x0 driver.

 
Old 04-20-2004, 08:49 PM   #2
njbrain
Member
 
Registered: Jan 2004
Location: Rhinelander, WI, U.S.
Distribution: Slackware
Posts: 416

Rep: Reputation: 30
You might just be able to use another mixer such as "aumix" or "kmix".
NOah
 
Old 12-09-2004, 03:40 PM   #3
flobadon
LQ Newbie
 
Registered: Oct 2004
Location: Davenport, IA
Distribution: Gentoo 2005.1
Posts: 5

Rep: Reputation: 0
Luckily, it's pretty easy to fix this:

# yum install ncurses-devel

now you can install alsa-libs.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
alsa-utils conflicts with alsa-lib sloik2000 Linux - Software 0 07-09-2005 08:50 AM
which lib is in which package ? boemitsu Slackware 5 12-21-2004 06:00 PM
alsa driver compilation error darkleaf Linux - Software 4 07-08-2004 12:45 PM
system hangs up during compilation of xine-lib-1-rc0a Amos Ku Linux - Software 0 09-14-2003 04:26 AM
emerge alsa error during compilation, emu1Ok1 kalimdor Linux - Software 4 07-30-2003 07:22 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat

All times are GMT -5. The time now is 04:27 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration