I've been working on a project using pd and the raspberry pi that includes writing Pd-extended externals on my mac.
When I came to debug the externals that were working flawlessly on my mac, I was getting segfaults on the pi. I tried to reduce the two externals that seemed to cause trouble together to their simplest states, which can be seen here.
As you can see, the code for the two objects are almost identical. However, when creating a patch, whichever external gets put into the patch first gets the message sent to the second one!
For instance, i might open pd-extended and make a blank patch, add the 'cmidi' object and attach a float to it, then add the 'elswating' object and attach a float to it. Now, if I click the float attached to elswating, the pd window will post "cmidi bang!", when it should post "elswating bang!".
this phenomena occurs in reverse if the elswating object were created first, with floats to either object posting "elswating bang!".
I compiled the code on the raspbpi using the "Pd library template version 1.0.14" that can be found here. The compilation spits out a "*.l_arm" file that I rename to "*.pd_linux", otherwise pd-extended fails to load them altogether.
I should also mention that I place the binaries in the '~/pd-externals' folder, and have also tried putting them in '/usr/local/lib/pd-externals' to no success.
Thanks in advance for any help!