Rob,<div><br></div><div>    my understanding is that if you configure without ALSA it should not attempt to compile sqUnixSoundALSA.c. So something must be screwed up. Try make reallyclean, then repeat the configure carefully.  The configure should not produce a vm-sound-ALSA directory, and there should be no mention of vm-sound-ALSA in the generated Makefile.  If it does you&#39;re either going to have to debug configure or manually edit the generated Makefile to remove mention of vm-sound-ALSA.</div>
<div><br></div><div>cheers</div><div>Eliot<br><br><div class="gmail_quote">On Sat, Jul 17, 2010 at 11:18 AM, Rob Withers <span dir="ltr">&lt;<a href="mailto:reefedjib@yahoo.com">reefedjib@yahoo.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><br>
Eliot,<br>
<br>
It is still giving me an ALSA error.  Here is my call to configure and make:<br>
<br>
../../platforms/unix/config/configure --without-vm-sound-ALSA --without-vm-sound-OSS --without-vm-display-fbdev --without-npsqueak CC=&quot;gcc -m32&quot; CFLAGS=&quot;-g -O2 -msse2 -D_GNU_SOURCE -DNDEBUG -DITIMER_HEARTBEAT=1 -DNO_VM_PROFILE=1 -DCOGMTVM=0&quot; LIBS=-lpthread<br>

<br>
make install prefix=/home1/vawhigso/public_html/squeakelib/Cog/Cog<br>
<br>
I find it best to delete the entire unixbuild directory and untar it fresh from the tarball.<br>
<br>
Thanks,<br>
Rob<br>
<br>
Error:<div class="im"><br>
<br>
/bin/sh /home1/vawhigso/public_html/squeakelib/Cog/unixbuild/bld/libtool --mode=compile gcc -m32 -g -O2 -msse2 -D_GNU_SOURCE -DNDEBUG -DITIMER_HEARTBEAT=1 -DNO_VM_PROFILE=1 -DCOGMTVM=0 -msse -DLSB_FIRST=1  -DHAVE_CONFIG_H  -I/home1/vawhigso/public_html/squeakelib/Cog/unixbuild/bld -I/home1/vawhigso/public_html/squeakelib/Cog/unixbuild/bld -I/home1/vawhigso/public_html/squeakelib/Cog/platforms/unix/vm -I/home1/vawhigso/public_html/squeakelib/Cog/platforms/Cross/vm -I/home1/vawhigso/public_html/squeakelib/Cog/src/vm    -c -o sqUnixSoundALSA.lo /home1/vawhigso/public_html/squeakelib/Cog/platforms/unix/vm-sound-ALSA/sqUnixSoundALSA.c<br>

gcc -m32 -g -O2 -msse2 -D_GNU_SOURCE -DNDEBUG -DITIMER_HEARTBEAT=1 -DNO_VM_PROFILE=1 -DCOGMTVM=0 -msse -DLSB_FIRST=1 -DHAVE_CONFIG_H -I/home1/vawhigso/public_html/squeakelib/Cog/unixbuild/bld -I/home1/vawhigso/public_html/squeakelib/Cog/unixbuild/bld -I/home1/vawhigso/public_html/squeakelib/Cog/platforms/unix/vm -I/home1/vawhigso/public_html/squeakelib/Cog/platforms/Cross/vm -I/home1/vawhigso/public_html/squeakelib/Cog/src/vm -c /home1/vawhigso/public_html/squeakelib/Cog/platforms/unix/vm-sound-ALSA/sqUnixSoundALSA.c  -fPIC -DPIC -DPIC -o sqUnixSoundALSA.o<br>

mv -f sqUnixSoundALSA.o sqUnixSoundALSA.lo<br>
/bin/sh /home1/vawhigso/public_html/squeakelib/Cog/unixbuild/bld/libtool --mode=link gcc -m32 -g -O2 -msse2 -D_GNU_SOURCE -DNDEBUG -DITIMER_HEARTBEAT=1 -DNO_VM_PROFILE=1 -DCOGMTVM=0 -msse -DLSB_FIRST=1    -avoid-version -module -rpath /home1/vawhigso/public_html/squeakelib/Cog/Cog/lib/squeak/3.9-7 -o vm-sound-ALSA.la sqUnixSoundALSA.lo -lasound<br>

