<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="Generator" content="Microsoft Exchange Server">
<!-- converted from text --><style><!-- .EmailQuote { margin-left: 1pt; padding-left: 4pt; border-left: #800000 2px solid; } --></style>
</head>
<body>
<meta content="text/html; charset=UTF-8">
<style type="text/css" style="">
<!--
p
        {margin-top:0;
        margin-bottom:0}
-->
</style>
<div dir="ltr">
<div id="x_divtagdefaultwrapper" dir="ltr" style="font-size:12pt; color:#000000; font-family:Calibri,Helvetica,sans-serif">
<p>Hi Jakob,</p>
<p><br>
</p>
<p>do you have a description of the correct loading order? In my main image, I tried to load FFI via the Preference Wizard, and after some loading conflicts which I explicitly needed to #allow through the debugger, I got the same syntax error ...</p>
<p><br>
</p>
<p>Best,</p>
<p>Christoph</p>
<div id="x_Signature">
<div id="x_divtagdefaultwrapper" dir="ltr" style="font-size:12pt; color:rgb(0,0,0); font-family:Calibri,Helvetica,sans-serif,EmojiFont,"Apple Color Emoji","Segoe UI Emoji",NotoColorEmoji,"Segoe UI Symbol","Android Emoji",EmojiSymbols">
<div name="x_divtagdefaultwrapper" style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:; margin:0">
<div><font size="2" color="#808080"></font></div>
</div>
</div>
</div>
</div>
<hr tabindex="-1" style="display:inline-block; width:98%">
<div id="x_divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" color="#000000" style="font-size:11pt"><b>Von:</b> Squeak-dev <squeak-dev-bounces@lists.squeakfoundation.org> im Auftrag von Jakob Reschke <forums.jakob@resfarm.de><br>
<b>Gesendet:</b> Donnerstag, 10. September 2020 08:04:51<br>
<b>An:</b> The general-purpose Squeak developers list<br>
<b>Betreff:</b> Re: [squeak-dev] SyntaxError while loading FFI</font>
<div> </div>
</div>
</div>
<font size="2"><span style="font-size:10pt;">
<div class="PlainText">Hi Christoph,<br>
<br>
I had a similar issue and if I remember correctly got it resolved by<br>
loading the Tools subpackage of FFI. I think Marcel has recently split<br>
it.<br>
<br>
So if that is true, the load order in the baseline of FFI should be updated.<br>
<br>
Kind regards,<br>
Jakob<br>
<br>
Am Mi., 9. Sept. 2020 um 23:50 Uhr schrieb Thiede, Christoph<br>
<Christoph.Thiede@student.hpi.uni-potsdam.de>:<br>
><br>
> Hi all,<br>
><br>
><br>
> I fear this could be a frequently discussed topic, but I did not know where to start else.<br>
><br>
><br>
> In the web, you can find the following instruction in order to load FFI at several places, amongst them the Swiki:<br>
><br>
><br>
> Metacello new configuration: 'FFI'; load.<br>
><br>
><br>
> If I do this in a fresh trunk image (#19838) without any extra installs, I get a syntax error:<br>
><br>
><br>
> ffiPrintString: aString<br>
><br>
> "FFITestLibrary ffiPrintString: 'Hello'"<br>
><br>
> <cdecl: "Literal constant expected ->"char* 'ffiPrintString' (char *) module:'SqueakFFIPrims'><br>
><br>
> ^self externalCallFailed<br>
><br>
><br>
> This is at the very least confusing, I think :-) Are there any undocumented dependencies or something like this?<br>
><br>
> If I use the preference wizard instead, the installation succeeds. (It's not very convenient that it asks you for your initials during the installation, but this is only a small critique. :-))<br>
><br>
> I just wanted to inform you about that.<br>
><br>
><br>
> Best,<br>
><br>
> Christoph<br>
><br>
><br>
<br>
</div>
</span></font>
</body>
</html>