LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 08-01-2003, 12:04 AM   #1
SnowSurfAir
Member
 
Registered: Mar 2003
Distribution: Redhat 9
Posts: 459

Rep: Reputation: 30
alsa??


I was tryin to install alsa V 0.9.6 for my on board Via8233 but when I did what the instructions said it did:

[root@XXXX alsa-driver-0.9.6]# ./configure --with-cards=via8
233 --with-sequencer=yes;make;make install
checking for gcc... gcc
checking for C compiler default output... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for executable suffix...
checking for object suffix... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for ranlib... ranlib
checking for a BSD compatible install... /usr/bin/install -c
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for gcc option to accept ANSI C... none needed
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking whether time.h and sys/time.h may both be included... yes
checking whether gcc needs -traditional... no
checking for current directory... /usr/src/alsa/alsa-driver-0.9.6
checking cross compile...
checking for directory with kernel source... /lib/modules/2.4.20-18
.9/build
checking for kernel version... 2.4.20-18.9
checking for GCC version... Kernel compiler: Used compiler: gcc (G
CC) 3.2.2 20030222 (Red Hat Linux 3.2.2-5)

*** NO PREDEFINED KERNEL COMPILER IS DETECTED
*** Assuming the same compiler is used with the current system comp
iler.

*** Please make sure that the same compiler version was used for bu
ilding kernel.

