[Vm-dev] [error] compilation failing.... Re: [interrogative] CryptographyPlugins-eem.14
Robert
robert.withers at pm.me
Mon Mar 2 22:51:31 UTC 2020
I installed all the packages from the script travis_install.sh. and
rebuilt. I am having fatal errors compiling vm/vm.a
/bin/bash
/home/quotar/tribe/opensmalltalk-vm/build.linux64x64/squeak.cog.spur/build/libtool
--preserve-dup-deps --mode=link clang -g -O2 -DNDEBUG -DDEBUGVM=0 -msse2
-DCOGMTVM=0 -Wall -pthread -DLSB_FIRST=1 -m64 -L/usr/local/lib
-Wl,-z,now -export-dynamic -o squeak vm/vm.a
ADPCMCodecPlugin/ADPCMCodecPlugin.a AioPlugin/AioPlugin.a
AsynchFilePlugin/AsynchFilePlugin.a B2DPlugin/B2DPlugin.a
BitBltPlugin/BitBltPlugin.a BMPReadWriterPlugin/BMPReadWriterPlugin.a
CroquetPlugin/CroquetPlugin.a HostWindowPlugin/HostWindowPlugin.a
ZipPlugin/ZipPlugin.a DropPlugin/DropPlugin.a DSAPrims/DSAPrims.a
FFTPlugin/FFTPlugin.a FileCopyPlugin/FileCopyPlugin.a
FilePlugin/FilePlugin.a FloatArrayPlugin/FloatArrayPlugin.a
FloatMathPlugin/FloatMathPlugin.a IA32ABI/IA32ABI.a
JoystickTabletPlugin/JoystickTabletPlugin.a
JPEGReaderPlugin/JPEGReaderPlugin.a
JPEGReadWriter2Plugin/JPEGReadWriter2Plugin.a Klatt/Klatt.a
LargeIntegers/LargeIntegers.a Matrix2x3Plugin/Matrix2x3Plugin.a
MIDIPlugin/MIDIPlugin.a MiscPrimitivePlugin/MiscPrimitivePlugin.a
Mpeg3Plugin/Mpeg3Plugin.a RePlugin/RePlugin.a
SecurityPlugin/SecurityPlugin.a SerialPlugin/SerialPlugin.a
SocketPlugin/SocketPlugin.a SoundCodecPrims/SoundCodecPrims.a
SoundGenerationPlugin/SoundGenerationPlugin.a SoundPlugin/SoundPlugin.a
StarSqueakPlugin/StarSqueakPlugin.a SurfacePlugin/SurfacePlugin.a
VMProfileLinuxSupportPlugin/VMProfileLinuxSupportPlugin.a
disabledPlugins.o version.o -luuid -ldl -lutil -lpulse-simple -lasound
-ldl -lm vm/vm.a
libtool: link: clang -g -O2 -DNDEBUG -DDEBUGVM=0 -msse2 -DCOGMTVM=0
-Wall -pthread -DLSB_FIRST=1 -m64 -Wl,-z -Wl,now -o squeak
disabledPlugins.o version.o -Wl,--export-dynamic -L/usr/local/lib
vm/vm.a ADPCMCodecPlugin/ADPCMCodecPlugin.a AioPlugin/AioPlugin.a
AsynchFilePlugin/AsynchFilePlugin.a B2DPlugin/B2DPlugin.a
BitBltPlugin/BitBltPlugin.a BMPReadWriterPlugin/BMPReadWriterPlugin.a
CroquetPlugin/CroquetPlugin.a HostWindowPlugin/HostWindowPlugin.a
ZipPlugin/ZipPlugin.a DropPlugin/DropPlugin.a DSAPrims/DSAPrims.a
FFTPlugin/FFTPlugin.a FileCopyPlugin/FileCopyPlugin.a
FilePlugin/FilePlugin.a FloatArrayPlugin/FloatArrayPlugin.a
FloatMathPlugin/FloatMathPlugin.a IA32ABI/IA32ABI.a
JoystickTabletPlugin/JoystickTabletPlugin.a
JPEGReaderPlugin/JPEGReaderPlugin.a
JPEGReadWriter2Plugin/JPEGReadWriter2Plugin.a Klatt/Klatt.a
LargeIntegers/LargeIntegers.a Matrix2x3Plugin/Matrix2x3Plugin.a
MIDIPlugin/MIDIPlugin.a MiscPrimitivePlugin/MiscPrimitivePlugin.a
Mpeg3Plugin/Mpeg3Plugin.a RePlugin/RePlugin.a
SecurityPlugin/SecurityPlugin.a SerialPlugin/SerialPlugin.a
SocketPlugin/SocketPlugin.a SoundCodecPrims/SoundCodecPrims.a
SoundGenerationPlugin/SoundGenerationPlugin.a SoundPlugin/SoundPlugin.a
StarSqueakPlugin/StarSqueakPlugin.a SurfacePlugin/SurfacePlugin.a
VMProfileLinuxSupportPlugin/VMProfileLinuxSupportPlugin.a -luuid -ldl
-lutil -lpulse-simple -lasound -ldl -lm vm/vm.a -pthread
vm/vm.a(gcc3x-cointerp.o): In function `interpret':
/home/quotar/tribe/opensmalltalk-vm/spur64src/vm/gcc3x-cointerp.c:6036:
undefined reference to `sendBreakpointclassTag'
vm/vm.a(gcc3x-cointerp.o): In function `ceSendAborttonumArgs':
/home/quotar/tribe/opensmalltalk-vm/spur64src/vm/gcc3x-cointerp.c:14820:
undefined reference to `sendBreakpointclassTag'
/home/quotar/tribe/opensmalltalk-vm/spur64src/vm/gcc3x-cointerp.c:14820:
undefined reference to `sendBreakpointclassTag'
vm/vm.a(gcc3x-cointerp.o): In function `lookupMethodInClass':
/home/quotar/tribe/opensmalltalk-vm/spur64src/vm/gcc3x-cointerp.c:66867:
undefined reference to `sendBreakpointclassTag'
/home/quotar/tribe/opensmalltalk-vm/spur64src/vm/gcc3x-cointerp.c:66752:
undefined reference to `sendBreakpointclassTag'
vm/vm.a(gcc3x-cointerp.o):/home/quotar/tribe/opensmalltalk-vm/spur64src/vm/gcc3x-cointerp.c:14326:
more undefined references to `sendBreakpointclassTag' follow
clang: error: linker command failed with exit code 1 (use -v to see
invocation)
Makefile:176: recipe for target 'squeak' failed
make: *** [squeak] Error 1
On 3/2/20 4:03 PM, Robert wrote:
> Hey Levente, I managed to install the clang package and the files
> started compiling. I ran into errors during the make phase. Here is
> the config.log
> (https://www.dropbox.com/s/umi256f2g8dsdkj/config.log?dl=0) and my
> make.log (https://www.dropbox.com/s/txf7xlgijonk8c7/make.log?dl=0).
>
> tyk, r
>
> On 3/2/20 3:29 PM, Levente Uzonyi wrote:
>> On Mon, 2 Mar 2020, Robert wrote:
>>
>>> Alright, now, I found these Crypto plugins. They are in src/plugins/! I
>>> added them to the plugins.ext, in build.linux64x64/squeak.cog.spur,
>>> then
>>> ran ./build/mvm. The result is some error with the c compiler on my
>>> Ubuntu 18.04. Here tis:
>>>
>>> quotar at ganymede:~/tribe/opensmalltalk-vm/build.linux64x64/squeak.cog.spur/build$
>>>
>>> ./mvm
>>> clean? y
>>> /home/quotar/tribe/opensmalltalk-vm/spur64src
>>> /home/quotar/tribe/opensmalltalk-vm/src/plugins
>>> checking sanity of generated src directory... okay
>>> checking build system type... x86_64-unknown-linux-gnu
>>> checking host system type... x86_64-unknown-linux-gnu
>>> checking target system type... x86_64-unknown-linux-gnu
>>>
>>> Configuring Squeak (.-) for x86_64-linux-gnu
>>>
>>> checking whether make sets $(MAKE)... yes
>>> checking for gcc... clang
>>> checking whether the C compiler works... no
>> C compiler doesnt work. Some package must be missing.
>>
>>> configure: error: in
>>> `/home/quotar/tribe/opensmalltalk-vm/build.linux64x64/squeak.cog.spur/build':
>>>
>>> configure: error: C compiler cannot create executables
>>> See `config.log' for more details
>> What's in config.log?
>>
>> Levente
>>
>>> Grateful for assistance.
>>>
>>> tyk, r
>>>
>>>
>>> On 3/2/20 1:45 PM, Robert wrote:
>>>> I ran VMMaker class>>#generateVMPlugins which include these
>>>> CryptographyPlugins in the inclusions directory.
>>>>
>>>> DESPlugin DSAPlugin MD5Plugin SHA256Plugin
>>>>
>>>> Those plugins are still absent from Cross/plugins and unix/plugins.
>>>> I am
>>>> stuck why they aren't being generated. I am on the Squeak Slack
>>>> channel
>>>> if anyone would like to collaborate.
>>>>
>>>> K, r
>>>>
>>>> On 3/2/20 1:32 PM, Robert wrote:
>>>>> Alright, I see mvm in the build directory for
>>>>> linux64x64/squeak.cog.spur/ and the internal and external plugin
>>>>> files
>>>>> in linux64x64. Those files do not specify the CryptographyPlugins.
>>>>>
>>>>> Alright, so let us see if they are generated. I look in spur64src/
>>>>> and
>>>>> platforms/Cross/plugins and platforms/unix/plugins and in those
>>>>> locations I do not find any CryptographyPlugins, many others though.
>>>>>
>>>>> My question becomes how can a generate external plugins with the
>>>>> VMMaker for squeak.cog.spur?
>>>>>
>>>>> tyk, r
>>>>>
>>>>> On 3/2/20 1:09 PM, Robert wrote:
>>>>>> I launched my new vmmaker image *yes* and I see that the
>>>>>> CryptographyPlugins-eem.14 is loaded. *AWESOME*
>>>>>>
>>>>>> I forget how to look at what Plugins are generated externally.
>>>>>> Squeak
>>>>>> Slack is fairly quiet, may I ask a few questions? Is there an easy
>>>>>> way to explore this for the presence of the Cryptography plugins?
>>>>>> Which directory would be holding them on the filesystem? In which
>>>>>> directory do we generate binding files? Which side of which is what?
>>>>>>
>>>>>> TYK, r
>>>>>>
More information about the Vm-dev
mailing list