atom feed22 messages in at.iem.pd-devRe: [PD-dev] loaderHEX bug report
FromSent OnAttachments
Hans-Christoph SteinerNov 21, 2005 10:16 pm 
IOhannes m zmoelnigNov 22, 2005 1:54 am 
Hans-Christoph SteinerNov 22, 2005 7:31 am 
IOhannes m zmoelnigNov 22, 2005 7:42 am 
Hans-Christoph SteinerNov 22, 2005 8:22 am 
IOhannes m zmoelnigNov 22, 2005 8:38 am 
günter geigerNov 22, 2005 9:03 am 
IOhannes m zmoelnigNov 22, 2005 9:29 am 
Hans-Christoph SteinerNov 22, 2005 10:10 pm 
IOhannes m zmoelnigNov 23, 2005 2:09 am 
Thomas GrillNov 23, 2005 3:31 am 
IOhannes m zmoelnigNov 23, 2005 4:22 am 
Thomas GrillNov 23, 2005 4:25 am 
geigerNov 23, 2005 7:38 am 
IOhannes m zmoelnigNov 23, 2005 7:46 am 
Hans-Christoph SteinerNov 23, 2005 8:41 am 
Hans-Christoph SteinerNov 23, 2005 8:50 am 
Hans-Christoph SteinerNov 23, 2005 8:51 am 
IOhannes m zmoelnigNov 23, 2005 8:53 am 
Hans-Christoph SteinerNov 23, 2005 2:34 pm 
geigerNov 24, 2005 2:09 am 
IOhannes m zmoelnigNov 30, 2005 9:44 am 
Subject:Re: [PD-dev] loaderHEX bug report
From:Hans-Christoph Steiner (ha@eds.org)
Date:Nov 22, 2005 7:31:51 am
List:at.iem.pd-dev

On Nov 22, 2005, at 4:54 AM, IOhannes m zmoelnig wrote:

Hans-Christoph Steiner wrote:

So the [fiddle~] bug is fixed, here's a new one (from OSX): Launch Pd: hans@sla:darwin_app > build/Pd.app/Contents/Resources/bin/pd -verbose -stderr Try to use included [mtx_*]: tried /Users/hans/cvs/pure-data/packages/darwin_app/mtx_*.pd_darwin and failed tried /Users/hans/cvs/pure-data/externals/build/darwin/mtx_*.pd_darwin and failed tried build/Pd.app/Contents/Resources/extra/mtx_*.pd_darwin and failed tried /Users/hans/cvs/pure-data/packages/darwin_app/mtx_*/mtx_*.pd_darwin and failed tried /Users/hans/cvs/pure-data/externals/build/darwin/mtx_*/ mtx_*.pd_darwin and failed tried build/Pd.app/Contents/Resources/extra/mtx_*/mtx_*.pd_darwin and failed tried /Users/hans/cvs/pure-data/packages/darwin_app/mtx_0x2a.pd_darwin and failed tried /Users/hans/cvs/pure-data/externals/build/darwin/mtx_0x2a.pd_darwin and succeeded

so it succeeds here to find the external. however it fails to load the setup function. it then stops to search for more mtx_0x2a.pd_darwin files.

why? because the setup-function is not "mtx_0x2a_setup()" but rather "setup_mtx_0x2a()". in build/mtx_0x2a.c the wrong setup-function is defined.

Ah, thanks... it was a long day. Did you get the other bug report? That one is a bug in the patch... really! ;)

I have a question, why did you reverse the order of the original stantard setup function?

i.e. original = mtx_+_setup() altname = setup_mtx_0x2a()

I think that just makes things confusing and causes bugs, well, like the one we just talked about.

.hc

tried /Users/hans/cvs/pure-data/packages/darwin_app/mtx_*/mtx_*/ mtx_0x2a.pd_darwin and failed

this is weird. i think it should try to search for mtx_0x2a/mtx_0x2a.pd_darwin instead of mtx_*/mtx_*/mtx_0x2a.pd_darwin.

It is indeed there: hans@sla:darwin_app > ls -l build/Pd.app/Contents/Resources/extra/mtx_0x2a.pd_darwin -rwxr-xr-x 1 hans staff 48792 Nov 22 00:05 build/Pd.app/Contents/Resources/extra/mtx_0x2a.pd_darwin* But it never looks for: build/Pd.app/Contents/Resources/extra/mtx_0x2a.pd_darwin

see above: since it already found a mtx_0x2a.pd_darwin it stops looking for another one.

mfg.asdr IOhannes

"If nature has made any one thing less susceptible than all others of exclusive property, it is the action of the thinking power called an idea, which an individual may exclusively possess as long as he keeps it to himself; but the moment it is divulged, it forces itself into the possession of everyone, and the receiver cannot dispossess himself of it." - Thomas Jefferson