checking for kernel linux/compiler.h... "yes"
Removing a dummy linux/compiler.h.
checking for kernel linux/pm.h... "yes"
checking for kernel linux/spinlock.h... "yes"
checking for kernel linux/irq.h... "yes"
Removing a dummy linux/irq.h.
checking for kernel linux/threads.h... "yes"
Removing a dummy linux/threads.h.
checking for kernel linux/rwsem.h... "yes"
Removing a dummy linux/rwsem.h.
checking for kernel linux/gameport.h... "yes"
Removing a dummy linux/gameport.h.
checking for kernel linux/devfs_fs_kernel.h... "yes"
checking for kernel linux/highmem.h... "yes"
Removing a dummy linux/highmem.h.
checking for kernel linux/workqueue.h... "yes"
Removing a dummy linux/workqueue.h.
checking for redhat kernel... "yes"
It looks like you're using a RedHat 9 kernel.
Disabling their incomplete workqueue.h modification.
checking for kernel asm/hw_irq.h... "yes"
checking for kernel linux/jiffies.h... "no"
checking for kernel linux/compat.h... "no"
checking for kernel linux/adb.h... "yes"
Removing a dummy linux/adb.h.
checking for kernel linux/cuda.h... "yes"
Removing a dummy linux/cuda.h.
checking for kernel linux/pmu.h... "yes"
Removing a dummy linux/pmu.h.
checking for kernel module symbol versions... "yes"
checking for PCI support in kernel... "yes"
checking for SGI/MIPS (HAL2) architecture... "no"
checking for directory to store kernel modules... /lib/modules/2.4.
20-18.9/kernel/sound
checking for verbose printk... on
checking for debug level... none
checking for ISA support in kernel... "yes"
checking for processor type... i686
checking for SMP... "no"
checking for ISA PnP driver in kernel... yes
checking for PnP driver in kernel... no
checking for Kernel ISA-PnP support... "yes"
checking for strlcpy... "no"
checking for snprintf... "yes"
checking for vmalloc_to_page... "yes"
checking for old kmod... "yes"
Removing local linux/isapnp.h.
checking for driver version... 0.9.6
checking for sequencer support... yes
checking for OSS/Free emulation... yes
checking for RTC callback support in kernel... "no"
checking for USB support... "no"
checking for USB module support... "yes"
checking for kernel PCMCIA
checking for PCMCIA support... "no"
checking for PCMCIA module support... "yes"
checking for PC9800 support in kernel... "no"
checking for which soundcards to compile driver for... Unknown soun
dcard via8233, exiting!
make all-deps
make[1]: Entering directory `/usr/src/alsa/alsa-driver-0.9.6'
make[1]: Nothing to be done for `all-deps'.
make[1]: Leaving directory `/usr/src/alsa/alsa-driver-0.9.6'

Please, run the configure script as first...

rm -f /snd*.o /persist.o /isapnp.o
make[1]: Entering directory `/usr/src/alsa/alsa-driver-0.9.6/suppor
t'
Makefile:9: ../Makefile.conf: No such file or directory
Makefile:27: /Rules.make: No such file or directory
make[1]: *** No rule to make target `/Rules.make'. Stop.
make[1]: Leaving directory `/usr/src/alsa/alsa-driver-0.9.6/support
'
make: *** [install-modules] Error 1
[root@SnowSurfAir alsa-driver-0.9.6]# ./cvscompile "or" make build
--with-cards=via8233 --with-sequencer=yes;make;make install
make: Nothing to be done for `all-deps'.
./configure or make build --with-cards=via8233 --with-sequencer=yes
configure: WARNING: you should use --build, --host, --target
configure: WARNING: you should use --build, --host, --target
configure: WARNING: you should use --build, --host, --target
checking for or-gcc... no
checking for gcc... gcc
checking for C compiler default output... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking for or-ranlib... no
checking for ranlib... ranlib
checking for a BSD-compatible install... /usr/bin/install -c
checking how to run the C preprocessor... gcc -E
checking for egrep... grep -E
checking for ANSI C header files... yes
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking whether time.h and sys/time.h may both be included... yes
checking whether gcc needs -traditional... no
checking for current directory... /usr/src/alsa/alsa-driver-0.9.6
checking cross compile...
checking for directory with kernel source... /lib/modules/2.4.20-18.9/build
checking for kernel version... 2.4.20-18.9
checking for GCC version... Kernel compiler: Used compiler: gcc (GCC) 3.2.2 20030222 (Red Hat Linux 3.2.2-5)

*** NO PREDEFINED KERNEL COMPILER IS DETECTED
*** Assuming the same compiler is used with the current system compiler.

*** Please make sure that the same compiler version was used for building kernel.

checking for kernel linux/compiler.h... "yes"
checking for kernel linux/pm.h... "yes"
checking for kernel linux/spinlock.h... "yes"
checking for kernel linux/irq.h... "yes"
checking for kernel linux/threads.h... "yes"
checking for kernel linux/rwsem.h... "yes"
checking for kernel linux/gameport.h... "yes"
checking for kernel linux/devfs_fs_kernel.h... "yes"
checking for kernel linux/highmem.h... "yes"
checking for kernel linux/workqueue.h... "yes"
Removing a dummy linux/workqueue.h.
checking for redhat kernel... "yes"
It looks like you're using a RedHat 9 kernel.
Disabling their incomplete workqueue.h modification.
checking for kernel asm/hw_irq.h... "yes"
checking for kernel linux/jiffies.h... "no"
checking for kernel linux/compat.h... "no"
checking for kernel linux/adb.h... "yes"
checking for kernel linux/cuda.h... "yes"
checking for kernel linux/pmu.h... "yes"
checking for kernel module symbol versions... "yes"
checking for PCI support in kernel... "yes"
checking for SGI/MIPS (HAL2) architecture... "no"
checking for directory to store kernel modules... /lib/modules/2.4.20-18.9/kernel/sound
checking for verbose printk... on
checking for debug level... none
checking for ISA support in kernel... "yes"
checking for processor type... i686
checking for SMP... "no"
checking for ISA PnP driver in kernel... yes
checking for PnP driver in kernel... no
checking for Kernel ISA-PnP support... "yes"
checking for strlcpy... "no"
checking for snprintf... "yes"
checking for vmalloc_to_page... "yes"
checking for old kmod... "yes"
checking for driver version... 0.9.6
checking for sequencer support... yes
checking for OSS/Free emulation... yes
checking for RTC callback support in kernel... "no"
checking for USB support... "no"
checking for USB module support... "yes"
checking for kernel PCMCIA
checking for PCMCIA support... "no"
checking for PCMCIA module support... "yes"
checking for PC9800 support in kernel... "no"
checking for which soundcards to compile driver for... Unknown soundcard via8233, exiting!
make all-deps
make[1]: Entering directory `/usr/src/alsa/alsa-driver-0.9.6'
make[1]: Nothing to be done for `all-deps'.
make[1]: Leaving directory `/usr/src/alsa/alsa-driver-0.9.6'

Please, run the configure script as first...

