[Vm-dev] Cog on linux

Andreas Wacknitz a.wacknitz at gmx.de
Fri Jul 16 21:09:56 UTC 2010


Am 16.07.2010 um 22:25 schrieb Rob Withers:

> 
> Woohoo!  I made progress.   Thanks!  Now it is crashing on sound:
> 
> /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
> 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
> mv -f sqUnixSoundALSA.o sqUnixSoundALSA.lo
> /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
> mkdir .libs
> rm -fr .libs/vm-sound-ALSA.la .libs/vm-sound-ALSA.* .libs/vm-sound-ALSA.*
> (cd . && ln -s sqUnixSoundALSA.lo sqUnixSoundALSA.o)
> gcc -m32 -shared sqUnixSoundALSA.lo  -lasound  -Wl,-soname -Wl,vm-sound-ALSA -o .libs/vm-sound-ALSA
> /usr/bin/ld: skipping incompatible /usr/lib64/libasound.so when searching for -lasound
> /usr/bin/ld: skipping incompatible /usr/lib64/libasound.a when searching for -lasound
> /usr/bin/ld: cannot find -lasound
> collect2: ld returned 1 exit status
> make[1]: *** [vm-sound-ALSA.la] Error 1
> make: *** [vm-sound-ALSA.la] Error 2

This looks like a missing library (Iibasound). You should try to find something like libasound and/or libasound-dev for your distribution.
And of course It must be 32 bits. 

Andreas


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/vm-dev/attachments/20100716/5790df59/attachment.htm


More information about the Vm-dev mailing list