This is probably because OpenMotif contains stuff that uses -lXp.
This stuff (XmPrint) requires everyone who links Motif to also link
-lXp, except on platforms that do this automatically through their
shared library implementation.
So this is an Xbae configuration bug.
It would also be a configuration bug for every application which
links -lXm without -lXp.
Danny
> Not too sure. I link apps all the time without specifying -lXp. I suspect they
> are not really linking with OM. But I haven't tried to build Xbae against OM.
> I'm giving it a wirl right now against my branch of OM. Well it seems fine. It
> seems to fail with an xpm reference, but that is a different problem. Ahhh, no
> it's not fine. It seems to be linking the example apps against LessTif,
> regardless of the setting of --with-motif-includes --with-motif-libs. Looks
> like a Xbae build problem to me. It would probably work if Xbae was not in the
> LessTif source tree.
>
> > Rick,
> >
> > Is this really an Open Motif problem that we need to correct in the next
> > distribution? (Pardon my ignorance, its been 25 years since I last did any
> > real programming...)
> >
> > Mark