Hi,
trying to build Xbae-4.8.4 against OpenMotif fails at link phase:
gcc -DHAVE_CONFIG_H -I. -I. -I../../include -I../../include -I..
/../../../include/Motif-2.0 -I../../../../include/Motif-2.0
-I/usr/X11R6/include -I/usr/X11R6/include -DMWM_DDI
R=\"/usr/local/lib/X11/mwm\" -DXLIB_PATH=\"/usr/X11R6/lib\"
-DXINCL_PATH=\"/usr/X11R6/include\" -g -O2 -Wall -c add.c
gcc -g -O2 -Wall -o add add.o -L../../src/.libs -lXbae -L../../../Xm-2.
0/.libs -L/usr/X11R6/lib -lXm -L/usr/X11R6/lib -lXt -lSM -lICE -lXext -
lX11
/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
Obviously since it doesn't link against libXp (printing stuff, shipped
with OM), which libXm depends on.
Both libXm and libXp are contained in /usr/X11R6/lib.
A quick glance at configure.in makes me think that libXp isn't even checked
for, maybe that should be added in future revisions.
--mkb