From bug-octave-request at bevo dot che dot wisc dot edu Mon Feb 28 19:25:51 2000 Subject: Compilation problems in 2.0.16 under OpenBSD 2.6 From: Chris Marston To: bug-octave at bevo dot che dot wisc dot edu Date: Mon, 28 Feb 2000 19:26:39 -0600 (CST) When I try to compile Octave 2.0.16 under OpenBSD 2.6, I run into the following problems: - dynamic-ld.cc throws const char * at functions the functions from dlfcn.h, which take char * (no const!). This causes g++ 2.9.5 to abort. - whilst linking, the following (long) error appears: dynamic-ld.cc:213: Undefined symbol `BaseDLList::del(void *&, int)' referenced from text segment dynamic-ld.cc:252: Undefined symbol `BaseDLList::length(void) const' referenced from text segment DLList.h:125: Undefined symbol `BaseDLList::error(char const *) const' referenced from text segment DLList.h:121: Undefined symbol `BaseDLList::error(char const *) const' referenced from text segment DLList.h:121: Undefined symbol `BaseDLList::error(char const *) const' referenced from text segment DLList.h:121: Undefined symbol `BaseDLList::error(char const *) const' referenced from text segment DLList.h:121: Undefined symbol `BaseDLList:: (...similar dross snipped....) op-cm-s.cc:215: Undefined symbol `octave_complex_matrix::assign(octave_value_list const &, ComplexMatrix const &)' referenced from text segment op-cm-s.cc:222: Undefined symbol `octave_scalar::t_id ' referenced from text segment op-cm-s.cc:223: Undefined symbol `octave_scalar::t_id ' referenced from text segment op-cm-s.cc:224: Undefined symbol `octave_scalar::t_id ' referenced from text segment op-cm-s.cc:225: Undefined symbol `octave_scalar::t_id ' referenced from text segment op-cm-s.cc:226: Undefined symbol `octave_scalar::t_id ' referenced from text segment op-cm-s.cc:227: Undefined symbol `octave_scalar::t_id ' referenced from text segment op-cm-s.cc:228: Undefined symbol `octave_scalar::t_id ' referenced from text segment op-cm-s.cc:229: Undefined symbol `octave_scalar::t_id ' referenced from text segment op-cm-s.cc:0: More undefined symbol octave_scalar::t_id refs follow op-cs-cm.cc:79: Undefined symbol `xpow(complex const &, ComplexMatrix const &)' referenced from text segment op-cs-cm.cc:165: Undefined symbol `x_el_div(complex, ComplexMatrix const &)' referenced from text segment op-cs-cm.cc:173: Undefined symbol `elem_xpow(complex const &, ComplexMatrix const &)' referenced from text segment ov-cx-mat.h:77: Undefined symbol `octave_complex_matrix::allocator ' referenced from text segment ov-cx-mat.h:60: Undefined symbol `octave_complex_matrix virtual table' referenced from text segment op-cs-cs.cc:85: Undefined symbol `xpow(complex const &, complex const &)' referenced from text segment op-cs-cs.cc:175: Undefined symbol `xpow(complex const &, complex const &)' referenced from text segment ov-cx-mat.h:77: Undefined symbol `octave_complex_matrix::allocator ' referenced from text segment ov-cx-mat.h:60: Undefined symbol `octave_comp (more skippage) zmlri.o: Undefined symbol `_dgamln_' referenced from text segment zmlri.o: Undefined symbol `_xzlog_' referenced from text segment zmlri.o: Undefined symbol `_dgamln_' referenced from text segment zmlri.o: Undefined symbol `_xzexp_' referenced from text segment zseri.o: Undefined symbol `_xzlog_' referenced from text segment zseri.o: Undefined symbol `_dgamln_' referenced from text segment So as you can see, something isn't linking right. Any help would be appreciated. Aside from a few compilation glitches, Octave looks like it's going to be fun to play with. :) Kudos. ----------------------------------------------------------------------- Octave is freely available under the terms of the GNU GPL. Octave's home on the web: http://www.che.wisc.edu/octave/octave.html How to fund new projects: http://www.che.wisc.edu/octave/funding.html Subscription information: http://www.che.wisc.edu/octave/archive.html -----------------------------------------------------------------------