Re: Skype + 32 bit Alsa on 64 bit machine

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

 



Thanxs for suggestions. I was able to compile both 32 bit and 64 bit on the RedHat machine with the following commands:
 
cd alsa-lib
./configure --libdir=/usr/lib64, make, make install
 
cd ../alsa-driver
./configure --libdir=/usr/lib64 --with-cards=dummy --with-sequencer=yes, make, make install
 
cd ../alsa-lib
./configure CFLAGS="${CFLAGS} -m32" LDFLAGS="${LDFLAGS} -m32", make, make install
 
cd ../alsa-driver
./configure CFLAGS="${CFLAGS} -m32" LDFLAGS="${LDFLAGS} -m32" --with-cards=dummy --with-sequencer=yes, make, make install
cd ../alsa-utils
./configure CFLAGS="${CFLAGS} -m32" LDFLAGS="${LDFLAGS} -m32", make, make install

ln -sf /usr/lib64/libasound.so.2.0.0 /lib64/libasound.so.2
ln -sf /usr/lib/libasound.so.2.0.0 /lib/libasound.so.2
However, now there's another strange problem. If I try to run any of the 32 bit utils (such as aplay or alsamixer) or 32 bit Skype (the symptoms are the same), I get the following error in my /var/log/messages:

Feb 13 22:55:57 project kernel: ioctl32(aplay:4326): Unknown cmd fd(3) cmd(81785501){01} arg(ffffd310) on /dev/snd/controlC0

It seems like 32bit <--> 64bit conversion by ioclt32 is not supported.
 
Does anyone have any ideas what am I doing wrong? Cheers!
 
Regards,
Blaz
 
On Thu, Feb 4, 2010 at 8:09 AM, Axel Bergerhoff <axelbergerhoff@xxxxxxxxxxxxxx> wrote:
Am Mittwoch, 3. Februar 2010 schrieb Alex Rixhardson:
> Hi guys,
>
> I have successfully compiled and installed latest Alsa driver & libs &
> tools on my 64 bit machine. However, Skype doesn't seem to work with the 64
> bit libraries of Alsa (since Skype's 32 bit). How can a compile and install
> 32 and 64 bit Alsa libs side-by-side on the same machine, so that my 32 bit
> programs (such as Skype) would use 32 bit version?
>
> Am using RedHat ES 4.5: 2.6.9-55.ELsmp #1 SMP Fri Apr 20 16:36:54 EDT 2007
> x86_64 x86_64 x86_64 GNU/Linux
>
> Best Regards,
> Alex

There are instructions from CBLFS that might need some some modifications:
 http://cblfs.cross-lfs.org/index.php/ALSA

Some earlier version worked for me building my x86_64 multilib system.
As I'm using neither RedHat nor Skype I don't know if there's an easier way
for you.

Regards,
Axel


------------------------------------------------------------------------------
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com
_______________________________________________
Alsa-user mailing list
Alsa-user@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/alsa-user

------------------------------------------------------------------------------
SOLARIS 10 is the OS for Data Centers - provides features such as DTrace,
Predictive Self Healing and Award Winning ZFS. Get Solaris 10 NOW
http://p.sf.net/sfu/solaris-dev2dev
_______________________________________________
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