>>>> "YK" == Yoshiaki Kasahara
<kasahara(a)nc.kyushu-u.ac.jp> writes:
YK> Hello,
YK> I usually use Athena widgets to build XEmacs, but today I tried using
YK> openmotif to build XEmacs (CVS updated today). But the configure
YK> script failed to detect Motif environment. Previously I could compile
YK> some Motif-based applications on this host, so I believe my
YK> configuration is sane.
YK> I used the following options.
YK> ./configure --compiler=gcc295 --with-mule --without-xim --error-checking=all
--debug --with-xfs --with-widgets=motif --without-canna
YK> I tried to add -lXp and I could compile the test code. Actually I
YK> don't know what libXp.a is, but I guess configure should detect the
YK> existence of this library.
This is rather surprising, since I've never heard of -lXp, and
previous versions of Motif didn't have any such thing. It's hard to
believe the Motif people would have introduced a change in the way the
libs should be used by the application.
My guess is that Motif was not properly built on this platform.
Either libXp should be statically linked into libXm, or, if libXp is
dynamically linked into libXm, libXm should be built in such a way
that internal references to libXp are automatically resolved.
Check for unresolved symbol references when building libXm.
I bet that libXp was named for p = `private'.
Martin