help-octave
[Top][All Lists]
Advanced

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

OCTAVE: Problem getting .oct dynamicaly linked functions to run...


From: Braddock Gaskill
Subject: OCTAVE: Problem getting .oct dynamicaly linked functions to run...
Date: Mon, 7 Jul 1997 00:21:18 -0400 (EDT)

I'm trying to get the octave-2.08/examples/oregonator.cc example of a
cynamically loaded function to work on a (fairly recent) Red Hat Linux
system, and am running into a problem.

octave_config_info("dld") returns 1, ie I compiled dld support into
octave, and I also installed dld version 3.2.7.

Here is a typescript of exactly what's going on:

---------------------------------------------
Script started on Mon Jul  7 00:11:38 1997
address@hidden:/home/braddock/work/oct>cat /etc/issue

Red Hat Linux release 4.1 (Vanderbilt)
Kernel 2.0.27 on an i486

address@hidden:/home/braddock/work/oct>mkoctfile oregonator.cc
address@hidden:/home/braddock/work/oct>octave
Octave, version 2.0.8 (i486-pc-linux-gnu).
Copyright (C) 1996, 1997 John W. Eaton.
This is free software with ABSOLUTELY NO WARRANTY.
For details, type `warranty'.

octave:1> LOADPATH=[LOADPATH,":/home/braddock/work/oct"]
LOADPATH = 
.:/usr/local/stow/octave/libexec/octave/site/oct/i486-pc-linux-gnu//:/usr/local/stow/octave/share/octave/site/m//:/usr/local/stow/octave/libexec/octave/2.0.8/oct/i486-pc-linux-gnu//:/usr/local/stow/octave/share/octave/2.0.8/m//:/home/braddock/w
ork/oct
octave:2> oregonator([1,2,3],0)
octave: can't resolve symbol 'elem__C17octave_value_listi'
address@hidden:/home/braddock/work/oct>exit
exit

Script done on Mon Jul  7 00:13:10 1997
-------------------------------------------------------

Acording to the octave info file, the result should be:

ans =
   77.269353
   -0.012942
   -0.322000


Does anyone have a solution to this problem?  I'm trying to write some
wrapper routines to allow Octave to access FITS astronomical data files
via the cfitsio package (which I'll certainly try to make available to
the community). Thanks,

PS - Octave seems to be a really wonderful package!  Great work!

PPS - since I don't (yet) subscribe to this list, please be sure to e-mail
me any replies directly (address@hidden).  Thanks!

Braddock Gaskill
Far Ultraviolet Spectroscopic Explorer Satellite Project



reply via email to

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