From help-octave-request at bevo dot che dot wisc dot edu Wed Sep 20 15:57:15 1995 Subject: [Solution] Linking problem with octave-1.1.1 and gcc-2.7.0 From: osiris at cs dot utexas dot edu To: help-octave at bevo dot che dot wisc dot edu Date: Wed, 20 Sep 1995 15:56:29 -0500 Sender: help-octave-request at bevo dot che dot wisc dot edu My problem was is reprinted below. The solution was to avoid using -O2 for CXXFLAGS. (Thanks to Eric Lin). make CFLAGS="-m486 -O2" CXXFLAGS="-m486 -O" Thanks, --Rob. >>>>>> I managed to install the patches for 2.7.0, and perform the whole compile, but at the end I get the linker errors below. ... liboctdld.a ../liboctave/liboctave.a libtinst.a ../libcruft/libcruft.a ../info/libinfo.a ../readline/libreadline.a ../kpathsea/libkpathsea.a \ -lf2c -L/usr/lib/gcc-lib/i486-debian-linuxaout/2.7.0 -lgcc -ltermcap -lm -lg++ procstream.o(.text+0xb9): undefined reference to `procbuf virtual table' procstream.o(.text+0x1cd): undefined reference to `procbuf virtual table' DLList-fi.o(.text+0x20c): undefined reference to `BaseDLList::join(BaseDLList &)' SLStack-tok.o(.text+0x2cc): undefined reference to `BaseSLList::join(BaseSLList &)' SLStack-i.o(.text+0x2cc): undefined reference to `BaseSLList::join(BaseSLList &)' SLStack-tm.o(.text+0x36c): undefined reference to `BaseSLList::join(BaseSLList &)' SLList-tc.o(.text+0x44c): undefined reference to `BaseSLList::join(BaseSLList &)' SLList-misc.o(.text+0x40c): undefined reference to `BaseSLList::join(BaseSLList &)' SLList-misc.o(.text+0x7dc): more undefined references to `BaseSLList::join(BaseSLList &)' follow <<<<<<<<