help-octave
[Top][All Lists]
Advanced

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

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


From: Hideki KANEBAKO
Subject: [Q] getting .oct dynamicaly linked functions to run on FreeBSD Box
Date: Fri, 11 Jul 1997 10:35:02 +0900

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: address@hidden
Home:   address@hidden
        address@hidden

 



reply via email to

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