help-octave
[Top][All Lists]
Advanced

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

octavelib in standalone program


From: Erich Schneider
Subject: octavelib in standalone program
Date: Thu, 16 Sep 99 20:16:43

I'm trying to use the octave libraries in my own standalone project on
a SGI O2. I've already compiled octave 2.0.14 with --enable-shared
under gcc 2.8.1 and it is running. Creating oct-files with mkoctfile is
working, too.

For a start I just wanted to compile this simple program:

#include <octave/oct.h>
main()
{
  Matrix m(1,1,1.0 );
}

When linking I get an enourmous amount of warnings like these:

c++ -Wall -L/usr/lib/mips2 -L/usr/lib -L/usr/lib32 -L/usr/freeware/lib
-L/usr/freeware/lib/gcc-lib/mips-sgi-irix6.3/2.8.1 -loctinterp -loctave
 -lcruft -lcurses -ldl -lsocket -lsun -lm -o project project.o
...
ld: WARNING 85: definition of putback__7istreamc in
/usr/lib32/liboctinterp.so preempts that definition in
/usr/lib32/liboctave.so.
ld: WARNING 85: definition of gcount__7istream in
/usr/lib32/liboctinterp.so preempts that definition in
/usr/lib32/liboctave.so.

Finally, the linker stops with 2 errors:

ld: ERROR 33: Unresolved text symbol "__t5Array1ZdiRCd" -- 1st
referenced by project.o.
ld: ERROR 33: Unresolved text symbol "_$_t5Array1Zd" -- 1st referenced
by project.o.

Has anybody done some similar work? Any help would be appreciated.

Erich Schneider


----------------------------------------------------------------------
Erich Schneider, Dipl.-Phys.     | address@hidden
Neurologische Forschung          | address@hidden
Ludwig-Maximilians-Universit"at  | 
Klinikum Grosshadern, M"unchen   | Fax: +49,89,70906,101



---------------------------------------------------------------------
Octave is freely available under the terms of the GNU GPL.  To ensure
that development continues, see www.che.wisc.edu/octave/giftform.html
Instructions for unsubscribing: www.che.wisc.edu/octave/archive.html
---------------------------------------------------------------------



reply via email to

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