Hi!

I'm the lyx maintainer in NetBSD pkgsrc collection (http://www.pkgsrc.org/)
and I'm trying the new 1.2.0 pre5. The compilation is okay but the linking
fails because of unresolved references to fl_xxx() functions:

# c++ -O2 -W -Wall -Wl,-R/usr/X11R6/lib -Wl,-R/usr/pkg/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  -L/usr/X11R6/lib 
-L/usr/pkg/lib mathed/.libs/libmathed.a insets/.libs/libinsets.a 
frontends/.libs/libfrontends.a -lXpm graphics/.libs/libgraphics.a 
support/.libs/libsupport.a ../sigc++/.libs/libsigc.a /usr/pkg/lib/libintl.so -lSM 
-lICE -lc -lm -lX11 -Wl,--rpath -Wl,/usr/pkg/lib -Wl,--rpath -Wl,/usr/pkg/lib
BufferView_pimpl.o: In function `{anonymous}::SetXtermCursor(unsigned long)':
BufferView_pimpl.o(.text+0x19): undefined reference to `fl_display'
BufferView_pimpl.o(.text+0x2c): undefined reference to `fl_display'
[a lot of lines removed]
form_maths_matrix.o(.text+0x3f0): undefined reference to `fl_set_object_lsize'
form_maths_matrix.o(.text+0x403): undefined reference to `fl_set_object_callback'
form_maths_matrix.o(.text+0x408): undefined reference to `fl_end_form'
collect2: ld returned 1 exit status
*** Error code 1

This seems to be a problem of missing -Lforms (I have xforms-0.999). Yes
I saw the warning about versions later than 0.89 but how can I fix this?
I can't use older xforms as we don't have it anymore in pkgsrc...

Martti

---
Martti Kuparinen <[EMAIL PROTECTED]>      NetBSD - No media hype
http://www.iki.fi/kuparine/                     http://www.netbsd.org/

Reply via email to