mkdir .libs<br>
rm -fr .libs/vm-sound-ALSA.la .libs/vm-sound-ALSA.* .libs/vm-sound-ALSA.*<br>
(cd . &amp;&amp; ln -s sqUnixSoundALSA.lo sqUnixSoundALSA.o)<br>
gcc -m32 -shared sqUnixSoundALSA.lo  -lasound  -Wl,-soname -Wl,vm-sound-ALSA -o .libs/vm-sound-ALSA<br></div><div class="im">
/usr/bin/ld: skipping incompatible /usr/lib64/libasound.so when searching for -lasound<br>
/usr/bin/ld: skipping incompatible /usr/lib64/libasound.a when searching for -lasound<br></div><div class="im">
/usr/bin/ld: cannot find -lasound<br>
collect2: ld returned 1 exit status<br>
make[1]: *** [vm-sound-ALSA.la] Error 1<br>
make: *** [vm-sound-ALSA.la] Error 2<br>
<br>
<br>
<br></div>
From: Eliot Miranda<br>
Sent: Saturday, July 17, 2010 2:00 PM<div class="im"><br>
To: Squeak Virtual Machine Development Discussion<br></div><div><div></div><div class="h5">
Subject: Re: [Vm-dev] Cog on linux<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
On Fri, Jul 16, 2010 at 4:37 PM, Rob Withers &lt;<a href="mailto:reefedjib@yahoo.com" target="_blank">reefedjib@yahoo.com</a>&gt; wrote:<br>
<br>
<br>
<br>
<br>
--------------------------------------------------<br>
From: &quot;Rob Withers&quot; &lt;<a href="mailto:reefedjib@yahoo.com" target="_blank">reefedjib@yahoo.com</a>&gt;<br>
Sent: Friday, July 16, 2010 7:08 PM<br>
<br>
To: &quot;Squeak Virtual Machine Development Discussion&quot; &lt;<a href="mailto:vm-dev@lists.squeakfoundation.org" target="_blank">vm-dev@lists.squeakfoundation.org</a>&gt;<br>
Subject: Re: [Vm-dev] Cog on linux<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
--------------------------------------------------<br>
From: &quot;Levente Uzonyi&quot; &lt;<a href="mailto:leves@elte.hu" target="_blank">leves@elte.hu</a>&gt;<br>
<br>
Sent: Friday, July 16, 2010 6:44 PM<br>
<br>
To: &quot;Squeak Virtual Machine Development Discussion&quot;<br>
&lt;<a href="mailto:vm-dev@lists.squeakfoundation.org" target="_blank">vm-dev@lists.squeakfoundation.org</a>&gt;<br>
Subject: Re: [Vm-dev] Cog on linux<br>
<br>
<br>
<br>
On Fri, 16 Jul 2010, Rob Withers wrote:<br>
<br>
<br>
<br>
<br>
<br>
--------------------------------------------------<br>
From: &quot;Casey Ransberger&quot; &lt;<a href="mailto:casey.obrien.r@gmail.com" target="_blank">casey.obrien.r@gmail.com</a>&gt;<br>
Sent: Friday, July 16, 2010 5:10 PM<br>
To: &quot;Squeak Virtual Machine Development Discussion&quot;<br>
&lt;<a href="mailto:vm-dev@lists.squeakfoundation.org" target="_blank">vm-dev@lists.squeakfoundation.org</a>&gt;<br>
Subject: Re: [Vm-dev] Cog on linux<br>
<br>
<br>
<br>
I think you just need libasound<br>
<br>
<br>
<br>
Ok guys, I am working on it with my webhost.  I am not sure how I can<br>
install an RPM on their box, so I submitted a ticket.<br>
<br>
<br>
Actually I don&#39;t think that any sound plugin would work, because the<br>
32-bit binaries will not be available. But you don&#39;t need sound at all on<br>
a server, do you?<br>
<br>
<br>
<br>
<br>
You lost me on 32-bit binaries not being available.  I found<br>
alsa-lib-1.0.13.tar.bz2 and I am preparing to build it.<br>
<br>
<br>
My error said:<br>
/usr/bin/ld: skipping incompatible /usr/lib64/libasound.so when searching<br>
for -lasound<br>
/usr/bin/ld: skipping incompatible /usr/lib64/libasound.a when searching<br>
for -lasound<br>
<br>
<br>
So it looks like I need a .so and a .a file.  As rusty as I am on building<br>
for unix, are these static libs or shared libs?  I do need to figure out how<br>
to cross compile to a 32bit system.  I am researching this for the right<br>
target.  I need i386-linux or something.  I am attaching the config.guess<br>
file they use for this.  Can anyone give me a helpful hand what I should<br>
specify doing ...<br>
<br>
     &#39;./configure --enable-shared=no --enable-static=yes --target=i386-linux&#39;<br>
<br>
<br>
<br>
Damn!  I can&#39;t figure out how to change the install path to other than /usr/include, etc.  I can&#39;t write to those directories.  I am stuck.<br>
<br>
<br>
Regarding your observation that I don&#39;t need sound on a server, that is spot<br>
on.  It may be too entangled for the time being.<br>
<br>
<br>
Is it possible to unentangle sound?<br>
<br>
<br>
<br>
Try configuring Cog without libalsa.  e.g.<br>
<br>
<br>
../../platforms/unix/config/configure --without-vm-sound-ALSA --without-vm-display-fbdev --without-npsqueak -prefix=/home/qwaq/qwaqvm/ CFLAGS=&quot;-g -O1 -msse2 -D_GNU_SOURCE -DITIMER_HEARTBEAT=1 -DNO_VM_PROFILE=1 -DCOGMTVM=0&quot; LIBS=-lpthread<br>

<br>
and if you have problems with OSS sound you can disable that too<br>
<br>
<br>
../../platforms/unix/config/configure --without-vm-sound-ALSA --without-vm-sound-OSS --without-vm-display-fbdev --without-npsqueak -prefix=/home/qwaq/qwaqvm/ CFLAGS=&quot;-g -O1 -msse2 -D_GNU_SOURCE -DITIMER_HEARTBEAT=1 -DNO_VM_PROFILE=1 -DCOGMTVM=0&quot; LIBS=-lpthread<br>

<br>
<br>
that will leave you with vm-sound-null which is fine for a server.<br>
<br>
Thanks,<br>
Rob<br>
<br>
<br>
<br>
Cheers,<br>
Rob<br>
<br>
<br>
<br>
Levente<br>
<br>
<br>
<br>
Thanks,<br>
Rob <br>
</div></div></blockquote></div><br></div>