help-octave
[Top][All Lists]
Advanced

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

Re: Problem with mex Support under Octave 2.1.39/octave-forge-2002.05.09


From: Paul Kienzle
Subject: Re: Problem with mex Support under Octave 2.1.39/octave-forge-2002.05.09
Date: Fri, 22 Nov 2002 12:17:05 -0500
User-agent: Mutt/1.2.5.1i

I fixed two problems in the CVS extra/mex directory.

In the Makefile, remove the following line:

        $(STRIP) mex.o # mkoctfile doesn't strip .o files

In mex.in, the last line should read something like:

@MKOCTFILE@ -o $name.oct mex_$name.cc @OPATH@/mex.o address@hidden@ $*

Things now work for me under 2.1.38, gcc 2.96.

Paul Kienzle
address@hidden

On Fri, Nov 22, 2002 at 05:47:58PM +0100, Johann Drexl wrote:
> Hello,
> 
> I'm using Octave, version 2.1.39 under SuSE 7.3/gcc version 2.95.3 .
>  
> I compiled my Octave using configuration with 
>  ./configure --enable-shared
> to enable the use of shared libraries.
> I can compile all oct-examples from  Octave 2.1.39 and run them under
> Octave.
> 
> 
> However, I'm having some trouble with the mex support from
> octave-forge-2002.05.09.
> I compiled octave-forge with:
> 1) rm -r FIXES
> and select extra packages by removing the file NOINSTALL from the extra
> packages you want to install
> 2) ./configure
> 3)      make
> 4) as root: make install
> 
> Then I compiled the myfeval.c example:
> address@hidden:~/octave/octave-forge-2002.05.09/extra/mex> mex myfeval.c -o
> myfeval.oct
> 
> But trying to run the myfeval.oct file under octave produced the
> following error: 
> address@hidden:~/octave/octave-forge-2002.05.09/extra/mex> octave
> octave:2> myfeval ("acos", -1)
> octave: error while loading shared libraries:
> /home/linux/octave/octave-forge-2002.05.09/extra/mex/myfeval.oct:
> undefined symbol: C_mex__FRC17octave_value_listi
> address@hidden:~/octave/octave-forge-2002.05.09/extra/mex> 
> 
> Any ideas on how to fix this?
> 
> Thanks
>       Johann
> 
> 
> 
> -------------------------------------------------------------
> Octave is freely available under the terms of the GNU GPL.
> 
> Octave's home on the web:  http://www.octave.org
> How to fund new projects:  http://www.octave.org/funding.html
> Subscription information:  http://www.octave.org/archive.html
> -------------------------------------------------------------
> 



-------------------------------------------------------------
Octave is freely available under the terms of the GNU GPL.

Octave's home on the web:  http://www.octave.org
How to fund new projects:  http://www.octave.org/funding.html
Subscription information:  http://www.octave.org/archive.html
-------------------------------------------------------------



reply via email to

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