On Thu, 3 Aug 2000 14:41:43 +0900 (JST),
Martin Buchholz <martin(a)xemacs.org> said:
My guess is that Motif was not properly built on this platform.
I remembered that I merely installed the binary distribution of
open-motif-2.1.30 and open-motif-devel-2.1.30 (provided by
openmotif.opengroup.org) using the ports mechanism of FreeBSD.
I bet that libXp was named for p = `private'.
I checked the source of XFree86 and found that libXp is 'the DtPrint
extension library'. Still I don't know what it is...
Anyway, /usr/ports/Mk/bsd.port.mk says:
# shared/dynamic motif libs
.if defined(HAVE_MOTIF)
.if defined(MOTIF_STATIC)
MOTIFLIB?= ${X11BASE}/lib/libXm.a -L${X11BASE}/lib -lXp
.else
MOTIFLIB?= -L${X11BASE}/lib -lXm -lXp
.endif
.endif
So, -lXp is always used together with -lXm for building ports.
I know little about X11 programming, so it is all guesswork and I may
be totally wrong.
Regards,
--
Yoshiaki Kasahara
Computing and Communications Center, Kyushu University
kasahara(a)nc.kyushu-u.ac.jp