From owner-FreeBSD-users-jp@jp.freebsd.org  Sat Jul 12 01:56:54 1997
Received: by jaz.jp.freebsd.org (8.8.6+2.7Wbeta5/8.7.3) id BAA00816
	Sat, 12 Jul 1997 01:56:54 +0900 (JST)
Received: by jaz.jp.freebsd.org (8.8.6+2.7Wbeta5/8.7.3) with SMTP id BAA00808
	for <FreeBSD-users-jp@jp.freebsd.org>; Sat, 12 Jul 1997 01:56:52 +0900 (JST)
Received: (from uucp@localhost) by mat.avisnet.or.jp (8.6.9+2.4W/3.5WAVISNET_MAT-9707) with UUCP id CAA26050 for FreeBSD-users-jp@jp.freebsd.org; Sat, 12 Jul 1997 02:01:06 +0900
Received: (from kane@localhost) by tatsu.kane.shimosuwa.nagano.jp (8.8.5/3.4Wbeta6-uucp) id BAA02041; Sat, 12 Jul 1997 01:55:17 +0900 (JST)
Message-Id: <199707111655.BAA02041@tatsu.kane.shimosuwa.nagano.jp>
To: FreeBSD-users-jp@jp.freebsd.org
From: Hideki KANEBAKO <kane@kane.shimosuwa.nagano.jp>
In-Reply-To: Your message of "Fri, 11 Jul 1997 22:03:48 +0900"
References: <199707111303.WAA03922@onion.ish.org>
X-Mailer: Mew version 1.70 on Emacs 19.28.1 / Mule 2.3
Mime-Version: 1.0
Content-Type: Text/Plain; charset=iso-2022-jp
Content-Transfer-Encoding: 7bit
Date: Sat, 12 Jul 1997 01:55:17 +0900
Reply-To: FreeBSD-users-jp@jp.freebsd.org
Precedence: bulk
X-Distribute: distribute [version 2.1 (Alpha) patchlevel=19]
X-Sequence: FreeBSD-users-jp 15723
Subject: [FreeBSD-users-jp 15723] [Q] octave dose not exec .oct function.
Errors-To: owner-FreeBSD-users-jp@jp.freebsd.org
Sender: owner-FreeBSD-users-jp@jp.freebsd.org

$B6bH"$G$9!#(B

FreeBSD $B$N(B OS $B$,$i$_$NOC$G$O$J$/$F?=$7Lu$J$$$N$G$9$,!"(Bports $B$5$l$F$$$k(B
$B%"%W%j%1!<%7%g%s$G!"(BFreeBSD $B8GM-$NLdBj$N2DG=@-$,$"$k$N$G$4MF<O$/$@$5$$!#(B

octave 2.0.8 $B$r(B 2.2.1 or 2.2.2 box $B$K%$%s%9%H!<%k$7$?$N$G$9$,!"%@%$%J(B
$B%_%C%/%m!<%@%V%k%U%!%s%/%7%g%s(B xxx.oct $B$,<B9T$G$-$:$K:$$C$F$$$^$9!#(B

examples $B$N(B hello.cc $B$r(B mkoctfile $B$K$F(B hello.oct $B$K%3%s%Q%$%k$7$F!"(B
hello.cc $B$N%3%a%s%H$K$"$k$h$&$K<B9T$9$k$H!"(B

error: unable to link function `FShello__Fv'
error: `hello' undefined near line 1 column 1
error: evaluating expression near line 1, column 1

$B$H$$$o$l$F$7$^$$$^$9!#(B

octave $B$O(B ports $B$G%3%s%Q%$%k$7$^$7$?!#$b$A$m$s!"(B
octave_config_info("dld") $B$O(B 1 $B$G$9!#(B

ports $B$G$J$/$F!"(Bconfigure --enable-shared --enable-dl $B$G(B make $B$7$F$b7k(B
$B2L$OF1$8$G$7$?!#(B

octave $B$N(B $B%a!<%j%s%0%j%9%H$K$bLd$$9g$o$;$F$$$k$N$G$9$,!"(BFreeBSD $B;H$$$O(B
$B>/$J$$$N$+L@3N$JEz$($,JV$C$FMh$^$;$s!#(B

$B$I$J$?$+!"(Bxxx.oct $B$,<B9T$G$-$F$$$kJ}$O$$$i$C$7$c$$$^$;$s$+!)(B

$B$^$?$O!"(Bliboctave.a (libcotave.so)$B$N;H$$J}!"$b$7$/$O(B sample $B%3!<%I$O(B
$B$4B8CN$"$j$^$;$s$+!#(B

---
Hideki KANEBAKO
Key fingerprint = D4 1D 3E 5D 63 DB F1 9D  91 05 C5 6A FF E7 42 23
Address: kane@kane.shimosuwa.nagano.jp
Office:  kane@gb.sankyoseiki.co.jp


