<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Troubles compiling old version 0.43-4]]></title><description><![CDATA[<p>Hi!</p>
<p>I'm digging up some old Pd patches that I wrote ages ago which no longer work on the current Pd version, and I need to run Pd 0.43 to compare some behaviors between the current version and that version.</p>
<p>Since I couldn't find any binaries at <a href="https://puredata.info/downloads/pure-data/releases/0.43.4" rel="nofollow">https://puredata.info/downloads/pure-data/releases/0.43.4</a>, I downloaded the source code and I'm trying to compile it on Manjaro Linux.</p>
<p>Following the instructions in INSTALL.txt, it says there are two build systems, an &quot;old&quot; and a &quot;new&quot; one. I tried both and they fail with apparently very different issues.</p>
<p>With the &quot;new&quot; build system, when running <code>make</code> I get:</p>
<pre><code>(...)
/usr/bin/ld: pd-s_audio_oss.o:(.bss+0x8): multiple definition of `sys_soundout'; pd-s_audio.o:(.bss+0x8): first defined here
/usr/bin/ld: pd-s_audio_oss.o:(.bss+0x0): multiple definition of `sys_soundin'; pd-s_audio.o:(.bss+0x0): first defined here
/usr/bin/ld: pd-s_audio_oss.o:(.bss+0x10): multiple definition of `sys_dacsr'; pd-s_audio.o:(.bss+0x10): first defined here
collect2: error: ld returned 1 exit status
make[2]: *** [Makefile:706: pd] Error 1
make[2]: Leaving directory '/home/teo/programmi/puredata/releases/043-4/pd-0.43-4/src'
make[1]: *** [Makefile:919: all-recursive] Error 1
make[1]: Leaving directory '/home/teo/programmi/puredata/releases/043-4/pd-0.43-4'
make: *** [Makefile:819: all] Error 2
</code></pre>
<p>With the &quot;old&quot; build system, when running <code>./configure</code> I get:</p>
<pre><code>(...)
checking tcl.h usability... yes
checking tcl.h presence... yes
checking for tcl.h... yes
checking for main in -ltcl85... no
checking for main in -ltcl8.5... no
checking for main in -ltcl84... no
checking for main in -ltcl8.4... no
checking for main in -ltcl8.3... no
checking for main in -ltcl8.2... no
checking for main in -ltcl8.0... no
no tcl library found

</code></pre>
<p>Any idea how to fix either?</p>
<p>Thanks</p>
]]></description><link>http://forum.pdpatchrepo.info/topic/15063/troubles-compiling-old-version-0-43-4</link><generator>RSS for Node</generator><lastBuildDate>Tue, 21 Jul 2026 09:58:06 GMT</lastBuildDate><atom:link href="http://forum.pdpatchrepo.info/topic/15063.rss" rel="self" type="application/rss+xml"/><pubDate>Sun, 16 Mar 2025 10:42:11 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Troubles compiling old version 0.43-4 on Sun, 16 Mar 2025 10:42:11 GMT]]></title><description><![CDATA[<p>Hi!</p>
<p>I'm digging up some old Pd patches that I wrote ages ago which no longer work on the current Pd version, and I need to run Pd 0.43 to compare some behaviors between the current version and that version.</p>
<p>Since I couldn't find any binaries at <a href="https://puredata.info/downloads/pure-data/releases/0.43.4" rel="nofollow">https://puredata.info/downloads/pure-data/releases/0.43.4</a>, I downloaded the source code and I'm trying to compile it on Manjaro Linux.</p>
<p>Following the instructions in INSTALL.txt, it says there are two build systems, an &quot;old&quot; and a &quot;new&quot; one. I tried both and they fail with apparently very different issues.</p>
<p>With the &quot;new&quot; build system, when running <code>make</code> I get:</p>
<pre><code>(...)
/usr/bin/ld: pd-s_audio_oss.o:(.bss+0x8): multiple definition of `sys_soundout'; pd-s_audio.o:(.bss+0x8): first defined here
/usr/bin/ld: pd-s_audio_oss.o:(.bss+0x0): multiple definition of `sys_soundin'; pd-s_audio.o:(.bss+0x0): first defined here
/usr/bin/ld: pd-s_audio_oss.o:(.bss+0x10): multiple definition of `sys_dacsr'; pd-s_audio.o:(.bss+0x10): first defined here
collect2: error: ld returned 1 exit status
make[2]: *** [Makefile:706: pd] Error 1
make[2]: Leaving directory '/home/teo/programmi/puredata/releases/043-4/pd-0.43-4/src'
make[1]: *** [Makefile:919: all-recursive] Error 1
make[1]: Leaving directory '/home/teo/programmi/puredata/releases/043-4/pd-0.43-4'
make: *** [Makefile:819: all] Error 2
</code></pre>
<p>With the &quot;old&quot; build system, when running <code>./configure</code> I get:</p>
<pre><code>(...)
checking tcl.h usability... yes
checking tcl.h presence... yes
checking for tcl.h... yes
checking for main in -ltcl85... no
checking for main in -ltcl8.5... no
checking for main in -ltcl84... no
checking for main in -ltcl8.4... no
checking for main in -ltcl8.3... no
checking for main in -ltcl8.2... no
checking for main in -ltcl8.0... no
no tcl library found

</code></pre>
<p>Any idea how to fix either?</p>
<p>Thanks</p>
]]></description><link>http://forum.pdpatchrepo.info/topic/15063/troubles-compiling-old-version-0-43-4</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/15063/troubles-compiling-old-version-0-43-4</guid><dc:creator><![CDATA[teo8976]]></dc:creator><pubDate>Sun, 16 Mar 2025 10:42:11 GMT</pubDate></item><item><title><![CDATA[Reply to Troubles compiling old version 0.43-4 on Sun, 16 Mar 2025 12:15:21 GMT]]></title><description><![CDATA[<p><a class="plugin-mentions-a" href="http://forum.pdpatchrepo.info/user/teo8976">@teo8976</a> Pd before 0.48 was 32 bit, and although 32-bit programs can be run under Manjaro it could be a lot of work...... <a href="https://forum.manjaro.org/t/howto-run-older-32-bit-native-linux-games-and-success-with-gog-titles/139096" rel="nofollow">https://forum.manjaro.org/t/howto-run-older-32-bit-native-linux-games-and-success-with-gog-titles/139096</a><br />
The latest Pd vanilla (64-bit) should run your old patches correctly, except of course any missing externals.  The objects missing can almost always be found nowadays using Deken.</p>
<p>If they do have some other difference (they should not.... Pd keeps backward compatibility almost always) then you can send a message to Pd [; pd compatibility 0.43.4( from you patch.<br />
David.</p>
]]></description><link>http://forum.pdpatchrepo.info/topic/15063/troubles-compiling-old-version-0-43-4/2</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/15063/troubles-compiling-old-version-0-43-4/2</guid><dc:creator><![CDATA[whale-av]]></dc:creator><pubDate>Sun, 16 Mar 2025 12:15:21 GMT</pubDate></item><item><title><![CDATA[Reply to Troubles compiling old version 0.43-4 on Sun, 16 Mar 2025 16:06:36 GMT]]></title><description><![CDATA[<p>it isn't finding the libtcl library. Where is it installed?<br />
Anyways, are you sure they weren't written for 043-4-Extended rather than vanilla? Any old patch than ran on old PD vanilla should at least run in current PD<br />
Maybe instead of recompiling pd you could post those incompatibilities.</p>
]]></description><link>http://forum.pdpatchrepo.info/topic/15063/troubles-compiling-old-version-0-43-4/3</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/15063/troubles-compiling-old-version-0-43-4/3</guid><dc:creator><![CDATA[seb-harmonik.ar]]></dc:creator><pubDate>Sun, 16 Mar 2025 16:06:36 GMT</pubDate></item><item><title><![CDATA[Reply to Troubles compiling old version 0.43-4 on Mon, 17 Mar 2025 12:27:58 GMT]]></title><description><![CDATA[<p>Does this forum not send email notifications when a topic you create gets replies? I didn't get any.</p>
<p>Anyway...</p>
<p>My patch used Vanilla plus GEM and a few externals. I got all the updated versions of all the externals and Gem.<br />
Gem is the one that's causing most of the trouble... or rather all of the trouble.</p>
<p>I get GL stack underflows, crashes when closing the gemwin, &quot;someone sent a bogus pointer...&quot; and other errors, none of which existed back when I created the patch. I have started reporting the bugs to Gem, but it's hard to isolate them, narrow them down and create minimal reproducing examples, as the patch is very, very complex, and the last time I touched it (and Pd) 12 years ago it was running seamlessly and very stable. I also tested on Windows and it's even worse: there it crashes when <em>opening</em> the gemwin.</p>
<p>My goal is not to use the old version of Pd and Gem to run the patch. That would be my very, very last resort. One one hand I suspected a bc-breaking change in how Pd handled some kinds of messages and wanted to test that, but I have already discarded that; on the other hand I wanted to see if I could run the patch without issues on the old versions, and from there either (a) start trying to narrow down the issues, always comparing between the two versions (because I don't remember how half of the stuff works, so if I reduce it to a minimal patch and still get issues, I'm never sure whether I'm introducing errors in the patch) or maybe (b) offer the Gem developers my whole patch (I cannot publish it but I would trust them) as a black box that certainly triggers a bunch of bugs even though it's very far from a minimal test case. I can still do that but it would be nice to confirm that the patch runs with no errors with the older version on a modern machine and OS.</p>
<p>In the end I was able to compile Pd 0.43-3 (pretty sure it would have been the same with 0.43-4) with the &quot;new&quot; build system by using <code>CXXFLAGS=&quot;-std=c++98&quot;</code> for <code>configure</code>.</p>
<p>Now I have another issue:</p>
<p>Pd runs but only if I launch it from the correct folder. That is if I do from a terminal:</p>
<pre><code>cd /path/to/pd-043-3/src
pd
</code></pre>
<p>it works (that is where the compiled binary was created; anyway everything holds true if I move it to ../bin/).<br />
But if I do:</p>
<pre><code>cd /path/to/pd-043-3
src/pd
</code></pre>
<p>then I get the error:</p>
<pre><code>Error in startup script: couldn't read file &quot;../tcl//pd-gui.tcl&quot;: no such file or directory
</code></pre>
<p>Not a huge deal, I can write a shell script that <code>cd</code>s into the directory and runs pd, but it makes me think that something is not quite right.</p>
<p>I'm also trying and unable to compile the old version of Gem, but I'll open a separate thread about that.</p>
]]></description><link>http://forum.pdpatchrepo.info/topic/15063/troubles-compiling-old-version-0-43-4/4</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/15063/troubles-compiling-old-version-0-43-4/4</guid><dc:creator><![CDATA[teo8976]]></dc:creator><pubDate>Mon, 17 Mar 2025 12:27:58 GMT</pubDate></item></channel></rss>