diff --git a/misc/undefinedsymbols b/misc/undefinedsymbols
new file mode 100644
index 0000000000000000000000000000000000000000..f51457ddd8bcff49f063cba93d471b4ef421e9c7
--- /dev/null
+++ b/misc/undefinedsymbols
@@ -0,0 +1,345 @@
+_XActivateScreenSaver
+_XAddExtension
+_XAddHost
+_XAddHosts
+_XAddPixel
+_XAddToSaveSet
+_XAllPlanes
+_XAllocColor
+_XAllocColorCells
+_XAllocColorPlanes
+_XAllocNamedColor
+_XAllocWMHints
+_XAllowEvents
+_XAutoRepeatOff
+_XAutoRepeatOn
+_XBell
+_XBitmapBitOrder
+_XBitmapPad
+_XBitmapUnit
+_XBlackPixel
+_XBlackPixelOfScreen
+_XCellsOfScreen
+_XChangeActivePointerGrab
+_XChangeGC
+_XChangeKeyboardControl
+_XChangeKeyboardMapping
+_XChangePointerControl
+_XChangeProperty
+_XChangeSaveSet
+_XChangeWindowAttributes
+_XCheckIfEvent
+_XCheckMaskEvent
+_XCheckTypedEvent
+_XCheckTypedWindowEvent
+_XCheckWindowEvent
+_XCirculateSubwindows
+_XCirculateSubwindowsDown
+_XCirculateSubwindowsUp
+_XClearArea
+_XClearWindow
+_XCloseDisplay
+_XConfigureWindow
+_XConnectionNumber
+_XConvertSelection
+_XCopyArea
+_XCopyColormapAndFree
+_XCopyGC
+_XCopyPlane
+_XCreateColormap
+_XCreateFontCursor
+_XCreateGC
+_XCreateGlyphCursor
+_XCreateImage
+_XCreatePixmap
+_XCreatePixmapCursor
+_XCreateSimpleWindow
+_XCreateWindow
+_XDefaultColormap
+_XDefaultColormapOfScreen
+_XDefaultDepth
+_XDefaultDepthOfScreen
+_XDefaultGC
+_XDefaultGCOfScreen
+_XDefaultRootWindow
+_XDefaultScreen
+_XDefaultScreenOfDisplay
+_XDefaultVisual
+_XDefaultVisualOfScreen
+_XDefineCursor
+_XDeleteContext
+_XDeleteModifiermapEntry
+_XDeleteProperty
+_XDestroyImage
+_XDestroySubwindows
+_XDestroyWindow
+_XDisableAccessControl
+_XDisplayCells
+_XDisplayHeight
+_XDisplayHeightMM
+_XDisplayKeycodes
+_XDisplayMotionBufferSize
+_XDisplayName
+_XDisplayOfScreen
+_XDisplayPlanes
+_XDisplayString
+_XDisplayWidth
+_XDisplayWidthMM
+_XDoesBackingStore
+_XDoesSaveUnders
+_XDrawArc
+_XDrawArcs
+_XDrawImageString
+_XDrawImageString16
+_XDrawLine
+_XDrawLines
+_XDrawPoint
+_XDrawPoints
+_XDrawRectangle
+_XDrawRectangles
+_XDrawSegments
+_XDrawString
+_XDrawString
+_XDrawString16
+_XDrawText
+_XDrawText16
+_XEHeadOfExtensionList
+_XESetCloseDisplay
+_XESetCopyGC
+_XESetCreateFont
+_XESetCreateGC
+_XESetError
+_XESetErrorString
+_XESetEventToWire
+_XESetFlushGC
+_XESetFreeFont
+_XESetFreeGC
+_XESetWireToEvent
+_XEnableAccessControl
+_XEventMaskOfScreen
+_XEventsQueued
+_XFetchName
+_XFillArc
+_XFillArcs
+_XFillPolygon
+_XFillRectangle
+_XFillRectangles
+_XFindContext
+_XFindOnExtensionList
+_XFlush
+_XForceScreenSaver
+_XFree
+_XFreeColormap
+_XFreeColors
+_XFreeCursor
+_XFreeExtensionList
+_XFreeFont
+_XFreeFontInfo
+_XFreeFontNames
+_XFreeFontPath
+_XFreeGC
+_XFreeModifiermap
+_XFreePixmap
+_XGContextFromGC
+_XGetAtomName
+_XGetErrorDatabaseText
+_XGetErrorText
+_XGetFontPath
+_XGetFontProperty
+_XGetGeometry
+_XGetIconName
+_XGetImage
+_XGetInputFocus
+_XGetKeyboardControl
+_XGetKeyboardMapping
+_XGetModifierMapping
+_XGetMotionEvents
+_XGetPixel
+_XGetPointerControl
+_XGetPointerMapping
+_XGetScreenSaver
+_XGetSelectionOwner
+_XGetSubImage
+_XGetWMHints
+_XGetWindowAttributes
+_XGetWindowProperty
+_XGrabButton
+_XGrabKey
+_XGrabKeyboard
+_XGrabPointer
+_XGrabServer
+_XHeightMMOfScreen
+_XHeightOfScreen
+_XIfEvent
+_XImageByteOrder
+_XInitExtension
+_XInsertModifiermapEntry
+_XInstallColormap
+_XInternAtom
+_XKeysymToString
+_XKillClient
+_XLastKnownRequestProcessed
+_XListExtensions
+_XListFonts
+_XListFontsWithInfo
+_XListHosts
+_XListInstalledColormaps
+_XListProperties
+_XLoadFont
+_XLoadQueryFont
+_XLookupColor
+_XLookupString
+_XLowerWindow
+_XMapRaised
+_XMapSubwindows
+_XMapWindow
+_XMaskEvent
+_XMaxCmapsOfScreen
+_XMaxRequestSize
+_XMinCmapsOfScreen
+_XMoveResizeWindow
+_XMoveWindow
+_XNewModifiermap
+_XNextEvent
+_XNextRequest
+_XNoOp
+_XOpenDisplay
+_XParseColor
+_XParseGeometry
+_XPeekEvent
+_XPeekIfEvent
+_XPending
+_XPlanesOfScreen
+_XProtocolRevision
+_XProtocolVersion
+_XPutBackEvent
+_XPutImage
+_XPutPixel
+_XQLength
+_XQueryBestCursor
+_XQueryBestSize
+_XQueryBestStipple
+_XQueryBestTile
+_XQueryColor
+_XQueryColors
+_XQueryExtension
+_XQueryFont
+_XQueryKeymap
+_XQueryPointer
+_XQueryTextExtents
+_XQueryTextExtents16
+_XQueryTree
+_XRaiseWindow
+_XReadBitmapFile
+_XRebindKeysym
+_XRecolorCursor
+_XRefreshKeyboardMapping
+_XRemoveFromSaveSet
+_XRemoveHost
+_XRemoveHosts
+_XReparentWindow
+_XResetScreenSaver
+_XResizeWindow
+_XResourceManagerString
+_XRestackWindows
+_XRootWindow
+_XRootWindowOfScreen
+_XRotateWindowProperties
+_XSaveContext
+_XScreenCount
+_XScreenOfDisplay
+_XSelectInput
+_XSendEvent
+_XServerVendor
+_XSetAccessControl
+_XSetAfterFunction
+_XSetArcMode
+_XSetBackground
+_XSetClipMask
+_XSetClipOrigin
+_XSetClipRectangles
+_XSetCloseDownMode
+_XSetCommand
+_XSetDashes
+_XSetErrorHandler
+_XSetFillRule
+_XSetFillStyle
+_XSetFont
+_XSetFontPath
+_XSetForeground
+_XSetFunction
+_XSetGraphicsExposures
+_XSetIOErrorHandler
+_XSetIconName
+_XSetInputFocus
+_XSetLineAttributes
+_XSetModifierMapping
+_XSetPlaneMask
+_XSetPointerMapping
+_XSetScreenSaver
+_XSetSelectionOwner
+_XSetState
+_XSetStipple
+_XSetSubwindowMode
+_XSetTSOrigin
+_XSetTile
+_XSetWMHints
+_XSetWindowBackground
+_XSetWindowBackgroundPixmap
+_XSetWindowBorder
+_XSetWindowBorderPixmap
+_XSetWindowBorderWidth
+_XSetWindowColormap
+_XStoreColor
+_XStoreColors
+_XStoreName
+_XStoreNamedColor
+_XStringToKeysym
+_XSubImage
+_XSync
+_XSynchronize
+_XTextExtents
+_XTextExtents16
+_XTextWidth
+_XTextWidth16
+_XTranslateCoordinates
+_XUndefineCursor
+_XUngrabButton
+_XUngrabKey
+_XUngrabKeyboard
+_XUngrabPointer
+_XUngrabServer
+_XUninstallColormap
+_XUnloadFont
+_XUnmapSubwindows
+_XUnmapWindow
+_XVendorRelease
+_XVisualIDFromVisual
+_XWarpPointer
+_XWhitePixel
+_XWhitePixelOfScreen
+_XWidthMMOfScreen
+_XWidthOfScreen
+_XWindowEvent
+_XWriteBitmapFile
+_Xpermalloc
+_XrmGetFileDatabase
+_XrmGetResource
+_XrmGetStringDatabase
+_XrmInitialize
+_XrmMergeDatabases
+_XrmParseCommand
+_XrmPutFileDatabase
+_XrmPutLineResource
+_XrmPutResource
+_XrmPutStringResource
+_XrmQGetResource
+_XrmQGetSearchList
+_XrmQGetSearchResource
+_XrmQPutResource
+_XrmQPutStringResource
+_XrmQuarkToString
+_XrmStringToBindingQuarkList
+_XrmStringToQuark
+_XrmStringToQuarkList
+_XrmUniqueQuark
diff --git a/misc/undefinedsymbols.motif b/misc/undefinedsymbols.motif
new file mode 100644
index 0000000000000000000000000000000000000000..11877d1694a295c0ce87555ebf5d919f09403a81
--- /dev/null
+++ b/misc/undefinedsymbols.motif
@@ -0,0 +1,46 @@
+_applicationShellWidgetClass
+_compositeWidgetClass
+_constraintWidgetClass
+_coreWidgetClass
+_objectClass
+_overrideShellWidgetClass
+_shellWidgetClass
+_topLevelShellWidgetClass
+_transientShellWidgetClass
+_vendorShellWidgetClass
+_wmShellWidgetClass
+_xmArrowButtonGadgetClass
+_xmArrowButtonWidgetClass
+_xmBulletinBoardWidgetClass
+_xmCascadeButtonGadgetClass
+_xmCascadeButtonWidgetClass
+_xmCommandWidgetClass
+_xmDialogShellWidgetClass
+_xmDrawingAreaWidgetClass
+_xmDrawnButtonWidgetClass
+_xmFileSelectionBoxWidgetClass
+_xmFormWidgetClass
+_xmFrameWidgetClass
+_xmGadgetClass
+_xmLabelGadgetClass
+_xmLabelWidgetClass
+_xmListWidgetClass
+_xmMainWindowWidgetClass
+_xmManagerWidgetClass
+_xmMenuShellWidgetClass
+_xmMessageBoxWidgetClass
+_xmPanedWindowWidgetClass
+_xmPrimitiveWidgetClass
+_xmPushButtonGadgetClass
+_xmPushButtonWidgetClass
+_xmRowColumnWidgetClass
+_xmScaleWidgetClass
+_xmScrollBarWidgetClass
+_xmScrolledWindowWidgetClass
+_xmSelectionBoxWidgetClass
+_xmSeparatorGadgetClass
+_xmSeparatorWidgetClass
+_xmTextFieldWidgetClass
+_xmTextWidgetClass
+_xmToggleButtonGadgetClass
+_xmToggleButtonWidgetClass
diff --git a/misc/undefinedsymbols.olit b/misc/undefinedsymbols.olit
new file mode 100644
index 0000000000000000000000000000000000000000..fd612162d0391abb8a12ac6f708581784f42c309
--- /dev/null
+++ b/misc/undefinedsymbols.olit
@@ -0,0 +1,57 @@
+_abbrevMenuButtonWidgetClass
+_abbrevStackWidgetClass
+_applicationShellWidgetClass
+_arrowWidgetClass
+_baseWindowShellWidgetClass
+_bulletinBoardWidgetClass
+_buttonGadgetClass
+_buttonStackWidgetClass
+_buttonWidgetClass
+_captionWidgetClass
+_checkBoxWidgetClass
+_compositeWidgetClass
+_compositeWidgetClass
+_constraintWidgetClass
+_controlAreaWidgetClass
+_coreWidgetClass
+_drawAreaWidgetClass
+_eventObjClass
+_exclusivesWidgetClass
+_flatCheckBoxWidgetClass
+_flatExclusivesWidgetClass
+_flatNonexclusivesWidgetClass
+_flatWidgetClass
+_footerPanelWidgetClass
+_formWidgetClass
+_helpWidgetClass
+_listPaneWidgetClass
+_magWidgetClass
+_managerWidgetClass
+_menuButtonWidgetClass
+_menuShellWidgetClass
+_nonexclusivesWidgetClass
+_noticeShellWidgetClass
+_objectClass
+_oblongButtonWidgetClass
+_overrideShellWidgetClass
+_overrideShellWidgetClass
+_popupWindowShellWidgetClass
+_primitiveWidgetClass
+_pushpinWidgetClass
+_rectButtonWidgetClass
+_scrollbarWidgetClass
+_scrolledWindowWidgetClass
+_scrollingListWidgetClass
+_shellWidgetClass
+_shellWidgetClass
+_sliderWidgetClass
+_staticTextWidgetClass
+_stubWidgetClass
+_textWidgetClass
+_topLevelShellWidgetClass
+_topLevelShellWidgetClass
+_transientShellWidgetClass
+_vendorShellWidgetClass
+_widgetClass
+_widgetClassRec
+_wmShellWidgetClass
diff --git a/misc/undefinedsymbols.xt b/misc/undefinedsymbols.xt
new file mode 100644
index 0000000000000000000000000000000000000000..3d9d3d03fb69e2a7a859e69ab4b59a263c379dfb
--- /dev/null
+++ b/misc/undefinedsymbols.xt
@@ -0,0 +1,5 @@
+_XtGetConstraintResourceList
+_XtGetResourceList
+_XtGetValues
+_XtSetValues
+_XtSetSensitive