# To subscribers of the xforms list from "T.C. Zhao" <tc_zhao@yahoo.com> :
What's the link line looks like ?
--- Arnie Stillman <stillman@bnl.gov> wrot
e:
> # To subscribers of the xforms list from Arnie Stillman
> <stillman@bnl.gov> :
>
> I've installed the xforms and xforms-devel rpm's, but nothing
> compiles.
> e.g.
> gcc -o pushme pushme.c
> /tmp/cc6S4TNS.o: In function `main':
> /tmp/cc6S4TNS.o(.text+0x18): undefined reference to `fl_initialize'
> /tmp/cc6S4TNS.o(.text+0x2c): undefined reference to `fl_bgn_form'
> /tmp/cc6S4TNS.o(.text+0x4b): undefined reference to `fl_add_button'
> /tmp/cc6S4TNS.o(.text+0x53): undefined reference to `fl_end_form'
> /tmp/cc6S4TNS.o(.text+0x65): undefined reference to `fl_show_form'
> /tmp/cc6S4TNS.o(.text+0x6d): undefined reference to `fl_do_forms'
> /tmp/cc6S4TNS.o(.text+0x76): undefined reference to `fl_hide_form'
> collect2: ld returned 1 exit status
>
> where pushme.c is one of the demo programs:
>
> #include <forms.h>
>
> int main(int argc, char *argv[])
> {
> FL_FORM *simpleform;
>
> fl_initialize(&argc, argv, "FormDemo", 0, 0);
> simpleform = fl_bgn_form(FL_UP_BOX,230,160);
> fl_add_button(FL_NORMAL_BUTTON,40,50,150,60,"Push Me");
> fl_end_form();
>
> fl_show_form(simpleform, FL_PLACE_MOUSE, FL_NOBORDER, "PushMe");
>
> fl_do_forms();
> fl_hide_form(simpleform);
> return 0;
> }
>
> what went wrong in the rpm installation?
>
> Thanks.
>
> _________________________________________________
> 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/
>
__________________________________________________
Do You Yahoo!?
Yahoo! Photos - 35mm Quality Prints, Now Get 15 Free!
http://photos.yahoo.com/
_________________________________________________
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 : Thu Oct 05 2000 - 19:40:35 EDT