octave-bug-tracker
[Top][All Lists]
Advanced

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

[Octave-bug-tracker] [bug #40824] MEX functions in private folders not d


From: Julien Bect
Subject: [Octave-bug-tracker] [bug #40824] MEX functions in private folders not detected after compilation
Date: Fri, 06 Dec 2013 12:36:02 +0000
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux i686; rv:25.0) Gecko/20100101 Firefox/25.0

URL:
  <http://savannah.gnu.org/bugs/?40824>

                 Summary: MEX functions in private folders not detected after
compilation
                 Project: GNU Octave
            Submitted by: jbect
            Submitted on: ven. 06 déc. 2013 12:36:01 GMT
                Category: Interpreter
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Incorrect Result
                  Status: None
             Assigned to: None
         Originator Name: 
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: dev
        Operating System: GNU/Linux

    _______________________________________________________

Details:

If I compile a MEX file which is in a private folder, and the run a function
from the parent folder, the compiled MEX file is not detected.


## First, I build a MEX-file which is in the 'private' directory

cd private
mex stk_dist_matrixx.c -I../../include
rehash  # with or without this, the result will be the same...
cd ..

## Second, I call a function that calls stk_dist_matrixx
## (the file stk_dist.m is in the current directory)

stk_dist (rand (10))

## Result: Octave doesn't find stk_dist_matrixx
#
# error: 'stk_dist_matrixx' undefined near line 76 column 13
# error: called from:
# error:   /media/data/svn/stk/sourceforge/svn/trunk/misc/dist/stk_dist.m at
line 76, column 11
# error:   /media/data/svn/stk/sourceforge/svn/trunk/misc/dist/essai.m at line
6, column 1

## Note: if I restart Octave, stk_dist_matrixx is found

## Note: Ubuntu 12.04 with Octave 3.7.7+, but I have seen the same problem in
all Octave releases that I have tried.






    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?40824>

_______________________________________________
  Message posté via/par Savannah
  http://savannah.gnu.org/




reply via email to

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