> On 3-Jul-1996, Jeppe Sigbrandt <[hidden email]> wrote:
> : Am interested in using dynamic loading with Octave.
> : Downloaded, compiled & installed dld-3.3 for Linux a.out.
> : Tried to compile example program in section 5.8 of documentation:
> : # g++ -I/mnt/jay/octave-1.1.1/src -I/mnt/jay/octave-1.1.1/liboctave ex_dld.C
> : Which yields:
> : ex_dld.C:10: macro `DEFUN_DLD' used with only 6 args
> : This could be extremely simple - I don't know any c++
> : - so any suggestions appreciated. [...]
> The documentation is wrong. The example should begin with
> DEFUN_DLD ("hello", Fhello, Shello, FShello, -1, -1,
> "hello (...)\n
Thanks for above help. Still doesn't work for me.
Am trying to figure out how the dynamic linking function works.
When compile these messages are given:
/usr/lib/crt0.o(.text+0x35): undefined reference to `main'
/tmp/cca122811.o(.text+0x19e): undefined reference to `cerr'
/tmp/cca122811.o(.text+0x1a3): undefined reference to `ostream::operator<<(char const *)'
/tmp/cca122811.o(.text+0x1af): undefined reference to `Array<tree_constant>::length(void) const'
/tmp/cca122811.o(.text+0x1f9): undefined reference to `Octave_object::operator()(int) const'
...... and many more .........