I added -fpermissive and it worked. Many Thanks. But now I got another error
with this output:
mkdir .libs
g++ -g -O2 -fpermissive -fno-rtti -fno-exceptions -L/home/tec3/lib
-Wl,-R/home/tec3/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
debug.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
undo.o vc-backend.o vspace.o mathed/.libs/libmathed.a insets/.libs/libinsets.a
support/.libs/libsupport.a ../intl/libintl.a -lforms -lXpm -liberty -lc -lm
-L/usr/openwin/lib -lX11 -lsocket -lnsl -R/usr/openwin/lib -R/usr/openwin/lib
Undefined first referenced
symbol in file
istream::ios virtual table Chktex.o
ostream::write(char const *, int) support/.libs/libsupport.a(lyxstring.o)
streambuf::sys_write(char const *, int)support/.libs/libsupport.a(DebugStream.o)
streambuf::sys_close(void) support/.libs/libsupport.a(DebugStream.o)
streambuf::streambuf(int) support/.libs/libsupport.a(DebugStream.o)
ostream::ostream(int, streambuf *, ostream
*)support/.libs/libsupport.a(DebugStream.o)
ostrstream::~ostrstream(void) FontInfo.o
streambuf::doallocate(void) support/.libs/libsupport.a(DebugStream.o)
strstreambase::strstreambase(int, char *, int, int)FontInfo.o
ofstream::ios virtual table DepTable.o
ostream::operator<<(streambuf *) bufferlist.o
ostream::seekp(long) buffer.o
istream::operator>>(char *) support/.libs/libsupport.a(lyxstring.o)
ifstream::~ifstream(void) Chktex.o
streambuf::underflow(void) support/.libs/libsupport.a(DebugStream.o)
endl(ostream &) BufferView.o
streambuf::seekpos(long, int) support/.libs/libsupport.a(DebugStream.o)
ostream::ios virtual table DepTable.o
istream::operator>>(char &) buffer.o
istream::operator>>(float &) lyx_cb.o
istream::operator>>(int &) table.o
istream::operator>>(unsigned long &)DepTable.o
streambuf::setbuf(char *, int) support/.libs/libsupport.a(DebugStream.o)
istrstream::istrstream(int, char const *, int)lyx_cb.o
streambuf::uflow(void) support/.libs/libsupport.a(DebugStream.o)
streambuf::xsgetn(char *, int) support/.libs/libsupport.a(DebugStream.o)
streambuf::sys_read(char *, int) support/.libs/libsupport.a(DebugStream.o)
fstream::ios virtual table buffer.o
istream::seekg(long) paragraph.o
istrstream::~istrstream(void) lyx_cb.o
streambuf::sys_stat(void *) support/.libs/libsupport.a(DebugStream.o)
ostream::operator<<(void const *) BufferView.o
ostream::operator<<(char const *) BufferView.o
filebuf::close(void) support/.libs/libsupport.a(DebugStream.o)
istream::getline(char *, int, char) lyxlex.o
ostrstream::ios virtual table FontInfo.o
ostream::operator<<(char) FontInfo.o
ostream::operator<<(double) Spacing.o
ostream::operator<<(int) FontInfo.o
ostream::operator<<(long) filedlg.o
fstreambase::close(void) buffer.o
streambuf::sys_seek(long,
ios::seek_dir)support/.libs/libsupport.a(DebugStream.o)
ostream::operator<<(unsigned int) BufferView.o
ostream::operator<<(unsigned long) DepTable.o
__iomanip_setw(ios &, int) buffer.o
istream::get(char &) LaTeX.o
ostream::tellp(void) buffer.o
iostream::ios virtual table buffer.o
fstream::~fstream(void) buffer.o
istream::istream(int, streambuf *, ostream *)lyxlex.o
streambuf::~streambuf(void) support/.libs/libsupport.a(DebugStream.o)
filebuf::~filebuf(void) buffer.o
ostream & operator<<<int>(ostream &, smanip<int> const &)buffer.o
flush(ostream &) insets/.libs/libinsets.a(figinset.o)
ifstream::ios virtual table Chktex.o
streambuf::seekoff(long, ios::seek_dir,
int)support/.libs/libsupport.a(DebugStream.o)
fstreambase::fstreambase(int, char const *, int, int)Chktex.o
filebuf::filebuf(void) lyxlex.o
ostream::flush(void) debug.o
filebuf::open(char const *, int, int)lyxlex.o
ofstream::~ofstream(void) DepTable.o
ios virtual table Chktex.o
streambuf::pbackfail(int) support/.libs/libsupport.a(DebugStream.o)
streambuf::sputbackc(char) buffer.o
ld: fatal: Symbol referencing errors. No output written to lyx
collect2: ld returned 1 exit status
make[3]: *** [lyx] Error 1
make[3]: Leaving directory `/home/st3/src/lyx-1.1.4/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/st3/src/lyx-1.1.4/src'
make[1]: *** [all-recursive-am] Error 2
make[1]: Leaving directory `/home/st3/src/lyx-1.1.4/src'
make: *** [all-recursive] Error 1
Manfred
> From: "Yann et Isabelle COLLETTE" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Subject: Re: Compilation error on Sparc Solaris 2.5.1
> Date: Sat, 19 Feb 2000 20:16:02 +0100
>
> Hello,
>
> Add the following statement in the Makefile
>
> -fpermissive
>
> (near the -O2). It works fine for me.
>
> YC