<html><head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
</head>
<body>
<p>I managed to remove all errors. The mvm script generated .la and
.lo files, in these locations:</p>
<blockquote>
<p><a class="moz-txt-link-abbreviated" href="mailto:rabbit@ganymede:~/vm-dev/opensmalltalk-vm/build.linux64x64/squeak.cog.spur/build/RSErasurePlugin/">rabbit@ganymede:~/vm-dev/opensmalltalk-vm/build.linux64x64/squeak.cog.spur/build/RSErasurePlugin/</a><br/>
<a class="moz-txt-link-abbreviated" href="mailto:rabbit@ganymede:~/vm-dev/opensmalltalk-vm/build.linux64x64/squeak.cog.spur/buil/RSFECPlugin/">rabbit@ganymede:~/vm-dev/opensmalltalk-vm/build.linux64x64/squeak.cog.spur/buil/RSFECPlugin/</a>
</p>
</blockquote>
<p><br/>
</p>
<p>Looking into /usr/local/lib/squeak/5.0-202010010729/ at my
previously installed Squeak vm, the plugin files are .so (shared
object). Where can I find the .so files for the 2 new plugins I
generated? Thx!<br/>
</p>
<div class="moz-signature">---<br/>
Kindly,<br/>
Robert<br/>
<br/>
<br/>
</div>
<div class="moz-cite-prefix">On 5/29/21 12:15 PM, Robert Withers
wrote:<br/>
</div>
<blockquote type="cite" cite="mid:fc1d2a2a-aa55-56cb-2b6d-3929bd8364aa@pm.me">
<meta http-equiv="content-type" content="text/html; charset=UTF-8"/>
<p>Some of the initial errors have to do with the static
declarations of logTable and expTable. Here is the output...<br/>
<br/>
</p>
<blockquote>libtool: compile: clang -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
-DHAVE_CONFIG_H
-I/home/rabbit/vm-dev/opensmalltalk-vm/build.linux64x64/squeak.cog.spur/build
-I/home/rabbit/vm-dev/opensmalltalk-vm/build.linux64x64/squeak.cog.spur/build
-I/home/rabbit/vm-dev/opensmalltalk-vm/platforms/unix/vm
-I/home/rabbit/vm-dev/opensmalltalk-vm/platforms/Cross/vm
-I/home/rabbit/vm-dev/opensmalltalk-vm/spur64src/vm
-I/usr/local/include -m64 -Wno-missing-braces
-Wno-unknown-pragmas -Wno-unused-value -Wno-unused-label
-Wno-unused-function -Wno-unused-variable -c
/home/rabbit/vm-dev/opensmalltalk-vm/src/plugins/RSErasurePlugin/RSErasurePlugin.c
-fPIC -DPIC -o .libs/RSErasurePlugin.o<br/>
/home/rabbit/vm-dev/opensmalltalk-vm/src/plugins/RSErasurePlugin/RSErasurePlugin.c:44:15:
error: static declaration of 'exp' follows non-static
declaration<br/>
static usqInt exp(sqInt a);<br/>
^<br/>
/usr/include/x86_64-linux-gnu/bits/mathcalls.h:95:17: note:
previous declaration is here<br/>
__MATHCALL_VEC (exp,, (_Mdouble_ __x));<br/>
^<br/>
/home/rabbit/vm-dev/opensmalltalk-vm/src/plugins/RSErasurePlugin/RSErasurePlugin.c:48:15:
error: static declaration of 'log' follows non-static
declaration<br/>
static usqInt log(sqInt a);<br/>
^<br/>
/usr/include/x86_64-linux-gnu/bits/mathcalls.h:104:17: note:
previous declaration is here<br/>
__MATHCALL_VEC (log,, (_Mdouble_ __x));<br/>
^<br/>
/home/rabbit/vm-dev/opensmalltalk-vm/src/plugins/RSErasurePlugin/RSErasurePlugin.c:166:29:
error: redefinition of 'multiplicationTable' as different kind
of symbol<br/>
/home/rabbit/vm-dev/opensmalltalk-vm/src/plugins/RSErasurePlugin/RSErasurePlugin.c:50:26:
note: previous definition is here<br/>
static unsigned short ** multiplicationTable(void);<br/>
^<br/>
/home/rabbit/vm-dev/opensmalltalk-vm/src/plugins/RSErasurePlugin/RSErasurePlugin.c:166:66:
error: expected '}'<br/>
/home/rabbit/vm-dev/opensmalltalk-vm/src/plugins/RSErasurePlugin/RSErasurePlugin.c:166:63:
note: to match this '{'<br/>
/home/rabbit/vm-dev/opensmalltalk-vm/src/plugins/RSErasurePlugin/RSErasurePlugin.c:180:5:
warning: implicit declaration of function 'twosComplement' is
invalid in C99 [-Wimplicit-function-declaration]<br/>
? twosComplement(a)<br/>
^<br/>
/home/rabbit/vm-dev/opensmalltalk-vm/src/plugins/RSErasurePlugin/RSErasurePlugin.c:201:11:
warning: implicit declaration of function 'signal' is invalid in
C99 [-Wimplicit-function-declaration]<br/>
return signal(Exception, "Argument
'divisor' is 0");<br/>
^<br/>
/home/rabbit/vm-dev/opensmalltalk-vm/src/plugins/RSErasurePlugin/RSErasurePlugin.c:201:18:
error: use of undeclared identifier 'Exception'<br/>
return signal(Exception, "Argument
'divisor' is 0");<br/>
^<br/>
/home/rabbit/vm-dev/opensmalltalk-vm/src/plugins/RSErasurePlugin/RSErasurePlugin.c:221:1:
error: static declaration of 'exp' follows non-static
declaration<br/>
exp(sqInt a)<br/>
^<br/>
/usr/include/x86_64-linux-gnu/bits/mathcalls.h:95:17: note:
previous declaration is here<br/>
__MATHCALL_VEC (exp,, (_Mdouble_ __x));<br/>
^<br/>
/home/rabbit/vm-dev/opensmalltalk-vm/src/plugins/RSErasurePlugin/RSErasurePlugin.c:241:5:
warning: implicit declaration of function 'twosComplement' is
invalid in C99 [-Wimplicit-function-declaration]<br/>
? twosComplement(base)<br/>
^<br/>
/home/rabbit/vm-dev/opensmalltalk-vm/src/plugins/RSErasurePlugin/RSErasurePlugin.c:270:5:
warning: implicit declaration of function 'twosComplement' is
invalid in C99 [-Wimplicit-function-declaration]<br/>
? twosComplement(a)<br/>
^<br/>
/home/rabbit/vm-dev/opensmalltalk-vm/src/plugins/RSErasurePlugin/RSErasurePlugin.c:299:1:
error: static declaration of 'log' follows non-static
declaration<br/>
log(sqInt a)<br/>
^<br/>
/usr/include/x86_64-linux-gnu/bits/mathcalls.h:104:17: note:
previous declaration is here<br/>
__MATHCALL_VEC (log,, (_Mdouble_ __x));<br/>
^<br/>
/home/rabbit/vm-dev/opensmalltalk-vm/src/plugins/RSErasurePlugin/RSErasurePlugin.c:304:3:
warning: implicit declaration of function 'signal' is invalid in
C99 [-Wimplicit-function-declaration]<br/>
signal(RSErasureIllegalArgumentError, "zero
argument");<br/>
^<br/>
/home/rabbit/vm-dev/opensmalltalk-vm/src/plugins/RSErasurePlugin/RSErasurePlugin.c:304:10:
error: use of undeclared identifier
'RSErasureIllegalArgumentError'<br/>
signal(RSErasureIllegalArgumentError, "zero
argument");<br/>
^<br/>
/home/rabbit/vm-dev/opensmalltalk-vm/src/plugins/RSErasurePlugin/RSErasurePlugin.c:307:5:
warning: implicit declaration of function 'twosComplement' is
invalid in C99 [-Wimplicit-function-declaration]<br/>
? twosComplement(a)<br/>
^<br/>
/home/rabbit/vm-dev/opensmalltalk-vm/src/plugins/RSErasurePlugin/RSErasurePlugin.c:320:5:
warning: implicit declaration of function 'twosComplement' is
invalid in C99 [-Wimplicit-function-declaration]<br/>
? twosComplement(value)<br/>
^<br/>
/home/rabbit/vm-dev/opensmalltalk-vm/src/plugins/RSErasurePlugin/RSErasurePlugin.c:328:9:
warning: incompatible pointer types returning 'unsigned short
**(void)' from a function with result type 'unsigned short **'
[-Wincompatible-pointer-types]<br/>
return multiplicationTable;<br/>
^~~~~~~~~~~~~~~~~~~<br/>
/home/rabbit/vm-dev/opensmalltalk-vm/src/plugins/RSErasurePlugin/RSErasurePlugin.c:341:5:
warning: implicit declaration of function 'twosComplement' is
invalid in C99 [-Wimplicit-function-declaration]<br/>
? twosComplement(a)<br/>
^<br/>
/home/rabbit/vm-dev/opensmalltalk-vm/src/plugins/RSErasurePlugin/RSErasurePlugin.c:374:5:
warning: implicit declaration of function 'twosComplement' is
invalid in C99 [-Wimplicit-function-declaration]<br/>
? twosComplement(a)<br/>
^<br/>
/home/rabbit/vm-dev/opensmalltalk-vm/src/plugins/RSErasurePlugin/RSErasurePlugin.c:380:2:
warning: implicit declaration of function 'popthenPushInteger'
is invalid in C99 [-Wimplicit-function-declaration]<br/>
popthenPushInteger(2, result);<br/>
^<br/>
/home/rabbit/vm-dev/opensmalltalk-vm/src/plugins/RSErasurePlugin/RSErasurePlugin.c:418:24:
warning: implicit declaration of function 'signal' is invalid in
C99 [-Wimplicit-function-declaration]<br/>
result = ((usqInt) (signal(Exception,
"Argument 'divisor' is 0")));<br/>
^<br/>
/home/rabbit/vm-dev/opensmalltalk-vm/src/plugins/RSErasurePlugin/RSErasurePlugin.c:418:31:
error: use of undeclared identifier 'Exception'<br/>
result = ((usqInt) (signal(Exception,
"Argument 'divisor' is 0")));<br/>
^<br/>
/home/rabbit/vm-dev/opensmalltalk-vm/src/plugins/RSErasurePlugin/RSErasurePlugin.c:434:2:
warning: implicit declaration of function 'popthenPushInteger'
is invalid in C99 [-Wimplicit-function-declaration]<br/>
popthenPushInteger(2, result);<br/>
^<br/>
/home/rabbit/vm-dev/opensmalltalk-vm/src/plugins/RSErasurePlugin/RSErasurePlugin.c:455:2:
warning: implicit declaration of function 'popthenPushInteger'
is invalid in C99 [-Wimplicit-function-declaration]<br/>
popthenPushInteger(2, result);<br/>
^<br/>
/home/rabbit/vm-dev/opensmalltalk-vm/src/plugins/RSErasurePlugin/RSErasurePlugin.c:496:5:
warning: implicit declaration of function 'twosComplement' is
invalid in C99 [-Wimplicit-function-declaration]<br/>
? twosComplement(a)<br/>
^<br/>
/home/rabbit/vm-dev/opensmalltalk-vm/src/plugins/RSErasurePlugin/RSErasurePlugin.c:506:2:
warning: implicit declaration of function 'popthenPushInteger'
is invalid in C99 [-Wimplicit-function-declaration]<br/>
popthenPushInteger(2, result);<br/>
^<br/>
/home/rabbit/vm-dev/opensmalltalk-vm/src/plugins/RSErasurePlugin/RSErasurePlugin.c:550:5:
warning: implicit declaration of function 'twosComplement' is
invalid in C99 [-Wimplicit-function-declaration]<br/>
? twosComplement(a)<br/>
^<br/>
/home/rabbit/vm-dev/opensmalltalk-vm/src/plugins/RSErasurePlugin/RSErasurePlugin.c:560:2:
warning: implicit declaration of function 'popthenPushInteger'
is invalid in C99 [-Wimplicit-function-declaration]<br/>
popthenPushInteger(2, result);<br/>
^<br/>
/home/rabbit/vm-dev/opensmalltalk-vm/src/plugins/RSErasurePlugin/RSErasurePlugin.c:590:3:
warning: implicit declaration of function 'signal' is invalid in
C99 [-Wimplicit-function-declaration]<br/>
signal(RSErasureIllegalArgumentError, "zero
argument");<br/>
^<br/>
/home/rabbit/vm-dev/opensmalltalk-vm/src/plugins/RSErasurePlugin/RSErasurePlugin.c:590:10:
error: use of undeclared identifier
'RSErasureIllegalArgumentError'<br/>
signal(RSErasureIllegalArgumentError, "zero
argument");<br/>
^<br/>
/home/rabbit/vm-dev/opensmalltalk-vm/src/plugins/RSErasurePlugin/RSErasurePlugin.c:593:5:
warning: implicit declaration of function 'twosComplement' is
invalid in C99 [-Wimplicit-function-declaration]<br/>
? twosComplement(a)<br/>
^<br/>
/home/rabbit/vm-dev/opensmalltalk-vm/src/plugins/RSErasurePlugin/RSErasurePlugin.c:596:2:
warning: implicit declaration of function 'popthenPushInteger'
is invalid in C99 [-Wimplicit-function-declaration]<br/>
popthenPushInteger(2, result);<br/>
^<br/>
/home/rabbit/vm-dev/opensmalltalk-vm/src/plugins/RSErasurePlugin/RSErasurePlugin.c:638:5:
warning: implicit declaration of function 'twosComplement' is
invalid in C99 [-Wimplicit-function-declaration]<br/>
? twosComplement(a)<br/>
^<br/>
/home/rabbit/vm-dev/opensmalltalk-vm/src/plugins/RSErasurePlugin/RSErasurePlugin.c:645:2:
warning: implicit declaration of function 'popthenPushInteger'
is invalid in C99 [-Wimplicit-function-declaration]<br/>
popthenPushInteger(2, result);<br/>
^<br/>
/home/rabbit/vm-dev/opensmalltalk-vm/src/plugins/RSErasurePlugin/RSErasurePlugin.c:695:5:
warning: implicit declaration of function 'twosComplement' is
invalid in C99 [-Wimplicit-function-declaration]<br/>
? twosComplement(a)<br/>
^<br/>
24 warnings and 10 errors generated.<br/>
make[1]: *** [Makefile:177: RSErasurePlugin.lo] Error 1<br/>
make: *** [Makefile:582: RSErasurePlugin.la] Error 2<br/>
<br/>
</blockquote>
<div class="moz-signature">-- <br/>
---<br/>
Kindly,<br/>
Robert<br/>
<br/>
<br/>
</div>
</blockquote>
</body></html>