XForms: i cant compile a single demo.

Hugo Alexandre Vilardouro - LEI (hagv@students.si.fct.unl.pt)
Sat, 10 Jul 1999 21:08:48 +0000 (GMT)

# To subscribers of the xforms list from Hugo Alexandre Vilardouro - LEI <hagv@students.si.fct.unl.pt> :

Before anything i must appologise for my english (i am not from an
english speaking country).

Well i have tryed to compile all demo files but it seems i cant
compile a single one.

I keep getting messages like:

/tmp/cca009001.o(.text+0x13): undefined reference to `fl_bgn_form'


I have Download xforms and unzip it i DID NOT installed it.
I have download it from:

ftp://bragg.phys.uwm.edu/pub/xforms/linux/aout/bxform-088.tgz

I made a simple program:

#include "forms.h"
int main()
{
FL_FORM * sf;
sf = fl_bgn_form(FL_UP_BOX,230,160);
return 0;
}

I have compiled this program with:

gcc -I../FORMS test.c -L../FORMS -lforms -lX11 -lm

and i get the message:

/tmp/cca009061.o: In function `main':
/tmp/cca009061.o(.text+0x13): undefined reference to `fl_bgn_form'

For what i have read from the xforms manual i don't need to
install xforms does anyone knows why this happens?

Thanks for all of your attention and if this topic has been
covered in previous post i appologise.

_________________________________________________
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://bragg.phys.uwm.edu/xforms
List Archive: http://bob.usuhs.mil/mailserv/list-archives/