Hi everybody,
My name is Ignacio Truffat, I am currently working for my University's
final project in Smalltalk. This language and the tool-set all look
fantastic.
Currently trying to grasp the process of building a VM. I am using 64b
linux Mint.
So far I have been able to:
- Make the necessary configurations
- Run *`scripts/updateSCCSVersions`* successfully
- Install all libraries (or their equivalent, such as 'g++') as
described in *`building/linux64x64/HowToBuild`*
- Create a VMMaker image via the scripts in Platform
- Use Squeak to run the VMMaker image
- Use the VMMaker image to produce c-code (goes to the *`src`* folder)
- Try to build the image using `
*building/linux64x64/squeak.cog.spurt/builds/mvm`*
This last step is the one which is failing. For some reason, it seems the
building step for plugin IA32ABI is failing. Here you have the excerpt:
--------**************************
gcc -Wall -g -O2 -DNDEBUG -DDEBUGVM=0 -msse2 -DCOGMTVM=0 -pthread
-DLSB_FIRST=1 -m64 -Wno-missing-braces -Wno-unknown-pragmas
-Wno-unused-value -Wno-unused-label -Wno-unused-function
-Wno-unused-variable -Wno-unused-but-set-variable -DHAVE_CONFIG_H
-DSQUEAK_BUILTIN_PLUGIN
-I/home/mint2/Desktop/tesis/repo/opensmalltalk-vm/building/linux64x64/squeak.cog.spur/build
-I/home/mint2/Desktop/tesis/repo/opensmalltalk-vm/building/linux64x64/squeak.cog.spur/build
-I/home/mint2/Desktop/tesis/repo/opensmalltalk-vm/platforms/unix/vm
-I/home/mint2/Desktop/tesis/repo/opensmalltalk-vm/platforms/Cross/vm
-I/home/mint2/Desktop/tesis/repo/opensmalltalk-vm/src/spur64.cog
-I/usr/local/include
-I/home/mint2/Desktop/tesis/repo/opensmalltalk-vm/platforms/Cross/plugins/IA32ABI
-m64 -Wno-missing-braces -Wno-unknown-pragmas -Wno-unused-value
-Wno-unused-label -Wno-unused-function -Wno-unused-variable
-Wno-unused-but-set-variable -c -o xabicc.o
/home/mint2/Desktop/tesis/repo/opensmalltalk-vm/platforms/Cross/plugins/IA32ABI/xabicc.c
In file included from
/home/mint2/Desktop/tesis/repo/opensmalltalk-vm/platforms/Cross/plugins/IA32ABI/xabicc.c:21:
/home/mint2/Desktop/tesis/repo/opensmalltalk-vm/platforms/Cross/plugins/IA32ABI/x64sysvabicc.c:21:22:
warning: missing terminating ' character
21 | # error Windows doesn't use the SystemV ABI
| ^
In file included from
/home/mint2/Desktop/tesis/repo/opensmalltalk-vm/platforms/Cross/plugins/IA32ABI/xabicc.c:21:
/home/mint2/Desktop/tesis/repo/opensmalltalk-vm/platforms/Cross/plugins/IA32ABI/x64sysvabicc.c:
In function ‘thunkEntry’:
/home/mint2/Desktop/tesis/repo/opensmalltalk-vm/platforms/Cross/plugins/IA32ABI/x64sysvabicc.c:194:44:
error: ‘DisownVMFromCallback’ undeclared (first use in this function)
194 | interpreterProxy->disownVM(DisownVMFromCallback);
| ^~~~~~~~~~~~~~~~~~~~
/home/mint2/Desktop/tesis/repo/opensmalltalk-vm/platforms/Cross/plugins/IA32ABI/x64sysvabicc.c:194:44:
note: each undeclared identifier is reported only once for each function it
appears in
make[1]: *** [Makefile:204: xabicc.o] Error 1
make: *** [Makefile:470: IA32ABI/IA32ABI.a] Error 2
--------**************************
(will attach the whole log as an attachment in the email)
Tried to see if I could simply remove the IA32ABI plugin, but the whole
thing also breaks. Apparently it's being imported from other places, so
maybe it's not something I should remove?
Anyway, looking forward to your replies. Thank you for your time and
attention.
Cheers.