LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva
User Name
Password
Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux.

Notices


Reply
  Search this Thread
Old 05-28-2005, 05:11 PM   #1
linuxmandrake
Member
 
Registered: Sep 2004
Distribution: debian sarge 64bit (AMD)
Posts: 709

Rep: Reputation: 30
stupid alsa not working on mandrake 10.1


am absolutly pissed off with fucking linux

make[1]: Leaving directory `/home/steven/downloads/sound/utils/alsactl'
Making all in alsaconf
make[1]: Entering directory `/home/steven/downloads/sound/utils/alsaconf'
Making all in po
make[2]: Entering directory `/home/steven/downloads/sound/utils/alsaconf/po'
mv: cannot stat `t-ja.gmo': No such file or directory
make[2]: *** [ja.gmo] Error 1
make[2]: Leaving directory `/home/steven/downloads/sound/utils/alsaconf/po'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/steven/downloads/sound/utils/alsaconf'
make: *** [all-recursive] Error 1
[root@localhost utils]#

this stupid error keeps comming up with every single version of alsa GRRRRRRR
 
Old 05-28-2005, 05:56 PM   #2
marghorp
Senior Member
 
Registered: Jan 2004
Location: Slovenia
Distribution: Slackware 10.1, SLAX to the MAX :)
Posts: 1,040

Rep: Reputation: 45
First of all calm down and think of why you want to use linux. When you will figure that out, you will be ready for the solution. you are installing ALSA, why? Isn't it installed in mandy already?

Try telling us what are you trying to do and why. It would help us to help you.

Reading the ALSA README file that comes with the installation, might help.

Also try posting the whole output, so we can see what the error is. And also what you typed in order to compile the source code.

Last edited by marghorp; 05-28-2005 at 05:58 PM.
 
Old 05-28-2005, 05:59 PM   #3
linuxmandrake
Member
 
Registered: Sep 2004
Distribution: debian sarge 64bit (AMD)
Posts: 709

Original Poster
Rep: Reputation: 30
well am using linux cos it's more secure. I hate microsoft with every new realse of their software they manage to find a new way to annoy me. And windows has a trillion viruses, hacker attacks etc etc. I want to get my soud blaster live 24bit 7.1 to work. mandrake wont detect it
 
Old 05-28-2005, 06:21 PM   #4
samael26
Member
 
Registered: Oct 2004
Location: France, Provence
Distribution: Debian
Posts: 848

Rep: Reputation: 30
Seems the previous poster was right, ALSA is intalled by default in Mandrake.
Now it seems you tried to install other versions, and install them with the usual
./ configure, make ..and so on. It's better to install using RPMs, you would not have
these problems.

Did you check whether your card really isn't supported on http://www.alsa-project.org/ ? See Soundcard List, top left.
If it is not, perhaps you should try OSS.

To install much more easily, use URPMI, set up your sources there : http://easyurpmi.zarb.org/
Everything is explained.
Cheers

Last edited by samael26; 05-28-2005 at 06:23 PM.
 
Old 05-29-2005, 12:08 AM   #5
linuxmandrake
Member
 
Registered: Sep 2004
Distribution: debian sarge 64bit (AMD)
Posts: 709

Original Poster
Rep: Reputation: 30
it is supported. what i dont get is why mandrake is detecting it as an ?SB Audigy LS when it's an live 25 bit. and i cant find any rpms

root@localhost utils]# make
Making all in include
make[1]: Entering directory `/home/steven/drivers/utils/include'
make all-am
make[2]: Entering directory `/home/steven/drivers/utils/include'
make[2]: Leaving directory `/home/steven/drivers/utils/include'
make[1]: Leaving directory `/home/steven/drivers/utils/include'
Making all in alsactl
make[1]: Entering directory `/home/steven/drivers/utils/alsactl'
gcc -g -O2 -o alsactl alsactl.o -lasound -lm -ldl -lpthread
alsactl.o(.text+0x551): In function `get_control':
/home/steven/drivers/utils/alsactl/alsactl.c:221: undefined reference to `snd_ctl_elem_info_is_user'
alsactl.o(.text+0x1d33): In function `add_user_control':
/home/steven/drivers/utils/alsactl/alsactl.c:760: undefined reference to `snd_ctl_elem_add_boolean'
alsactl.o(.text+0x1d57):/home/steven/drivers/utils/alsactl/alsactl.c:763: undefined reference to `snd_ctl_elem_add_iec958'
alsactl.o(.text+0x1d8c):/home/steven/drivers/utils/alsactl/alsactl.c:757: undefined reference to `snd_ctl_elem_add_integer'
collect2: ld returned 1 exit status
make[1]: *** [alsactl] Error 1
make[1]: Leaving directory `/home/steven/drivers/utils/alsactl'
make: *** [all-recursive] Error 1
[root@localhost utils]#

I did it the normal way
extract tar
./configure
make (this is where the error occurs)

Last edited by linuxmandrake; 05-29-2005 at 12:20 AM.
 
Old 05-29-2005, 04:20 AM   #6
bibilit
Member
 
Registered: Nov 2002
Location: Montrouge / FRANCE
Distribution: MANDRAKE 9.2/ DSL / smalllinux / Ubuntu 5.1
Posts: 202

Rep: Reputation: 30
Your card is probably supported but not loaded correctly.

Can you post here the following file /etc/module.conf

According to the Alsa site, your sound card is supported and the above should look as the one hereafter ( sound part of it only )


# ALSA portion
alias char-major-116 snd
alias snd-card-0 snd-ca0106
# module options should go here

# OSS/Free portion
alias char-major-14 soundcore
alias sound-slot-0 snd-card-0

# card #1
alias sound-service-0-0 snd-mixer-oss
alias sound-service-0-1 snd-seq-oss
alias sound-service-0-3 snd-pcm-oss
alias sound-service-0-8 snd-seq-oss
alias sound-service-0-12 snd-pcm-oss

If not, your sound card will not be detected on start on.

You can copy and paste the above, use command line " alsaconf " and your sound card will probably work.

Don't forget, sound is probably mute as default.
 
Old 05-29-2005, 06:52 AM   #7
floppywhopper
Member
 
Registered: Aug 2004
Location: Western Australia
Distribution: Mageia , Centos
Posts: 644
Blog Entries: 2

Rep: Reputation: 136Reputation: 136
Just some basic stuff here as I'm not a guru on Mandrake
but what are the specs of your computer ?

for instance
does your mobo have onboard sound which is not disabled
if so there could be conflicts

Is the card detected at all by running hard-drake
if not, is it installed correctly ?

and one last thing
try not to use that naughty F word
thats a quick way to getting a red card from the Mods

hope this helps
floppy
 
Old 05-29-2005, 07:26 AM   #8
linuxmandrake
Member
 
Registered: Sep 2004
Distribution: debian sarge 64bit (AMD)
Posts: 709

Original Poster
Rep: Reputation: 30
am sorry but i was very annoyed. It's such hassle just to install a damn driver. any more ideas checked the above
 
Old 05-29-2005, 07:43 AM   #9
floppywhopper
Member
 
Registered: Aug 2004
Location: Western Australia
Distribution: Mageia , Centos
Posts: 644
Blog Entries: 2

Rep: Reputation: 136Reputation: 136
OK thats cool
so you can see the card
when running Hard-drake from the
Mandrake Control Centre ?
Now are you trying to configure the driver
from the MCC or through a terminal or something
Have you gone through MCC
and configured that way, or are you more comfortable
with the terminal - command line stuff

floppy
 
Old 05-29-2005, 09:08 AM   #10
linuxmandrake
Member
 
Registered: Sep 2004
Distribution: debian sarge 64bit (AMD)
Posts: 709

Original Poster
Rep: Reputation: 30
i think command line is best cos never heard of mcc. Am new to linux.

It seems the alsa driver i installed worked. dont know why it was just the utils package didn't install. It seems that the module is loaded cos kde sound playing progs now run without errors.

modprobe snd-ca0106;modprobe snd-pcm-oss;modprobe snd-mixer-oss;modprobe snd-seq-oss that command worked

but i still dont hear anything. The alsa home page says i need to adjust the volume but the kmix crashes. GRRRR

Also kamix doesn't compile

[root@localhost kamix]# sh ./configure --disable-vumeter
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking for -p flag to install... yes
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for style of include used by make... GNU
checking for gcc... gcc
checking for C compiler default output file name... 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 dependency style of gcc... gcc3
checking how to run the C preprocessor... gcc -E
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... gcc3
checking whether g++ supports -Wmissing-format-attribute... yes
checking whether g++ supports -Wundef... yes
checking whether g++ supports -Wno-long-long... yes
checking whether g++ supports -Wnon-virtual-dtor... yes
checking whether g++ supports -fno-exceptions... yes
checking whether g++ supports -fno-check-new... yes
checking whether g++ supports -fno-common... yes
checking whether g++ supports -fexceptions... yes
checking how to run the C++ preprocessor... g++ -E
checking whether g++ supports -O0... yes
not using lib directory suffix
checking for ld used by GCC... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for /usr/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -B
checking for a sed that does not truncate output...
checking whether ln -s works... yes
checking how to recognise dependant libraries... pass_all
checking for egrep... grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking the maximum length of command line arguments... 32768
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for objdir... .libs
checking for ranlib... ranlib
checking for strip... strip
checking if gcc static flag works... no
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... yes
checking if gcc supports -c -o file.o... yes
checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
configure: creating libtool
appending configuration tag "CXX" to libtool
checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes
checking for g++ option to produce PIC... -fPIC
checking if g++ PIC flag -fPIC works... yes
checking if g++ supports -c -o file.o... yes
checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... yes
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking dynamic linker characteristics... GNU/Linux ld.so
appending configuration tag "GCJ" to libtool
checking if gcj supports -fno-rtti -fno-exceptions... (cached) no
checking for gcj option to produce PIC... -fPIC
checking if gcj PIC flag -fPIC works... no
checking if gcj supports -c -o file.o... no
checking whether the gcj linker (/usr/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... yes
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking for snd_card_load in -lasound... yes
checking for snd_asoundlib_version in -lasound... yes
checking for snd_mixer_selem_get_playback_volume_dB in -lasound... no
checking for snd_mixer_selem_set_playback_volume_all in -lasound... yes
checking for msgfmt... msgfmt
checking for gmsgfmt... msgfmt
found msgfmt program is not GNU msgfmt; ignore it
checking for xgettext... :
checking for strlcat... no
checking if strlcat needs custom prototype... yes - in libkdefakes
checking for strlcpy... no
checking if strlcpy needs custom prototype... yes - in libkdefakes
checking for main in -lutil... yes
checking for main in -lcompat... no
checking for crypt in -lcrypt... yes
checking for socklen_t... socklen_t
checking for dnet_ntoa in -ldnet... no
checking for dnet_ntoa in -ldnet_stub... no
checking for inet_ntoa... yes
checking for connect... yes
checking for remove... yes
checking for shmat... yes
checking for sys/types.h... (cached) yes
checking for stdint.h... (cached) yes
checking for poll in -lpoll... no
checking CoreAudio/CoreAudio.h usability... no
checking CoreAudio/CoreAudio.h presence... no
checking for CoreAudio/CoreAudio.h... no
checking if res_init needs -lresolv... yes
checking if res_init is available... yes
checking for killpg in -lucb... no
checking for int... yes
checking size of int... 4
checking for long... yes
checking size of long... 4
checking for char *... yes
checking size of char *... 4
checking for dlopen in -ldl... yes
checking for shl_unload in -ldld... no
checking for size_t... yes
checking size of size_t... 4
checking for unsigned long... yes
checking size of unsigned long... 4
checking sizeof size_t == sizeof unsigned long... yes
checking crt_externs.h usability... no
checking crt_externs.h presence... no
checking for crt_externs.h... no
checking for _NSGetEnviron... no
checking for vsnprintf... yes
checking for snprintf... yes
checking for X... configure: error: Can't find X includes. Please check your ins

done sh ./configure as well but got the same error

it's better if u suggested an alternative cos kamix isn't very gud it's has a ton of dependencies which are hared to find GRRRRRRRRR


Last edited by linuxmandrake; 05-29-2005 at 10:22 AM.
 
Old 05-29-2005, 11:13 AM   #11
bibilit
Member
 
Registered: Nov 2002
Location: Montrouge / FRANCE
Distribution: MANDRAKE 9.2/ DSL / smalllinux / Ubuntu 5.1
Posts: 202

Rep: Reputation: 30
All mixer should already be in, if not go to the Mandrake package manager.

You can also try command lines : kmix, alsamixer ...

Did you try alsaconf command line ??

Also, you can try command line dmesg and have a look, a message such as found sound card xx at yy is a first step to achievement.

Let me know
 
Old 05-29-2005, 11:42 AM   #12
linuxmandrake
Member
 
Registered: Sep 2004
Distribution: debian sarge 64bit (AMD)
Posts: 709

Original Poster
Rep: Reputation: 30
i have the mixer now. IT was working then i restarted mandrake. now it's keeps displaying an error message when the desktop loads. cant initlise sound driver cant open /dev/dsp

ok just reinstalled the alsa driver /library still

Last edited by linuxmandrake; 05-29-2005 at 01:52 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Very Stupid Alsa Question. zaicheke Slackware 3 12-31-2004 07:45 PM
Alsa Drivers not FULLY working on Mandrake Rnastyracer Linux - Software 4 10-22-2004 03:04 PM
Fresh Install of Mandrake 10, ALSA not working Junior41180 Mandriva 4 10-18-2004 03:52 PM
Stupid mouse question -- Not working in terminal or X chasingmytail Slackware 2 08-05-2004 03:54 PM
Mandrake 9.2 Alsa not working C-Media CM8738 jrippon Linux - Hardware 3 11-09-2003 12:16 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva

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