# To subscribers of the xforms list from "Jeremy C. Reed" <firstname.lastname@example.org> :
On Fri, 2 Feb 2001, Steve Lamont wrote:
> > rainier:~/projects/homebsd$ gcc -I/usr/X11R6/include/X11
> > -I/usr/X11R6/include -L/usr/X11R6/lib -Wl,--rpath -Wl,/usr/X11R6/lib
> > test2.c
> > /tmp/ccXROeII.o: In function `main':
> > /tmp/ccXROeII.o(.text+0x12): undefined reference to `fl_initialize'
> > collect2: ld returned 1 exit status
> I don't see `-lforms' in the command line.
I tried it a bunch of different ways. I just tried again with "-lforms",
but same problem.
> Does the prebuilt `fdesign' run? What does `nm' say about
> `libforms.a'. Can it read it?
fdesign runs. (Pretty cool! I never used it before.)
Also, I was able to build dap and lyx from source. (But I was unable to
understand the Makefiles and logged make output to figure out how they
were built using xforms.)
Yes. nm can read it. The output is 3950 lines long. It starts with:
00000328 T fl_get_align_xy
00000000 T fl_get_hv_align
00000114 T fl_get_outside_align
00000000 t gcc2_compiled.
000001e8 t get_align_inside
000002b8 t get_align_outside
And ends with:
00002e08 t round_xminmax
0000308c t round_yminmax
00005b8c t trunc_f
0000375c t update_xyplot
00005dfc t w2s_draw
I searched for fl_initialize and found:
0000123c T fl_initialize
Thanks for the continued help.
(I may read the fdesign documentation -- maybe it tells how to compile.)
Jeremy C. Reed
To unsubscribe, send the message "unsubscribe" to
email@example.com or see
XForms Home Page: http://world.std.com/~xforms
List Archive: http://bob.usuhs.mil/mailserv/list-archives/
This archive was generated by hypermail 2b29 : Fri Feb 02 2001 - 09:53:03 EST