Gentoo Archives: gentoo-user

From: Sergio Polini <sp_rm_it@×××××.it>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] WinXP under VMWare: no sound
Date: Sun, 05 Nov 2006 01:06:36
Message-Id: 200611050202.15817.sp_rm_it@yahoo.it
In Reply to: Re: [gentoo-user] WinXP under VMWare: no sound by Richard Fish
1 Richard Fish:
2 > On 11/4/06, Sergio Polini <sp_rm_it@×××××.it> wrote:
3 > > Sound does not work. Sometimes (not always) I get a message
4 > > like "cannot connect to /dev/dsp".
5 > > Even if I do not get that message, even if the sound card looks
6 > > connected (no red "x") sound is not working.
7 > > I've found a VMWare document about a wrapper:
8 >
9 > The problem is that /dev/dsp is the legacy OSS api, and does not
10 > support dmix (software mixing of audio). Thus only one application
11 > can access /dev/dsp at a time unless your card supports hardware
12 > mixing. So most likely, /dev/dsp is already in use by some app.
13
14 alsasound?
15 kde? even if I have "auto-suspend" enabled?
16
17 > The workaround to this is to use a wrapper such as aoss or
18 > vmware-dsp that fakes out the application when it tries to open
19 > /dev/dsp and uses another audio API instead (alsa for aoss, esd or
20 > artsd for vmware-dsp).
21 >
22 > http://kb.vmware.com/vmtnkb/search.do?cmd=displayKC&docType=kc&exte
23 >rnalId=1611&sliceId=SAL_Public
24 >
25 > > but it looks suited for versions 3.x, 4.x, and 5.0.x.
26 > > Moreover, I've installed it and got:
27 >
28 > FYI, there is an ebuild available for this...emerge vmare-dsp.
29
30 Oops! ;-)
31 It emerged app-emulation/emul-linux-x86-soundlibs-2.3 too (Im running
32 Gentoo AMD64), but then:
33
34 01:56:32 (200.82 KB/s) - `/usr/portage/distfiles/vmwaredsp-1.3.tar.gz'
35 saved [52412/52412]
36
37 * checking ebuild checksums ;-) ...
38 [ ok ]
39 * checking auxfile checksums ;-) ...
40 [ ok ]
41 * checking miscfile checksums ;-) ...
42 [ ok ]
43 * checking vmwaredsp-1.3.tar.gz ;-) ...
44 [ ok ]
45 >>> Unpacking source...
46 >>> Unpacking vmwaredsp-1.3.tar.gz
47 to /var/tmp/portage/vmware-dsp-1.3/work
48 >>> Source unpacked.
49 >>> Compiling source
50 in /var/tmp/portage/vmware-dsp-1.3/work/vmwaredsp-1.3 ...
51 * Building aRts support only.
52 make -C 32 default
53 make[1]: Entering directory
54 `/var/tmp/portage/vmware-dsp-1.3/work/vmwaredsp-1.3/src/32'
55 cc -c -W -Wall -O2 -fPIC -o vmdsp.o ../vmdsp.c
56 cc -shared -Wl,-version-script=../vmdsp.map -o libvmdsp.so
57 vmdsp.o -lpthread -ldl -lc
58 /usr/lib/gcc/x86_64-pc-linux-gnu/4.1.1/../../../../x86_64-pc-linux-gnu/bin/ld:
59 libvmdsp.so: undefined versioned symbol name open64@GLIBC_2.2.5
60 /usr/lib/gcc/x86_64-pc-linux-gnu/4.1.1/../../../../x86_64-pc-linux-gnu/bin/ld:
61 failed to set dynamic section sizes: Bad value
62 collect2: ld returned 1 exit status
63 make[1]: *** [libvmdsp.so] Error 1
64 rm vmdsp.o
65 make[1]: Leaving directory
66 `/var/tmp/portage/vmware-dsp-1.3/work/vmwaredsp-1.3/src/32'
67 make: *** [default] Error 2
68
69 !!! ERROR: app-emulation/vmware-dsp-1.3 failed.
70 Call stack:
71 ebuild.sh, line 1546: Called dyn_compile
72 ebuild.sh, line 937: Called src_compile
73 vmware-dsp-1.3.ebuild, line 58: Called die
74
75 !!! (no error message)
76 !!! If you need support, post the topmost build error, and the call
77 stack if relevant.
78
79 :-(
80
81 > > [sp ~]$ ERROR: ld.so: object 'libvmdsp.so' from LD_PRELOAD cannot
82 > > be preloaded: ignored.
83 >
84 > What does ldd /usr/lib/libvmdsp* report? (or whatever directory
85 > libvmdsp got installed to..)
86
87 >From my former install (1611_fvmwaredsp-1.3.tgz):
88
89 testing ~ # ldd /usr/lib/libvmdsp.so
90 ldd: warning: you do not have execution permission for
91 `/usr/lib/libvmdsp.so'
92 libpthread.so.0 => /lib/libpthread.so.0 (0x00002b944790f000)
93 libdl.so.2 => /lib/libdl.so.2 (0x00002b9447a25000)
94 libc.so.6 => /lib/libc.so.6 (0x00002b9447b29000)
95 /lib64/ld-linux-x86-64.so.2 (0x0000555555554000)
96
97
98 > PS:The real fix for this is for VMWare to *stop* using the
99 > deprecated OSS API for sound, and implement real ALSA
100 > compatibility. I highly recommend sending this request to them!
101
102 Sure, but first I'ld like to get sound working ;-)
103
104 Thanks
105 Sergio
106
107 --
108 gentoo-user@g.o mailing list

Replies

Subject Author
Re: [gentoo-user] WinXP under VMWare: no sound Richard Fish <bigfish@××××××××××.org>