[Top][All Lists]

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

Debug loading of oct-file

From: Kim Hansen
Subject: Debug loading of oct-file
Date: Mon, 7 Jan 2008 17:33:45 +0100

I have problems getting octave to load an oct-file I have build with a
test installation of octave:

I am building the octave installation and runs octave like this:
address@hidden:~/saft-octave/solver/saft/octave/ignore$ ls -l
total 6
drwxr-xr-x 14 kim kim 4096 2008-01-06 20:20 cvs     # Updated cvs
checkout of octave
drwxr-xr-x  2 kim kim   25 2008-01-07 17:17 my_code   # My code

mkdir build
cd build
../cvs/configure F77=gfortran --prefix=$(readlink -f ../install)
make check install
cd ..

cd my_code
# build my code ...

octave:1> coin_oct
error: `coin_oct' undefined near line 1 column 1
octave:1> ls -l coin_oct.oct
-rwxr-xr-x 1 kim kim 1756418 2008-01-07 17:17 coin_oct.oct

How do I start debugging what the problem is ?

I have tried to load my code into an old version of octave (2.9.15),
and that gives me the expected error message:
octave:1> coin_oct
error: API version api-v32+ found in .oct file function `coin_oct'
       does not match the running Octave (API version api-v27)
       this can lead to incorrect results or other failures
       you can fix this problem by recompiling this .oct file
error: failed to install .oct file function `coin_oct'

Kim Hansen
Vadgårdsvej 3,
2860 Søborg
Fastnet: 3956 2437  --  Mobil: 3091 2437

reply via email to

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