Submitted by Anonymous on Wed, 09/06/2000 - 21:36. Developers
I compile some code using openmotif-devel-2.1.30-2_ICS
I get the following messages
/usr/X11/lib/libXm.so undefined reference to `XpGetDocumentData`
/usr/X11/lib/libXm.so undefined reference to `XpGetPageDimensions`
/usr/X11/lib/libXm.so undefined reference to `XpGetOneAttribute`
/usr/X11/lib/libXm.so undefined reference to `XpStartPage`
/usr/X11/lib/libXm.so undefined reference to `XpGetScreenOfContext`
/usr/X11/lib/libXm.so undefined reference to `XpQueryExtension`
/usr/X11/lib/libXm.so undefined reference to `XpEndPage`
/usr/X11/lib/libXm.so undefined reference to `XpSetImageResolution`
/usr/X11/lib/libXm.so undefined reference to `XpEndJob`
/usr/X11/lib/libXm.so undefined reference to `XpSelectInput`
/usr/X11/lib/libXm.so undefined reference to `XpGetPdmStartParams`
/usr/X11/lib/libXm.so undefined reference to `XpGetContext`
I can`t figure in what library these files are as I already get
/usr/X11R6/lib/libXp.so
Thanks in advance
Jacques
Add the following lib -lXp in your compile command line or script.
Cause OpenMotif is built againts the X11 PrintServer.
libXp.so is from the XFree86-devel-XXX.rpm package.
Hope this will help!
-Erik