I've been trying to build LyX 1.1.2 on an old SGI Indy with Irix 5.3.
(We're slowly replacing these with PCs, but can't afford to do so
all at once. The Indys can't be upgraded to - the most recent - Irix
6.5 without an uneconomic hardware upgrade.) I fetched Xpm 4.11 (3.4k)
and libforms 88, and compiled with gcc 2.95.2 (C, C++). There were
a few minor portability problems with the source (e.g C++ complained
about losing the const qualifier when passing an argument to putenv()
- `const char *' to `const', I presume) but the major problem I have
had is the following:
...
g++ -DHAVE_CONFIG_H -I. -I. -I. -I../images -I/york/sys/include \
-O2 -c vspace.C
g++ -O2 -L/york/mips/lib -o lyx BufferView.o Bullet.o Chktex.o \
DepTable.o FontInfo.o FontLoader.o ImportLaTeX.o ImportNoweb.o LaTeX.o \
LaTeXFeatures.o LaTeXLog.o Literate.o LyXAction.o LyXSendto.o LyXView.o \
PaperLayout.o ParagraphExtra.o Spacing.o TableLayout.o bmtable.o buffer.o \
bufferlist.o bufferparams.o bullet_forms.o bullet_forms_cb.o chset.o \
combox.o credits.o credits_form.o filedlg.o form1.o intl.o kbmap.o \
lastfiles.o latexoptions.o layout.o layout_forms.o lyx.o lyx_cb.o \
lyx_gui.o lyx_gui_misc.o lyx_main.o lyx_sendfax.o lyx_sendfax_main.o \
lyx_sty.o lyxdraw.o lyxfont.o lyxfr0.o lyxfr1.o lyxfunc.o lyxlex.o \
lyxlookup.o lyxrc.o lyxserver.o lyxvc.o main.o menus.o minibuffer.o \
paragraph.o print_form.o screen.o sp_form.o spellchecker.o table.o \
tex-accent.o tex-strings.o texoptions.o texrow.o text.o text2.o \
toolbar.o trans.o trans_mgr.o vspace.o mathed/mathed.o insets/insets.o \
support/libsupport.a ../intl/libintl.a -lforms -lXpm -lSM -lICE
-liberty -lc -lm -L/usr/lib -lX11
/usr/bin/../lib/ld:
The shared object /usr/lib/libSM.so did not resolve any symbols.
You may want to remove it from your link line.
Unresolved:
ostream type_info node
ostream type_info function
streambuf type_info function
streambuf type_info node
collect2: ld returned 1 exit status
*** Error code 1 (bu21)
Any ideas how I can correct this?
John A. Murdie
Department of Computer Science
University of York
England