[Solution] Linking problem with octave-1.1.1 and gcc-2.7.0

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[Solution] Linking problem with octave-1.1.1 and gcc-2.7.0

Rob Browning-2
Sender: [hidden email]

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
<<<<<<<<