The XFree86 libraries are compiled with the -mposix compiler option
while the Motif libraries shipped with LynxOS x86 2.3.0 are not. This
incompatibility will cause Motif XmFileSelection
widgets to be linked
with the wrong (i.e. POSIX) directory routines. To circumvent this
problem apply the following patch to the library:
cp /usr/lib/libXm.a /usr/X11R6/lib
ar x /usr/X11R6/lib/libXm.a Xmos.o
ar x /lib/libc.a directory.s.o
ld -r -o x.o Xmos.o directory.s.o
mv x.o Xmos.o
ar r /usr/X11R6/lib/libXm.a Xmos.o
This patch is not necessary for LynxOS revisions after 2.3.0.