[ENH][SF] VMMaker platforms tree now imported to SourceForge.net

Ned Konz ned at bike-nomad.com
Thu Oct 25 18:46:15 UTC 2001


On Wednesday 24 October 2001 05:18 pm, Tim Rowledge wrote:
> I've just imported the platforms tree as suited to VMMaker (see
> http://sumeru.stanford.edu/tim/pooters/SqFiles/deltas and look for the
> latest VMMaker* file(s) ) to SourceForge (see
> http://sourceforge.net/projects/squeak) in the hope it might actually
> work as a way to let people try it out.
>
> Ghu only knows if I managed to do it right; I'm sure a gazillion people
> will tell me all about it if not. Amongst other things, I have no idea
> how binary files will have been treated.

Ok... I couldn't get it to work entirely correctly; here's my notes:

configuration: src directory under Squeak directory
platforms directory somewhere else.

Remove the src directory.
Start VMMaker.
Tell it where the directories are.
make a config with all internal.
Tell it "generate all".
src directory is populated.
chmod +x configure util/*
./configure
make

error:

gcc -I/usr/X11R6/include -g -O2 -fomit-frame-pointer -DLSB_FIRST=1  
-funroll-loops -DHAVE_CONFIG_H -DUNIX 
-DSQ_LIBDIR=\"/usr/local/lib/squeak/3.1a-4164\" -I. -I../src/vm  -c -o 
Mpeg3Plugin.o ../src/vm/Mpeg3Plugin.c
In file included from ../src/vm/Mpeg3Plugin.c:23:
../src/vm/Mpeg3Plugin.h:1:38: changesForSqueak.h: No such file or directory
../src/vm/Mpeg3Plugin.h:2:30: libmpeg3.h: No such file or directory
make: *** [Mpeg3Plugin.o] Error 1

but those headers live in vm/libmpeg

Note that this is not what happened the first time I tried this.

Edited Makefile to add
-I ../src/vm/libmpeg -I ../src/vm/libmpeg/audio -I ../src/vm/libmpeg/video
to the Mpeg3Plugin make line

interestingly, there are two sets of Makefile lines for each file, so that I 
get a lot of messages like:

Makefile:554: warning: overriding commands for target `sqUnixExternalPrims.o'
Makefile:413: warning: ignoring old commands for target 
`sqUnixExternalPrims.o'

gcc -I/usr/X11R6/include -g -O2 -fomit-frame-pointer -DLSB_FIRST=1 
-funroll-loops -o squeak squeak.a -lXext -lX11 -lm -ldl -lnsl 
-L/usr/X11R6/lib -Wl,--export-dynamic -Wl,--rpath 
-Wl,/usr/local/lib/squeak/3.1a-4164 -Wl,--rpath 
-Wl,/usr/local/lib/squeak/3.1a-4164
/home/ned/Squeak/3.0/src/../src/vm/Mpeg3Plugin.c:179: undefined reference to 
`mpeg3_total_astreams'
/home/ned/Squeak/3.0/src/../src/vm/Mpeg3Plugin.c:187: undefined reference to 
`mpeg3_audio_channels'

cd vm/libmpeg
chmod +x mkMakefile
make

this makes libmpeg3.a

try make again in src, this still doesn't use the .a file so I get lots of 
undefined references as above.

OK, try again, without the Mpeg3Plugin at all.

rm -rf src
mkdir src (not sure this is necessary)

re-start VMMaker (if I don't the directory doesn't get constructed/files 
copied).

choose "all internal"

remove Mpeg3Plugin from internal list (move to available)

re-generate all

cd src
chmod +x configure util/*
./configure
make

_now_ I get a squeak...

-- 
Ned Konz
currently: Stanwood, WA
email:     ned at bike-nomad.com
homepage:  http://bike-nomad.com




More information about the Squeak-dev mailing list