Hello,
I usually use Athena widgets to build XEmacs, but today I tried using
openmotif to build XEmacs (CVS updated today). But the configure
script failed to detect Motif environment. Previously I could compile
some Motif-based applications on this host, so I believe my
configuration is sane.
I used the following options.
./configure --compiler=gcc295 --with-mule --without-xim --error-checking=all --debug
--with-xfs --with-widgets=motif --without-canna
Here is an excerpt from config.log:
-----------------------------------
configure:8559: checking for XmStringFree in -lXm
configure:8575: gcc295 -o conftest -g -O3 -Wall -Wno-switch -Wpointer-arith -Winline
-Wmissing-prototypes -Wshadow -I/usr/X11R6/include -L/usr/X11R6/lib -Xlinker
-R/usr/X11R6/lib:/usr/local/lib conftest.c -lXm -ltiff -lpng -ljpeg -lz -lcompface
-lXpm -lXmu -lXt -lXext -lX11 -lSM -lICE -lm -lutil -lxpg4 -lgcc -lc -lgcc
/usr/lib/crtend.o /usr/lib/crtn.o 1>&5
/usr/X11R6/lib/libXm.so: undefined reference to `XpGetDocumentData'
/usr/X11R6/lib/libXm.so: undefined reference to `XpGetPageDimensions'
/usr/X11R6/lib/libXm.so: undefined reference to `XpGetOneAttribute'
/usr/X11R6/lib/libXm.so: undefined reference to `XpStartPage'
/usr/X11R6/lib/libXm.so: undefined reference to `XpGetScreenOfContext'
/usr/X11R6/lib/libXm.so: undefined reference to `XpQueryExtension'
/usr/X11R6/lib/libXm.so: undefined reference to `XpEndPage'
/usr/X11R6/lib/libXm.so: undefined reference to `XpSetImageResolution'
/usr/X11R6/lib/libXm.so: undefined reference to `XpEndJob'
/usr/X11R6/lib/libXm.so: undefined reference to `XpSelectInput'
/usr/X11R6/lib/libXm.so: undefined reference to `XpGetPdmStartParams'
/usr/X11R6/lib/libXm.so: undefined reference to `XpGetContext'
collect2: ld returned 1 exit status
-----------------------------------
I tried to add -lXp and I could compile the test code. Actually I
don't know what libXp.a is, but I guess configure should detect the
existence of this library.
I'm using FreeBSD-3.4R and XFree86-3.3.5.
Regards,
--
Yoshiaki Kasahara
Computing and Communications Center, Kyushu University
kasahara(a)nc.kyushu-u.ac.jp