Xemacs version 21.4.8
Platform: i568, Mandrake Linux 8.1
Linux version 2.4.8-26mdk (quintela(a)bi.mandrakesoft.com) (gcc version 2.96
20000731 (Mandrake Linux 8.1 2.96-0.62mdk))
XFree86 Version 4.1.0 / X Window System
(protocol Version 11, revision 0, vendor release 6510)
Release Date: 2 June 2001
The 'configure' script omits a critical library during the check for
'dlopen'
when invoked with
configure '--with-dialogs=motif'
The library Xp is omitted from the link; the compile/link that fails is:
configure:14271: checking for dlopen in -ldl
configure:14282: gcc -o conftest -g -O3 -Wall -Wno-switch -Winline \
-Wmissing- prototypes -Wsign-compare -Wshadow \
-I/usr/X11R6/include -L/usr/X11R6/lib conftest.c \
-lXm -ltiff -lpng -ljpeg -lz -lXpm -lXmu -lXt -lXext -lX11 \
-lSM -lICE -ldl -ltermcap -lcurses -lm -lgcc -lc-lgcc \
/usr/lib/crtn.o 1>&5
/usr/X11R6/lib/libXm.so: undefined reference to `XpGetDocumentData'
/usr/X11R6/lib/libXm.so: undefined reference to `XpStartPage'
/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 `XpEndJob'
/usr/X11R6/lib/libXm.so: undefined reference to `XpSelectInput'
/usr/X11R6/lib/libXm.so: undefined reference to `XpGetContext'
This link will succeed with the addition of '-lXp'. Probably, this would
happen with any XFree86 4.1.0 release.