[Q] getting .oct dynamicaly linked functions to run on FreeBSD Box

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[Q] getting .oct dynamicaly linked functions to run on FreeBSD Box

Hideki KANEBAKO
I'm trying to get the octave-2.0.8/examples/hello.cc example to work
on FreeBSD 2.2.2 Box.

octave_config_info("dld") returns 1, so that octave was compiled to
support dynamically linked functions.

Here is a typescript:

---

deskpro(kane)/home/kane/octave-2.0.8/examples> mkoctfile hello.cc
deskpro(kane)/home/kane/octave-2.0.8/examples> octave
Octave, version 2.0.8 (i386-unknown-freebsd).
Copyright (C) 1996, 1997 John W. Eaton.
This is free software with ABSOLUTELY NO WARRANTY.
For details, type `warranty'.

octave:1> hello ("ease as", 1, 2, 3)
error: unable to link function `FShello__Fv'
error: `hello' undefined near line 1 column 1
error: evaluating index expression near line 1, column 1
octave:1>

---

LOADPATH is heare:

octave:1> LOADPATH
LOADPATH = .:/usr/local/libexec/octave/site/oct/i386-unknown-freebsd//:/usr/local/share/octave/site/m//:/usr/local/libexec/octave/2.0.8/oct/i386-unknown-freebsd//:/usr/local/share/octave/2.0.8/m//

Current directly is in LOADPATH.

Dose anyone have a solution to this problem ?

--
Hideki Kanebako,   SANKYO SEIKI MFG. CO., LTD. NAGANO, JAPAN
PGP Key fingerprint = E1 50 63 DA C6 59 A7 5A  92 DD 81 C6 E1 E2 8C 92
Office: [hidden email]
Home:   [hidden email]
        [hidden email]