How to compile a plugin on MacOSX?
Alexandre Bergel
bergel at iam.unibe.ch
Mon Jul 26 13:41:46 UTC 2004
oups, please ignore my previous mail.
there was a mistake somewhere related to the "path to generated source". Probably I was too tired...
I succeeded to generate the .lo and .la files corresponding to the plugin. I put this file in the same folder of the Squeak 3.7.1Beta2.1.app VM and I try the following:
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
TestPlugin>>answerSeventeen2
<primitive: 'answerSeventeen' module: 'ClassboxPlugin'>
self primitiveFailed
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
The primitive fail...
Any help appreciated.
Thanks a lot,
Alexandre
On Sun, Jul 25, 2004 at 09:36:57PM -0700, John M McIntosh wrote:
>
> On Jul 25, 2004, at 4:21 PM, Alexandre Bergel wrote:
>
> >Hello!
> >
> >I encounter some issues when creating a plugin on MacOSX. Please make
> >me sleep again :-)
> >I have created it in Slang and generated it using VMMaker. I use the
> >Classic MacOSX VM, and not the one of Ian.
> >
> >What should I do? I tried to follow the instruction on
> >http://www-sor.inria.fr/~piumarta/squeak/devel.html#html/devel.m4.3.0
> >but it does not work.
> >Is there a more uptodate info related to plugin generation?
>
> what does "does not work" mean?
>
> >
> >In a doomed hope I tried:
> >-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
> >diorix at godfroy:~/Desktop/Squeak/Squeak3.7b-5967/ClassboxPlugin$ gcc
> >-dynamiclib ClassboxPlugin.c
> >ld: common symbols not allowed with MH_DYLIB output format with the
> >-multi_module option
> >/var/tmp//ccAAc8Vu.o definition of common _interpreterProxy (size 4)
> >/usr/bin/libtool: internal link edit command failed
> >-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
> >But it was hopeless...
> >
> >Thanks a lot,
> >Alexandre
> >
> >--
> >_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
> >Alexandre Bergel http://www.iam.unibe.ch/~bergel
> >^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
> >
> >
> >
> --
> ========================================================================
> ===
> John M. McIntosh <johnmci at smalltalkconsulting.com> 1-800-477-2659
> Corporate Smalltalk Consulting Ltd. http://www.smalltalkconsulting.com
> ========================================================================
> ===
>
--
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel http://www.iam.unibe.ch/~bergel
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
More information about the Squeak-dev
mailing list
|