[Vm-dev] [error] compilation failing.... Re: [interrogative] CryptographyPlugins-eem.14
Tobias Pape
Das.Linux at gmx.de
Mon Mar 2 23:05:05 UTC 2020
> On 02.03.2020, at 23:51, Robert <robert.withers at pm.me> wrote:
>
>
> 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
Something's fishy.
I don't see any reference to 'sendBreakpointclassTag' in that file on my end.
Given, there's some translation/macro magic, but not to much to miss that.
Can you give a `git diff` ?
Best regards
-Tobias
>
> 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:
>
More information about the Vm-dev
mailing list