rm -f /snd*.o /persist.o /isapnp.o
make[1]: Entering directory `/usr/src/alsa/alsa-driver-0.9.6/support'
Makefile:9: ../Makefile.conf: No such file or directory
Makefile:27: /Rules.make: No such file or directory
make[1]: *** No rule to make target `/Rules.make'. Stop.
make[1]: Leaving directory `/usr/src/alsa/alsa-driver-0.9.6/support'
make: *** [install-modules] Error 1
[
thats alot but I didnt know what else to show u that first shell is what I typed

Thanks

Last edited by SnowSurfAir; 08-09-2003 at 10:09 PM.
 
Old 08-01-2003, 04:44 AM   #2
Electro
LQ Guru
 
Registered: Jan 2002
Posts: 6,042

Rep: Reputation: Disabled
Try
./configure --with-cards=via82xx --with-sequencer=yes

OR

./configure --with-cards=snd-via8233 --with-sequencer=yes

OR

./configure --with-cards=snd-via82xx --with-sequencer=yes


The second thing that it is complaining is it can not find the config file. Use && instead of ;. What && will do is, it will do the first and if that finishes ok. Then it will do the second and so on.
 
Old 08-01-2003, 01:23 PM   #3
SnowSurfAir
Member
 
Registered: Mar 2003
Distribution: Redhat 9
Posts: 459

Original Poster
Rep: Reputation: 30
this time it said:
Code:
./configure --with-cards=via8233 --with-se
quencer=yes
checking for gcc... gcc
checking for C compiler default output... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking for ranlib... ranlib
checking for a BSD-compatible install... /usr/bin/install -c
checking how to run the C preprocessor... gcc -E
checking for egrep... grep -E
checking for ANSI C header files... yes
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking whether time.h and sys/time.h may both be included... yes
checking whether gcc needs -traditional... no
checking for current directory... /usr/src/alsa/alsa-driver-0.9.6
checking cross compile...
checking for directory with kernel source... /lib/modules/2.4.20-18.9/build
checking for kernel version... 2.4.20-18.9
checking for GCC version... Kernel compiler:  Used compiler: gcc (GCC) 3.2.2 200
30222 (Red Hat Linux 3.2.2-5)

*** NO PREDEFINED KERNEL COMPILER IS DETECTED
*** Assuming the same compiler is used with the current system compiler.

*** Please make sure that the same compiler version was used for building kernel
.

checking for kernel linux/compiler.h... "yes"
checking for kernel linux/pm.h... "yes"
checking for kernel linux/spinlock.h... "yes"
checking for kernel linux/irq.h... "yes"
checking for kernel linux/threads.h... "yes"
checking for kernel linux/rwsem.h... "yes"
checking for kernel linux/gameport.h... "yes"
checking for kernel linux/devfs_fs_kernel.h... "yes"
checking for kernel linux/highmem.h... "yes"
checking for kernel linux/workqueue.h... "yes"
Removing a dummy linux/workqueue.h.
checking for redhat kernel... "yes"
It looks like you're using a RedHat 9 kernel.
Disabling their incomplete workqueue.h modification.
checking for kernel asm/hw_irq.h... "yes"
checking for kernel linux/jiffies.h... "no"
checking for kernel linux/compat.h... "no"
checking for kernel linux/adb.h... "yes"
checking for kernel linux/cuda.h... "yes"
checking for kernel linux/pmu.h... "yes"
checking for kernel module symbol versions... "yes"
checking for PCI support in kernel... "yes"
checking for SGI/MIPS (HAL2) architecture... "no"
checking for directory to store kernel modules... /lib/modules/2.4.20-18.9/kerne
l/sound
checking for verbose printk... on
checking for debug level... none
checking for ISA support in kernel... "yes"
checking for processor type... i686
checking for SMP... "no"
checking for ISA PnP driver in kernel... yes
checking for PnP driver in kernel... no
checking for Kernel ISA-PnP support... "yes"
checking for strlcpy... "no"
checking for snprintf... "yes"
checking for vmalloc_to_page... "yes"
checking for old kmod... "yes"
checking for driver version... 0.9.6
checking for sequencer support... yes
checking for OSS/Free emulation... yes
checking for RTC callback support in kernel... "no"
checking for USB support... "no"
checking for USB module support... "yes"
checking for kernel PCMCIA
checking for PCMCIA support... "no"
checking for PCMCIA module support... "yes"
checking for PC9800 support in kernel... "no"
checking for which soundcards to compile driver for... Unknown soundcard via8233
, exiting!
it said that everytime except Unknown soundcard snd-via8233, exiting!

and what did u mean by the second thing?
 
Old 08-01-2003, 01:35 PM   #4
jbanafato
Newbie
 
Registered: Mar 2002
Posts: 28

Rep: Reputation: 15
Run this command verbatim:

./configure --with-cards=via82xx --with-sequencer=yes

The xx does not mean put in your specific model number. The driver is actually called via82xx.
 
Old 08-01-2003, 03:00 PM   #5
SnowSurfAir
Member
 
Registered: Mar 2003
Distribution: Redhat 9
Posts: 459

Original Poster
Rep: Reputation: 30
well It didnt give me an error but how do I tell if it is installed?
 
Old 08-01-2003, 03:37 PM   #6
Electro
LQ Guru
 
Registered: Jan 2002
Posts: 6,042

Rep: Reputation: Disabled
The next step is putting a few lines in your module configuration file. Its usually located in /etc.

You may want to compile the libraries and utilities packages too.

Read the instructions at ALSA site for your sound device.
 
Old 08-01-2003, 08:00 PM   #7
SnowSurfAir
Member
 
Registered: Mar 2003
Distribution: Redhat 9
Posts: 459

Original Poster
Rep: Reputation: 30
well the guide said this;

Now adjust your soundcards volume levels. All mixer channels are muted by default. You must use a native mixer program to unmute appropriate channels, for example alsamixer from the alsa-utils package. Note that some usb-audio devices do not have internal mixer controls.



alsamixer

but when I typed alsamixer it said command not found. is there ne other way to do this?

Last edited by SnowSurfAir; 08-09-2003 at 10:08 PM.
 
Old 08-01-2003, 10:50 PM   #8
contrasutra
LQ Guru
 
Registered: Mar 2003
Location: New Jersey
Distribution: Arch Linux
Posts: 1,445

Rep: Reputation: 47
You need to be root.
 
Old 08-02-2003, 12:33 AM   #9
SnowSurfAir
Member
 
Registered: Mar 2003
Distribution: Redhat 9
Posts: 459

Original Poster
Rep: Reputation: 30
I su'ed it in a terminal
 
Old 08-02-2003, 12:06 PM   #10
Alf829
Member
 
Registered: Jul 2003
Distribution: Fedora Core 2 & 5
Posts: 110

Rep: Reputation: 15
Hi SnowSurfAir,

Did you install the alsa-utils-0.9.6 package? This contains the alsamixer program.

Hope this helps.

Cheers,
alf829
 
Old 08-02-2003, 03:27 PM   #11
SnowSurfAir
Member
 
Registered: Mar 2003
Distribution: Redhat 9
Posts: 459

Original Poster
Rep: Reputation: 30
what else does the pkg install?
 
Old 08-02-2003, 03:49 PM   #12
SnowSurfAir
Member
 
Registered: Mar 2003
Distribution: Redhat 9
Posts: 459

Original Poster
Rep: Reputation: 30
nvm but when I did ./configure it said:
Code:
./configure
checking for a BSD compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for mawk... no
checking for gawk... gawk
checking whether make sets ${MAKE}... yes
checking for gcc... gcc
checking for C compiler default output... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for executable suffix...
checking for object suffix... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking for a BSD compatible install... /usr/bin/install -c
checking whether ln -s works... yes
checking for ALSA CFLAGS...
checking for ALSA LDFLAGS...  -lasound -lm -ldl -lpthread
checking for libasound headers version >= 0.9.0... not present.
configure: error: Sufficiently new version of libasound not found.
What is libasound? and where can I get the latest version?
 
Old 08-06-2003, 07:53 AM   #13
Alf829
Member
 
Registered: Jul 2003
Distribution: Fedora Core 2 & 5
Posts: 110

Rep: Reputation: 15
Hi SnowSurfAir,

Did you also install the alsa-lib-0.9.6 package before trying to install the utils? You need the library files as well.

Cheers,
alf829
 
Old 08-06-2003, 12:51 PM   #14
SnowSurfAir
Member
 
Registered: Mar 2003
Distribution: Redhat 9
Posts: 459

Original Poster
Rep: Reputation: 30
letme try that
 
Old 08-09-2003, 10:11 PM   #15
SnowSurfAir
Member
 
Registered: Mar 2003
Distribution: Redhat 9
Posts: 459

Original Poster
Rep: Reputation: 30
k I was tryin t orun modprobe snd-82xx but it saie
Code:
modprobe snd-82xx
modprobe: Can't locate module snd-82xx
What could the problem be?
 
  


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
kernel-2.6.3 compiled with alsa but xmms alsa output dont plays demmylls Linux - General 3 09-01-2006 04:32 AM
Alsa sound *jumpy*: alsa-space: xrun of at least 11.449 msecs. resetting stream qwijibow Linux - General 6 04-22-2006 07:35 PM
ALSA-oss compatability works, but not programs intended for alsa ? qwijibow Linux - Software 5 03-14-2004 07:28 AM
ALSA on Debian, Kernel Source is There Alsa dosent see it? pfizur Linux - Software 3 12-27-2003 08:46 AM
2.6.0 minus built-in ALSA drivers + ALSA 1.0.0rc2 Tino27 Slackware 3 12-19-2003 05:13 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 01:32 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