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

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

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

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
Brad@Cent:/home/braddock/work/oct>cat /etc/issue

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

Brad@Cent:/home/braddock/work/oct>mkoctfile oregonator.cc
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
octave:2> oregonator([1,2,3],0)
octave: can't resolve symbol 'elem__C17octave_value_listi'

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

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

ans =

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 ([hidden email]).  Thanks!

Braddock Gaskill
Far Ultraviolet Spectroscopic Explorer Satellite Project