Re: XForms: Newbie... Compiling problems

Dr. T.C. Zhao (zhao@bragg.phys.uwm.edu)
Sat, 31 May 1997 00:05:09 -0500

To subscribers of the xforms list from "Dr. T.C. Zhao" <zhao@bragg.phys.uwm.edu> :

list from Christian Gau <Christian.Gau@majestix.rhein-main.de> :

>demo.o(.text+0x654): undefined reference to `fl_addto_command_log'
>demo.o(.text+0x6d3): undefined reference to `fl_show_command_log'
>gcc -c -O -fPIC -I../FORMS -I/usr/X11R6/include -Ifd borderwidth.c
gcc -O -s borderwidth.o -o borderwidth -L../FORMS -lforms
-L/usr/X11R6/lib -lX11 -lm
>`fl_add_round3dbutton'

>I assume that these "undefined reference to" indicate that something
>went wrong.

Looks like you have an earlier version of xforms installed
somewhere else that gets linked first before V0.86.
Check /usr/lib /usr/X11R6/lib /lib /usr/local/lib and see if
you can find libforms.{a|so}.

_________________________________________________
To unsubscribe, send the message "unsubscribe" to
xforms-request@bob.usuf2.usuhs.mil or see
http://bob.usuf2.usuhs.mil/mailserv/xforms.html
Xforms Home Page: http://bragg.phys.uwm.edu/xforms
List Archive: http://bob.usuf2.usuhs.mil/mailserv/list-archives/