bugGNU Octave - Bugs: bug #37342, undefined symbol: mexCallMATLAB

 
 

bug #37342: undefined symbol: mexCallMATLAB

Submitter:  Guillaume <gyom>
Submitted:  Thu 13 Sep 2012 12:13:20 PM UTC
   
 
Category:  Libraries Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Matlab Compatibility
Status:  Fixed Assigned to:  None
Originator Name:  Guillaume Open/Closed:  * Closed
Release:  * dev Operating System:  * Any
Fixed Release:  None Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Thu 13 Sep 2012 04:42:17 PM UTC, comment #3: 

It works now, many thanks.
You can close this report.

Guillaume <gyom>
Thu 13 Sep 2012 04:07:32 PM UTC, comment #2: 

This problem should be fixed by this change:

http://hg.savannah.gnu.org/hgweb/octave/rev/b5d0a47c171c

John W. Eaton <jwe>
Group administrator
Thu 13 Sep 2012 02:21:11 PM UTC, comment #1: 

You can reproduce the problem with the example file from Octave.
A warning occurs during compilation:

octave/examples> mkoctfile --mex myfeval.c
myfeval.c: In function ‘mexFunction’:
myfeval.c:21:3: warning: passing argument 4 of ‘mexCallMATLAB’ from incompatible pointer type
octave/mexproto.h:77:26: note: expected ‘mxArray **’ but argument is of type ‘const mxArray **’

and the execution of the MEX file returns an error:

octave:1> myfeval
error: octave/examples/myfeval.mex: failed to load: octave/examples/myfeval.mex: undefined symbol: mexCallMATLAB


Guillaume <gyom>
Thu 13 Sep 2012 12:13:20 PM UTC, original submission:  

There seems to have been a change over the last days such that MEX files calling mexCallMATLAB now crash:

failed to load: file.mex: undefined symbol: mexCallMATLAB


Guillaume <gyom>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by jordigh (Updated the item)
  • -email is unavailable- added by jwe (Posted a comment)
  • -email is unavailable- added by gyom (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only group members can vote.

     

    Follow 3 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2012-09-13 jordigh StatusReady For Test Fixed
        Open/ClosedOpen Closed
    2012-09-13 jwe StatusNone Ready For Test

    Back to the top

    Powered by Savane 3.13-4b48.
    Corresponding source code