# To subscribers of the xforms list from Alan Bailey <awbailey@students.uiuc.edu> :
While compiling the demos for xforms, i get these errors:
[awbailey@localhost xforms]$ make
make[1]: Entering directory `/software/source/xforms/DEMOS'
gcc -c -O -I../FORMS -I/usr/X11R6/include -I/usr/include/Xll -I../FORMS
-IFORMS -Ifd freedraw.c
gcc -O -s -L/usr/X11R6/lib -L/usr/lib/X11 -L../FORMS -LFORMS freedraw.o
-o freedraw -L../FORMS -lforms -lXpm -lX11 -lm
freedraw.o: In function `main':
freedraw.o(.text+0x14): undefined reference to `fl_initialize'
freedraw.o(.text+0x35): undefined reference to `fl_set_object_color'
freedraw.o(.text+0x5b): undefined reference to `fl_show_form'
freedraw.o(.text+0x60): undefined reference to `fl_do_forms'
freedraw.o(.text+0x65): undefined reference to `fl_finish'
freedraw.o: In function `draw_triangle':
freedraw.o(.text+0x81): undefined reference to `fl_vmode'
freedraw.o(.text+0x96): undefined reference to `fl_state'
freedraw.o(.text+0x9b): undefined reference to `fl_winget'
freedraw.o(.text+0xda): undefined reference to `fl_get_pixel'
There are errors like that, in every function, for every fl_* call. This
seems odd, because those are the functions in the xforms library, i'm
pretty sure. :)
my mkconfig.h looks like this:
# Linux-a.out
CC=gcc
CCFLAG=-O
LDFLAG=-O -s -L/usr/X11R6/lib -L/usr/lib/X11 -L../FORMS -LFORMS
AR=ar rs
RANLIB=touch
XINCLUDE=-I/usr/X11R6/include -I/usr/include/Xll -I../FORMS -IFORMS
SYSLIB=-lXpm -lX11 -lm
That's the top part of it, at least.
This is on redhat 6.2. Thanks a bunch.
Alan
-- Alan Bailey awbailey @ uiuc.edu_________________________________________________ To unsubscribe, send the message "unsubscribe" to xforms-request@bob.usuhs.mil or see http://bob.usuhs.mil/mailserv/xforms.html XForms Home Page: http://world.std.com/~xforms List Archive: http://bob.usuhs.mil/mailserv/list-archives/
This archive was generated by hypermail 2b29 : Sun Aug 06 2000 - 23:52:46 EDT