[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
unknown symbol
From: |
E2 |
Subject: |
unknown symbol |
Date: |
Thu, 14 Aug 2003 13:12:50 -0400 |
User-agent: |
Mutt/1.5.4i |
I've defined some C functions in sausage_tree.h/sausage_tree.c and I
#included sausage_tree.h into opt_sausage.cc which I use mkoctfile to
build into a octave function. mkoctfile compiles with no errors, but
when I attempt to run the opt_sausage function in octave, I get the
following error:
/usr/libexec/ld-elf.so.1:
/usr/home/gatekeeper/robot/sausage/round2/opt_sausage.oct: Undefined symbol
"s_node_new__FddP6s_node"
I do not have any symbols defined as "s_node_new_FddP6s_node".
The error can be eliminated by not calling a function "s_node_new( .....)"
(which is defined in sausage_tree.c) in opt_sausage.cc
sausage_tree.c compiles without error by itself.
With main() included sausage_tree.c runs without error by itself.
Does anybody know why the symbol "s_node_new__FddP6s_node" exists, or
how I can fix the error?
--
--E2
-------------------------------------------------------------
Octave is freely available under the terms of the GNU GPL.
Octave's home on the web: http://www.octave.org
How to fund new projects: http://www.octave.org/funding.html
Subscription information: http://www.octave.org/archive.html
-------------------------------------------------------------