[Date Prev][Date Next][Thread Prev][Thread Next] [Search] [Date Index] [Thread Index]

Re: [MacPerl] Build Advice from Codewarrior/MacOS experts requested



On 6 Feb 1999, Matthias Neeracher wrote:

> In article <Pine.GSO.3.95.iB1.0.990205232309.4699A-100000@halifax.chebucto.ns.ca>, Arved Sandstrom <Arved_37@chebucto.ns.ca> writes:
> 
> > Fortunately he uses the MacPerl app much more than I do, and he tested 
> > under that.  Dynaloader barfs on dl_load_file() with a -2807 Code Fragment 
> > Manager error, which is "fragHadUnresolveds", or "Loaded fragment has 
> > unacceptable unresolved symbols".
> 
> That normally means that your fragment *imports* something that is not
> exported. Do a DumpPEF on the fragment and check what it is importing from
> perl. It might be that I forgot to export some of it from MacPerl.
> 
Thank you, sir. :-) This gives me that lttle bit of extra info (some
guidance, so to speak) that I need at this point.

> > I went and looked at Random.exp. My first question: why is only the 
> > bootstrap, "boot_Math__Random", being exported?
> 
> That's why they call it a bootstrap function :-)
> 
> Perl gets the bootstrap function through a lookup by name and calls it. This
> function then registers all the other exported functions (and since it resides
> in the same module, it can reference them locally without needing to import
> them.
> 
Which if I looked at your code in detail doubtless I would've seen for
myself. :-) I'll have to look at your code in more detail, just for
educational purposes.

Thanks again. This particular thing may actually get solved. :-)

Arved



***** Want to unsubscribe from this list?
***** Send mail with body "unsubscribe" to mac-perl-request@iis.ee.ethz.ch