From bug-octave-request at bevo dot che dot wisc dot edu Mon Dec 20 10:08:14 1999 Subject: Compilation (gcc-2.95.2) From: "John W. Eaton" To: Hagen Gilsing Cc: bug-octave at bevo dot che dot wisc dot edu Date: Mon, 20 Dec 1999 10:08:18 -0600 (CST) On 19-Dec-1999, Hagen Gilsing wrote: | Description: | ----------- | | I tried to compile Octave (2.1.13) with a new-built gcc-2.95.2. | gcc : version 2.95.2, i686-pc-linux-gnu (native host), residing in /usr/local, first in PATH, | full distribution (libstdc++ included), compiled without problems (make bootstrap) | binutils: version 2.9.1, i686-pc-linux-gnu (native host), residing in /usr/local, first in PATH | uname -a: Linux Merlin 2.2.5 #2 Sat Dec 4 00:34:02 CET 1999 i686 unknown | | 1. The compilation of file liboctave/idx-vector.cc (gcc-2.95.2, octave-2.1.13) | was interrupted by an error about mistyping: int (*)(const void*,const void*)-argument | at line 469 in file idx-vector.cc. | A cast shouldn't do any harm and solved the problem. | 2. During the last compilation step: | | c++ -I. -I/root/MathsPlotting/Octave/src/octave-2.1.13.src-i686-2.95.2-make-bootstrap/src -I.. ...\ | -L.. -u MAIN__ -fPIC -g -o octave \ | octave.o builtins.oops.o ... svd.o syl.o time.o \ | -L../liboctave -L../libcruft -L../src -Xlinker -rpath -Xlinker ... -lm\ | | the following error occurs (see appendix A1 for more detailed description): | | ../liboctave/liboctave.so: undefined reference to `void subtract_vs, double, complex >(complex *, double const *, unsigned int, complex)' | ../liboctave/liboctave.so: undefined reference to `void multiply_sv, double, complex >(complex *, double, complex const *, unsigned int)' | ... | collect2: ld returned 1 exit status | make[2]: *** [octave] Error 1 | make[2]: Leaving directory `/root/MathsPlotting/Octave/src/octave-2.1.13.src-i686-2.95.2-make-bootstrap/src' | make[1]: *** [src] Error 2 2.1.13 is pretty old now. Try the most recent bleeding-edge version. jwe ----------------------------------------------------------------------- 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 -----------------------------------------------------------------------