[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Problem with octave .oct files: Octave, version 2.1.39 under SuSE 7
From: |
Johann Drexl |
Subject: |
Re: Problem with octave .oct files: Octave, version 2.1.39 under SuSE 7.3/gcc version 2.95.3 |
Date: |
Mon, 18 Nov 2002 16:56:42 +0100 |
Johann Drexl wrote:
>
> Hello,
>
> I'm trying to compile and build the oct-Examples in Octave.
> I'm using Octave, version 2.1.39 under SuSE 7.3/gcc version 2.95.3 .
>
> I can compile hello.cc with:
> mkoctfile -DHAVE_OCTAVE_21 -s -v hello.cc
> and generate a hello.oct File.
>
> But when I try to run the shared lib under octave I get:
> octave:3> hello
> error: /home/linux/tmp/octave-2.1.39/examples/hello.oct is not a valid
> shared library
>
> Using
> mkoctfile hello.cc
> doesn't work either.
>
> I searched the archive for this problem, but it seems to be unknown.
> Maybe it's a bug in Octave 2.1.39 ?
>
Ah. I found out that the trick is in configuring Octave with
./configure --enable-shared
to enable shared libraries.
Shame on me: This is mentioned in the README.linux file of the octave
distribution.
Sorry for molesting.
-------------------------------------------------------------
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
-------------------------------------------------------------