Subject: XForms(freebsd)-lib with lyx(netbsd)src
To: None <port-i386@NetBSD.ORG>
From: Peppermint Lucy <toor@wipux2.wifo.uni-mannheim.de>
List: port-i386
Date: 04/22/1996 13:31:20
Is it possible to compile some NetBSD-objects
(lyx-0.9.14) and them link them
a)	statically with libxforms.a (lib for FreeBSD only in binary form)
b)	or dynamically with libxforms.so.0.81 (dito)

I've tried a) and b) and am wondering whether there
might be a way to pinch a) that I haven't thought of,
b) seems to be an incomptibility between the shared-libs.

Any Ideas ?
Cheerio
btw. using the netbsd-lib won't work 'cos' it's older, and
the lyx (which claims to still support it doesn't in too many places.)

output a)
c++ -o lyx lyx.o lyx_cb.o lyx_main.o inset.o lyxfont.o file.o paragraph.o  layout.o screen.o text.o text2.o spellchecker.o kbmap.o  lyxserver.o bmtable.o math_symbols.o keybind.o credits.o docu.o  menus.o intl.o form1.o credits_form.o layout_forms.o print_form.o  figinset.o toolbar.o formula.o math_hash.o math_inset.o  math_parser.o math_write.o math_draw.o latex.o texoptions.o table.o  buffer.o symgen.o lastfiles.o sp_form.o paths.o  math_panel.o lyxrc.o lyxlex.o lyxparameters.o -L/usr/X11R6/lib -lforms -lXpm  -lSM -lICE -L/usr/X11R6/lib  -lc -lm  -L/usr/X11R6/lib -lX11
lyxtext.h:555: Undefined symbol `_Previous__12LyXParagraph' referenced from text segment ..9 times..
xtext.o: Undefined symbol `____runetype' referenced from text segment ..10 times..
xtext.o: Undefined symbol `__CurrentRuneLocale' referenced from text segment ..10 times..
xtext.o: Undefined symbol `__DefaultRuneLocale' referenced from text segment ..8 times..
objects.o: Undefined symbol `____toupper' referenced from text segment ..4 times..
objects.o: Undefined symbol `____tolower' referenced from text segment ..3 times..
*** Error code 1

output b)
c++ -o lyx lyx.o lyx_cb.o lyx_main.o inset.o lyxfont.o file.o paragraph.o  layout.o screen.o text.o text2.o spellchecker.o kbmap.o  lyxserver.o bmtable.o math_symbols.o keybind.o credits.o docu.o  menus.o intl.o form1.o credits_form.o layout_forms.o print_form.o  figinset.o toolbar.o formula.o math_hash.o math_inset.o  math_parser.o math_write.o math_draw.o latex.o texoptions.o table.o  buffer.o symgen.o lastfiles.o sp_form.o paths.o  math_panel.o lyxrc.o lyxlex.o lyxparameters.o -L/usr/X11R6/lib -lforms -lXpm  -lSM -lICE -L/usr/X11R6/lib  -lc -lm  -L/usr/X11R6/lib -lX11
ld: /usr/X11R6/lib/libforms.so.0.81: malformed input file (not rel or archive)
*** Error code 1

-- 
Bankers do it with interest (penalty for early withdrawal).
Intelligence is the capability of receiving, decrypting information
and then transferring it in usable form.
Stupidity is the interuption of this process at any given point.