From: Joao C. <jca...@in...> - 2001-05-04 20:15:57
|
On Friday 04 May 2001 21:47, Gerd B=FCrger wrote: | Dear Joao, | | You wrote: | >Last chance: | > | >Create the oregonator.cc file with the contents supplied bellow, compi= le | > 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 symbo= l: | .octave_value::vector_value(bool, bool) const ld: 0711-317 ERROR: Undef= ined | symbol: .octave_value::~octave_value(void) ld: 0711-317 ERROR: Undefine= d | 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(v= oid) | collect2: ld returned 8 exit status | | Too bad. Yes. The oregonator.cc file that I sent is a standard Octave (only) example, i= t=20 should compile. That's best to ask for help in the Octave mailing lists.= =20 Please supply the octave version, OS version, cc compiler, etc. Run octav= e,=20 type "octave_config_info", and send the results to the list, "complaining= "=20 that you can't compile oregonator.cc Luck! Jo=E3o PS-your octave was built with dynamic libs, wan't it? Search for "dld =3D= 1"=20 and "--enable-shared" in the above 'octave_config_info' command output. | | Gerd | | _______________________________________________ | Plplot-general mailing list | Plp...@pl... | http://lists.sourceforge.net/lists/listinfo/plplot-general |