octave-maintainers
[Top][All Lists]
Advanced

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

Re: Problem with an oct file that won't load


From: John W. Eaton
Subject: Re: Problem with an oct file that won't load
Date: Thu, 23 Oct 2008 12:36:18 -0400

On 23-Oct-2008, John Swensen wrote:

| While that is true that it shouldn't have -L, I still get the exact  
| same error after removing the -L.

I think if you want more information about the error, you'll need to
modify Octave so that it calls the appropriate routines to get better
information about the failure.  After doing a little searching, it
seems that the way to do this is to call NSLinkEditError if
NSLinkModule returns handle == 0 (and the option
NSLINKMODULE_OPTION_RETURN_ON_ERROR is set).  But I don't know where
to find full documentation about how to use these examples, and since
I don't have an OS X system, I would rather leave this task up to
someone else.

BTW, when searching for clues, I also found that OS X apparently has a
dlopen interface now, so perhaps we should just be using that if it is
available?  That doesn't necessarily solve your problem, but it could
allow us to eventually simplify the Octave sources by eliminating the
direct use of the NSLinkModule interface.

jwe


reply via email to

[Prev in Thread] Current Thread [Next in Thread]