README for XFree86 3.3.2 on LynxOS : Using XFree86 with Motif : Motif library patch for LynxOS AT 2.3.0
Previous: Copy Motif files
Next: X11R6 config file patch

## 6.2. Motif library patch for LynxOS AT 2.3.0

The XFree86 libraries are compiled with the -mposix compiler option while the Motif libraries shipped with LynxOS AT 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.

README for XFree86 3.3.2 on LynxOS : Using XFree86 with Motif : Motif library patch for LynxOS AT 2.3.0
Previous: Copy Motif files
Next: X11R6 config file patch