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


bug #37342: undefined symbol: mexCallMATLAB

Submitted by:  Guillaume <gyom>
Submitted on:  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

Add a New Comment (Rich Markup)

You are not logged in

Please log in, so followups can be emailed to you.


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:


John W. Eaton <jwe>
Project 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:

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)

    Do you think this task is very important?
    If so, you can add your encouragement to it.
    This task has 0 encouragements so far.

    Only project 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.5