# To subscribers of the xforms list from "Jeremy C. Reed" <reed@reedmedia.net> :
To follow up on my problem. I still don't know how to use the .a library
archive of the libxforms (NetBSD, ELF, i386).
I was able to work-around my problem by manually extracting the
libforms.so.0.88 (which the NetBSD package doesn't use) and creating
symlinks for libforms.so.0 and libforms.so.
At first I received:
rainier:~/projects/homebsd$ gcc -I/usr/X11R6/include/X11
-I/usr/X11R6/include -L/usr/X11R6/lib -lforms -lXpm -lX11 -lm test2.c
/usr/X11R6/lib/libforms.so: undefined reference to `glXQueryExtension'
/usr/X11R6/lib/libforms.so: undefined reference to `glXMakeCurrent'
/usr/X11R6/lib/libforms.so: undefined reference to `glXChooseVisual'
/usr/X11R6/lib/libforms.so: undefined reference to `glXDestroyContext'
/usr/X11R6/lib/libforms.so: undefined reference to `glXCreateContext'
collect2: ld returned 1 exit status
(I am not sure why libGL is needed.) So I added "-lGL" and it works. I now
have a working demo from http://world.std.com/~xforms/examples/yesno.html.
Now I'll continue with my xforms tasks! [1]
Jeremy C. Reed
http://www.reedmedia.net/
[1] I have two projects I'll soon complete: a X-based installer for
NetBSD and a software packages administration tool (add/remove
software) for NetBSD packages.
_________________________________________________
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 : Sat Feb 03 2001 - 11:26:13 EST