# To subscribers of the xforms list from Peter S Galbraith <GalbraithP@dfo-mpo.gc.ca> :
spl@ncmir.ucsd.edu wrote:
> # To subscribers of the xforms list from spl@ncmir.ucsd.edu :
>
> > - forms.h has
> > #include <X11/glcanvas.h>
> > but glcanvas.h is not installed in `make install'.
>
> Fixed.
>
> ftp://ncmir.ucsd.edu/pub/xforms/OpenSource/xforms-1.0RC4
Thanks.
> > - After building libforms, I tried to build an XForms application with
> > following error:
> >
> > cc -o xcolmix.new xcolmix.o callbacks.o initforms.o makecolor.o usage.o des
> ign.o loadlookupbrowser.o -lforms -lX11 -lm -L /usr/X11R6/lib
> > /usr/X11R6/lib/libforms.so: undefined reference to `XpmCreatePixmapFromData
> '
> > /usr/X11R6/lib/libforms.so: undefined reference to `XpmFreeAttributes'
> > /usr/X11R6/lib/libforms.so: undefined reference to `XpmAttributesSize'
> > /usr/X11R6/lib/libforms.so: undefined reference to `XpmReadFileToPixmap'
> > /usr/X11R6/lib/libforms.so: undefined reference to `XpmLibraryVersion'
> > collect2: ld returned 1 exit status
> >
> > I edited lib/Makefile to add:
> > -ljpeg -L/usr/X11R6/lib -lXpm
> > to the linking stage of libforms.so
>
> You should reallly add it to your application's `Makefile'. This is
> now so noted in the README.
>
> ftp://ncmir.ucsd.edu/pub/xforms/OpenSource/README-1.0RC4
Really? I figured it was unresolved in the libforms library so it
should be fixed there. (But I am about the farthest you can get from
being an expert on shared libraries...)
Peter
_________________________________________________
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 Jun 06 2002 - 16:21:24 EDT