compiling alsa-utils-1.0.14rc2 on suse 10.2 64 bits

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi there,

I decided to compile the newest version of alsa (1.0.14rc3) because it
is supposed to support the microphones of my HP dv2120us. Everything,
but the microphones, was working great with the installed
alsa-1.0.13-22 package (I have both the 32 and 64 bits packages).
I'm running Suse 10.2 64 bits and the audio card is a kind of hda-intel:
------------
planck:~ # cat /proc/asound/cards
 0 [NVidia         ]: HDA-Intel - HDA NVidia
                     HDA NVidia at 0xc0000000 irq 225

planck:~ # lspci
00:10.1 Audio device: nVidia Corporation MCP51 High Definition Audio
(rev a2)
------------
Well, followed the instructions in
http://www.alsa-project.org/alsa-doc/doc-php/template.php?company=Intel&card=ICH+southbridge+HD-audio+and+modem.&chip=ICH6%2C+ICH6M%2C+ICH7%2C+ESB2&module=hda-intel
<http://www.alsa-project.org/alsa-doc/doc-php/template.php?company=Intel&card=ICH+southbridge+HD-audio+and+modem.&chip=ICH6%2C+ICH6M%2C+ICH7%2C+ESB2&module=hda-intelalsa-driver>
The alsa-driver and alsa-lib compile just fine, but trying to compile
alsa-utils (whose last version is actually 1.0.14rc2) gives me the
following error (last lines):
------------
Making install in aplay
make[1]: Entrando no diretório `/usr/src/alsa/alsa-utils-1.0.14rc2/aplay'
gcc  -g -O2   -o aplay  aplay.o -lasound  -lasound -lm -ldl -lpthread
aplay.o: In function `pcm_list':
/usr/src/alsa/alsa-utils-1.0.14rc2/aplay/aplay.c:269: undefined
reference to `snd_device_name_hint'
/usr/src/alsa/alsa-utils-1.0.14rc2/aplay/aplay.c:274: undefined
reference to `snd_device_name_get_hint'
/usr/src/alsa/alsa-utils-1.0.14rc2/aplay/aplay.c:275: undefined
reference to `snd_device_name_get_hint'
/usr/src/alsa/alsa-utils-1.0.14rc2/aplay/aplay.c:276: undefined
reference to `snd_device_name_get_hint'
/usr/src/alsa/alsa-utils-1.0.14rc2/aplay/aplay.c:300: undefined
reference to `snd_device_name_free_hint'
collect2: ld returned 1 exit status
make[1]: ** [aplay] Erro 1
make[1]: Saindo do diretório `/usr/src/alsa/alsa-utils-1.0.14rc2/aplay'
make: ** [install-recursive] Erro 1
------------
By the way, somethings are in portuguese, so "Entrando no diretório"
means "Entering directory" and "Saindo do diretório" means "Exiting
directory".

So it comes the first question. What is wrong? I'm not a C programmer,
but I have done some research and found out that most people who got a
similar problem were advised to install ncurses. I checked out, and it
happens that I already have it installed, both 32 and 64 bits
versions:
------------
planck:~ # rpm -qa | grep ncurs
ncurses-32bit-5.5-42
ncurses-5.5-42
ncurses-devel-5.5-42
yast2-ncurses-2.14.4-3
ncurses-devel-32bit-5.5-42
------------
Second thing that came out. I modeprobed snd-hda-intel and now
firefox, for example, does not work. Calling it from terminal gives me
the following:
------------
<planck:~>$ firefox
/usr/lib/firefox/firefox-bin: error while loading shared libraries:
libasound.so.2: wrong ELF class: ELFCLASS64
------------
Then I realized that the alsa driver modules were compiled with the 64
bits version of gcc and installed in the /usr/lib/ directory, which I
believe is reserved for the 32 bits libraries. And firefox is 32 bits,
if I'm not mistaken.
Should I just compile with gcc 64 bits and install everything in
/usr/lib64 and come back compile with gcc 32 bits and install everything
in /usr/lib? Or there's more?
Need help on this!

Kind regards,
Herbert

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Alsa-user mailing list
Alsa-user@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/alsa-user


[Index of Archives]     [ALSA Devel]     [Linux Audio Users]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]

  Powered by Linux