From: Gerd B. <bu...@pi...> - 2001-05-04 19:47:08
|
Dear Joao, You wrote: >Last chance: > >Create the oregonator.cc file with the contents supplied bellow, compile and >run it. Does it works on your system? > >$mkoctfile -v oregonator.cc >c++ -c -fPIC -I/usr/include -I/usr/include/octave-2.0.16 -mieee-fp -fno-rtti >-fno-exceptions -fno-implicit-templates -D_GNU_SOURCE oregonator.cc -o >oregonator.o >c++ -shared -o oregonator.oct oregonator.o Doesn't work. It gives ld: 0711-224 WARNING: Duplicate symbol: ._GLOBAL__DI ld: 0711-224 WARNING: Duplicate symbol: ._GLOBAL__DD ld: 0711-224 WARNING: Duplicate symbol: _GLOBAL__DI ld: 0711-224 WARNING: Duplicate symbol: _GLOBAL__DD ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more information. ld: 0711-317 ERROR: Undefined symbol: .octave_value_list::elem(int) const ld: 0711-317 ERROR: Undefined symbol: .octave_value::vector_value(bool, bool) const ld: 0711-317 ERROR: Undefined symbol: .octave_value::~octave_value(void) ld: 0711-317 ERROR: Undefined symbol: .octave_value::octave_value(ColumnVector const &, int) ld: 0711-317 ERROR: Undefined symbol: .Array<octave_value>::Array(int, octave_value const &) ld: 0711-317 ERROR: Undefined symbol: .Array<double>::~Array(void) collect2: ld returned 8 exit status Too bad. Gerd |