Hello,

The 1.2.0 lyx binary fails to link on my RedHat 7.3 system (with all updates
from RedHat installed). See below for output.

The source is straight 1.2.0, and the xforms is 0.89 (the very same which I
used for building 1.1.6fix4 with no problems).

The "configure" command I used was:

./configure --prefix=/usr/local/lyx-1.2.0 --with-extra-lib=/usr/local/xforms/lib 
--with-extra-inc=/usr/local/xforms/lib

The last part of the "make" out is:

/bin/sh ../libtool --mode=link g++  -O -fno-exceptions  -L/usr/local/xforms/lib  -o 
lyx  BufferView.o BufferView2.o BufferView_pimpl.o Bullet.o Chktex.o ColorHandler.o 
CutAndPaste.o DepTable.o FloatList.o Floating.o FontInfo.o FontLoader.o FuncStatus.o 
LColor.o LaTeX.o LaTeXFeatures.o LyXAction.o LyXView.o MenuBackend.o Painter.o 
PainterBase.o ParagraphParameters.o Spacing.o TextCache.o Thesaurus.o 
ToolbarDefaults.o WorkArea.o XFormsView.o box.o buffer.o bufferlist.o bufferparams.o 
bufferview_funcs.o chset.o converter.o debug.o encoding.o exporter.o font.o gettext.o 
importer.o intl.o iterators.o kbmap.o kbsequence.o language.o lastfiles.o 
lengthcommon.o lyx_cb.o lyx_gui.o lyx_main.o lyx_sty.o lyxcursor.o lyxfont.o lyxfind.o 
lyxfunc.o lyxgluelength.o lyxlayout.o lyxlength.o lyxlex.o lyxlex_pimpl.o lyxlookup.o 
lyxrc.o lyxrow.o lyxserver.o lyxtextclass.o lyxtextclasslist.o lyxvc.o main.o 
minibuffer.o paragraph.o paragraph_pimpl.o screen.o sp_spell.o tabular.o tabular-old.o 
tabular_funcs.o tex-accent.o tex-strings.o texrow.o text.o text2.o tracer.o trans.o 
trans_mgr.o undo.o undo_funcs.o undostack.o vc-backend.o version.o vspace.o 
mathed/libmathed.la insets/libinsets.la frontends/libfrontends.la 
graphics/libgraphics.la support/libsupport.la `../sigc++/sigc-config --libs-names | 
sed -e 's/-lsigc//'` ../sigc++/libsigc.la   -ljpeg  -lSM -lICE -liberty -lc -lm   
-L/usr/X11R6/lib -lX11 
g++ -O -fno-exceptions -o lyx BufferView.o BufferView2.o BufferView_pimpl.o Bullet.o 
Chktex.o ColorHandler.o CutAndPaste.o DepTable.o FloatList.o Floating.o FontInfo.o 
FontLoader.o FuncStatus.o LColor.o LaTeX.o LaTeXFeatures.o LyXAction.o LyXView.o 
MenuBackend.o Painter.o PainterBase.o ParagraphParameters.o Spacing.o TextCache.o 
Thesaurus.o ToolbarDefaults.o WorkArea.o XFormsView.o box.o buffer.o bufferlist.o 
bufferparams.o bufferview_funcs.o chset.o converter.o debug.o encoding.o exporter.o 
font.o gettext.o importer.o intl.o iterators.o kbmap.o kbsequence.o language.o 
lastfiles.o lengthcommon.o lyx_cb.o lyx_gui.o lyx_main.o lyx_sty.o lyxcursor.o 
lyxfont.o lyxfind.o lyxfunc.o lyxgluelength.o lyxlayout.o lyxlength.o lyxlex.o 
lyxlex_pimpl.o lyxlookup.o lyxrc.o lyxrow.o lyxserver.o lyxtextclass.o 
lyxtextclasslist.o lyxvc.o main.o minibuffer.o paragraph.o paragraph_pimpl.o screen.o 
sp_spell.o tabular.o tabular-old.o tabular_funcs.o tex-accent.o tex-strings.o texrow.o 
text.o text2.o tracer.o trans.o trans_mgr.o undo.o undo_funcs.o undostack.o 
vc-backend.o version.o vspace.o  -L/usr/local/xforms/lib mathed/.libs/libmathed.a 
insets/.libs/libinsets.a frontends/.libs/libfrontends.a -lforms -lXpm 
graphics/.libs/libgraphics.a support/.libs/libsupport.a ../sigc++/.libs/libsigc.a 
/usr/lib/libjpeg.so -lSM -lICE -liberty -lc -lm -L/usr/X11R6/lib -lX11
/usr/local/xforms/lib/libforms.a(image_io_filter.o): In function `get_tmpf':
image_io_filter.o(.text+0x5e): the use of `tmpnam' is dangerous, better use `mkstemp'
/usr/local/xforms/lib/libforms.a(image_jpeg.o): In function `JPEG_read_pixels':
image_jpeg.o(.text+0x3fc): undefined reference to `__setjmp'
/usr/local/xforms/lib/libforms.a(image_jpeg.o): In function `JPEG_write':
image_jpeg.o(.text+0x716): undefined reference to `__setjmp'
/usr/local/xforms/lib/libforms.a(listdir.o): In function `fselect':
listdir.o(.text+0xd3): undefined reference to `_xstat'
/usr/local/xforms/lib/libforms.a(listdir.o): In function `fl_is_valid_dir':
listdir.o(.text+0x865): undefined reference to `_xstat'
/usr/local/xforms/lib/libforms.a(listdir.o): In function `fl_fmtime':
listdir.o(.text+0xaea): undefined reference to `_xstat'
collect2: ld returned 1 exit status
make[3]: *** [lyx] Error 1
make[3]: Leaving directory `/tmp/lyx-1.2.0/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/tmp/lyx-1.2.0/src'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/tmp/lyx-1.2.0/src'
make: *** [all-recursive] Error 1

Reply via email to