This is the mail archive of the cygwin@sourceware.cygnus.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

libX11 fix [Re: Egcs-1.0]


[I'm cc'ing this to gnu-win32 list as well. The problem is that
applications linked against the X11 dlls fail when using egcs-1.00
release.]

Hi David,

The reason that executables linked against libX11.a from Silvio's package
fail is because libX11.a built with an older version of dlltool that had a
subtle bug which shows up in the newer ld that comes with egcs. 
Fortunately there is a trivial fix all the export libraries (eg.,
libX11.a) if you have the corresponding export list (eg., libX11.def). I
don't have the export list for libX11.dll, but I just used impdef from
BC5.x to make one (attached). Here's the command I used to regenerate
libX11.a that fixes the problem:
  
  % dlltool --def libX11.def --output-lib libX11.a --dllname libX11.dll 

Now all you have to do is relink your application and things should be
back to normal.

Mumit
LIBRARY LIBX11
EXPORTS
XActivateScreenSaver
XAddConnectionWatch
XAddExtension
XAddHost
XAddHosts
XAddPixel
XAddToExtensionList
XAddToSaveSet
XAllPlanes
XAllocClassHint
XAllocColor
XAllocColorCells
XAllocColorPlanes
XAllocIconSize
XAllocNamedColor
XAllocSizeHints
XAllocStandardColormap
XAllocWMHints
XAllowEvents
XAutoRepeatOff
XAutoRepeatOn
XBaseFontNameListOfFontSet
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
XClipBox
XCloseDisplay
XCloseIM
XCloseOM
XConfigureWindow
XConnectionNumber
XContextDependentDrawing
XContextualDrawing
XConvertCase
XConvertSelection
XCopyArea
XCopyColormapAndFree
XCopyGC
XCopyPlane
XCreateBitmapFromData
XCreateColormap
XCreateFontCursor
XCreateFontSet
XCreateGC
XCreateGlyphCursor
XCreateIC
XCreateImage
XCreateOC
XCreatePixmap
XCreatePixmapCursor
XCreatePixmapFromBitmapData
XCreateRegion
XCreateSimpleWindow
XCreateWindow
XDefaultColormap
XDefaultColormapOfScreen
XDefaultDepth
XDefaultDepthOfScreen
XDefaultGC
XDefaultGCOfScreen
XDefaultRootWindow
XDefaultScreen
XDefaultScreenOfDisplay
XDefaultString
XDefaultVisual
XDefaultVisualOfScreen
XDefineCursor
XDeleteContext
XDeleteModifiermapEntry
XDeleteProperty
XDestroyIC
XDestroyImage
XDestroyOC
XDestroyRegion
XDestroySubwindows
XDestroyWindow
XDirectionalDependentDrawing
XDisableAccessControl
XDisplayCells
XDisplayHeight
XDisplayHeightMM
XDisplayKeycodes
XDisplayMotionBufferSize
XDisplayName
XDisplayOfIM
XDisplayOfOM
XDisplayOfScreen
XDisplayPlanes
XDisplayString
XDisplayWidth
XDisplayWidthMM
XDoesBackingStore
XDoesSaveUnders
XDrawArc
XDrawArcs
XDrawImageString
XDrawImageString16
XDrawLine
XDrawLines
XDrawPoint
XDrawPoints
XDrawRectangle
XDrawRectangles
XDrawSegments
XDrawString
XDrawString16
XDrawText
XDrawText16
XEHeadOfExtensionList
XESetBeforeFlush
XESetCloseDisplay
XESetCopyGC
XESetCreateFont
XESetCreateGC
XESetError
XESetErrorString
XESetEventToWire
XESetFlushGC
XESetFreeFont
XESetFreeGC
XESetPrintErrorValues
XESetWireToError
XESetWireToEvent
XEmptyRegion
XEnableAccessControl
XEqualRegion
XEventMaskOfScreen
XEventsQueued
XExtendedMaxRequestSize
XExtentsOfFontSet
XFetchBuffer
XFetchBytes
XFetchName
XFillArc
XFillArcs
XFillPolygon
XFillRectangle
XFillRectangles
XFilterEvent
XFindContext
XFindOnExtensionList
XFlush
XFlushGC
XFontsOfFontSet
XForceScreenSaver
XFree
XFreeColormap
XFreeColors
XFreeCursor
XFreeExtensionList
XFreeFont
XFreeFontInfo
XFreeFontNames
XFreeFontPath
XFreeFontSet
XFreeGC
XFreeModifiermap
XFreePixmap
XFreeStringList
XGContextFromGC
XGeometry
XGetAtomName
XGetAtomNames
XGetClassHint
XGetCommand
XGetDefault
XGetErrorDatabaseText
XGetErrorText
XGetFontPath
XGetFontProperty
XGetGCValues
XGetGeometry
XGetICValues
XGetIMValues
XGetIconName
XGetIconSizes
XGetImage
XGetInputFocus
XGetKeyboardControl
XGetKeyboardMapping
XGetModifierMapping
XGetMotionEvents
XGetNormalHints
XGetOCValues
XGetOMValues
XGetPixel
XGetPointerControl
XGetPointerMapping
XGetRGBColormaps
XGetScreenSaver
XGetSelectionOwner
XGetSizeHints
XGetStandardColormap
XGetSubImage
XGetTextProperty
XGetTransientForHint
XGetVisualInfo
XGetWMClientMachine
XGetWMColormapWindows
XGetWMHints
XGetWMIconName
XGetWMName
XGetWMNormalHints
XGetWMProtocols
XGetWMSizeHints
XGetWindowAttributes
XGetWindowProperty
XGetZoomHints
XGrabButton
XGrabKey
XGrabKeyboard
XGrabPointer
XGrabServer
XHeightMMOfScreen
XHeightOfScreen
XIMOfIC
XIconifyWindow
XIfEvent
XImageByteOrder
XInitExtension
XInitImage
XInitThreads
XInsertModifiermapEntry
XInstallColormap
XInternAtom
XInternAtoms
XInternalConnectionNumbers
XIntersectRegion
XKeycodeToKeysym
XKeysymToKeycode
XKeysymToString
XKillClient
XLastKnownRequestProcessed
XListDepths
XListExtensions
XListFonts
XListFontsWithInfo
XListHosts
XListInstalledColormaps
XListPixmapFormats
XListProperties
XLoadFont
XLoadQueryFont
XLocaleOfFontSet
XLocaleOfIM
XLocaleOfOM
XLockDisplay
XLookupColor
XLookupKeysym
XLookupString
XLowerWindow
XMapRaised
XMapSubwindows
XMapWindow
XMaskEvent
XMatchVisualInfo
XMaxCmapsOfScreen
XMaxRequestSize
XMinCmapsOfScreen
XMoveResizeWindow
XMoveWindow
XNewModifiermap
XNextEvent
XNextRequest
XNoOp
XOMOfOC
XOffsetRegion
XOpenDisplay
XOpenIM
XOpenOM
XParseColor
XParseGeometry
XPeekEvent
XPeekIfEvent
XPending
XPlanesOfScreen
XPointInRegion
XPolygonRegion
XProcessInternalConnection
XProtocolRevision
XProtocolVersion
XPutBackEvent
XPutImage
XPutPixel
XQLength
XQueryBestCursor
XQueryBestSize
XQueryBestStipple
XQueryBestTile
XQueryColor
XQueryColors
XQueryExtension
XQueryFont
XQueryKeymap
XQueryPointer
XQueryTextExtents
XQueryTextExtents16
XQueryTree
XRaiseWindow
XReadBitmapFile
XReadBitmapFileData
XRebindKeysym
XRecolorCursor
XReconfigureWMWindow
XRectInRegion
XRefreshKeyboardMapping
XRegisterIMInstantiateCallback
XRemoveConnectionWatch
XRemoveFromSaveSet
XRemoveHost
XRemoveHosts
XReparentWindow
XResetScreenSaver
XResizeWindow
XResourceManagerString
XRestackWindows
XRootWindow
XRootWindowOfScreen
XRotateBuffers
XRotateWindowProperties
XSaveContext
XScreenCount
XScreenNumberOfScreen
XScreenOfDisplay
XScreenResourceString
XSelectInput
XSendEvent
XServerVendor
XSetAccessControl
XSetAfterFunction
XSetArcMode
XSetAuthorization
XSetBackground
XSetClassHint
XSetClipMask
XSetClipOrigin
XSetClipRectangles
XSetCloseDownMode
XSetCommand
XSetDashes
XSetErrorHandler
XSetFillRule
XSetFillStyle
XSetFont
XSetFontPath
XSetForeground
XSetFunction
XSetGraphicsExposures
XSetICFocus
XSetICValues
XSetIMValues
XSetIOErrorHandler
XSetIconName
XSetIconSizes
XSetInputFocus
XSetLineAttributes
XSetLocaleModifiers
XSetModifierMapping
XSetNormalHints
XSetOCValues
XSetOMValues
XSetPlaneMask
XSetPointerMapping
XSetRGBColormaps
XSetRegion
XSetScreenSaver
XSetSelectionOwner
XSetSizeHints
XSetStandardColormap
XSetStandardProperties
XSetState
XSetStipple
XSetSubwindowMode
XSetTSOrigin
XSetTextProperty
XSetTile
XSetTransientForHint
XSetWMClientMachine
XSetWMColormapWindows
XSetWMHints
XSetWMIconName
XSetWMName
XSetWMNormalHints
XSetWMProperties
XSetWMProtocols
XSetWMSizeHints
XSetWindowBackground
XSetWindowBackgroundPixmap
XSetWindowBorder
XSetWindowBorderPixmap
XSetWindowBorderWidth
XSetWindowColormap
XSetZoomHints
XShrinkRegion
XStoreBuffer
XStoreBytes
XStoreColor
XStoreColors
XStoreName
XStoreNamedColor
XStringListToTextProperty
XStringToKeysym
XSubImage
XSubtractRegion
XSupportsLocale
XSync
XSynchronize
XTextExtents
XTextExtents16
XTextPropertyToStringList
XTextWidth
XTextWidth16
XTranslateCoordinates
XUndefineCursor
XUngrabButton
XUngrabKey
XUngrabKeyboard
XUngrabPointer
XUngrabServer
XUninstallColormap
XUnionRectWithRegion
XUnionRegion
XUnloadFont
XUnlockDisplay
XUnmapSubwindows
XUnmapWindow
XUnregisterIMInstantiateCallback
XUnsetICFocus
XVaCreateNestedList
XVendorRelease
XVisualIDFromVisual
XWMGeometry
XWarpPointer
XWhitePixel
XWhitePixelOfScreen
XWidthMMOfScreen
XWidthOfScreen
XWindowEvent
XWithdrawWindow
XWriteBitmapFile
XXorRegion
XcmsAddColorSpace
XcmsAddFunctionSet
XcmsAllocColor
XcmsAllocNamedColor
XcmsCCCOfColormap
XcmsCIELabClipL
XcmsCIELabClipLab
XcmsCIELabClipab
XcmsCIELabQueryMaxC
XcmsCIELabQueryMaxL
XcmsCIELabQueryMaxLC
XcmsCIELabQueryMinL
XcmsCIELabToCIEXYZ
XcmsCIELabWhiteShiftColors
XcmsCIELuvClipL
XcmsCIELuvClipLuv
XcmsCIELuvClipuv
XcmsCIELuvQueryMaxC
XcmsCIELuvQueryMaxL
XcmsCIELuvQueryMaxLC
XcmsCIELuvQueryMinL
XcmsCIELuvToCIEuvY
XcmsCIELuvWhiteShiftColors
XcmsCIEXYZToCIELab
XcmsCIEXYZToCIEuvY
XcmsCIEXYZToCIExyY
XcmsCIEXYZToRGBi
XcmsCIEuvYToCIELuv
XcmsCIEuvYToCIEXYZ
XcmsCIEuvYToTekHVC
XcmsCIExyYToCIEXYZ
XcmsClientWhitePointOfCCC
XcmsConvertColors
XcmsCreateCCC
XcmsDefaultCCC
XcmsDisplayOfCCC
XcmsFormatOfPrefix
XcmsFreeCCC
XcmsLookupColor
XcmsPrefixOfFormat
XcmsQueryBlack
XcmsQueryBlue
XcmsQueryColor
XcmsQueryColors
XcmsQueryGreen
XcmsQueryRed
XcmsQueryWhite
XcmsRGBToRGBi
XcmsRGBiToCIEXYZ
XcmsRGBiToRGB
XcmsScreenNumberOfCCC
XcmsScreenWhitePointOfCCC
XcmsSetCCCOfColormap
XcmsSetCompressionProc
XcmsSetWhiteAdjustProc
XcmsSetWhitePoint
XcmsStoreColor
XcmsStoreColors
XcmsTekHVCClipC
XcmsTekHVCClipV
XcmsTekHVCClipVC
XcmsTekHVCQueryMaxC
XcmsTekHVCQueryMaxV
XcmsTekHVCQueryMaxVC
XcmsTekHVCQueryMaxVSamples
XcmsTekHVCQueryMinV
XcmsTekHVCToCIEuvY
XcmsTekHVCWhiteShiftColors
XcmsVisualOfCCC
XkbAddDeviceLedInfo
XkbAddKeyType
XkbAllocClientMap
XkbAllocCompatMap
XkbAllocControls
XkbAllocDeviceInfo
XkbAllocIndicatorMaps
XkbAllocKeyboard
XkbAllocNames
XkbAllocServerMap
XkbBell
XkbBellEvent
XkbChangeDeviceInfo
XkbChangeEnabledControls
XkbChangeMap
XkbChangeNames
XkbChangeTypesOfKey
XkbComputeEffectiveMap
XkbCopyKeyType
XkbCopyKeyTypes
XkbDeviceBell
XkbDeviceBellEvent
XkbForceBell
XkbForceDeviceBell
XkbFreeClientMap
XkbFreeCompatMap
XkbFreeComponentList
XkbFreeControls
XkbFreeDeviceInfo
XkbFreeIndicatorMaps
XkbFreeKeyboard
XkbFreeNames
XkbFreeServerMap
XkbGetAutoRepeatRate
XkbGetAutoResetControls
XkbGetCompatMap
XkbGetControls
XkbGetDetectableAutoRepeat
XkbGetDeviceButtonActions
XkbGetDeviceInfo
XkbGetDeviceInfoChanges
XkbGetDeviceLedInfo
XkbGetIndicatorMap
XkbGetIndicatorState
XkbGetKeyActions
XkbGetKeyBehaviors
XkbGetKeyExplicitComponents
XkbGetKeyModifierMap
XkbGetKeySyms
XkbGetKeyTypes
XkbGetKeyboard
XkbGetKeyboardByName
XkbGetMap
XkbGetMapChanges
XkbGetNamedDeviceIndicator
XkbGetNamedIndicator
XkbGetNames
XkbGetState
XkbGetUpdatedMap
XkbGetVirtualMods
XkbGetXlibControls
XkbIgnoreExtension
XkbInitCanonicalKeyTypes
XkbKeycodeToKeysym
XkbKeysymToModifiers
XkbLatchGroup
XkbLatchModifiers
XkbLibraryVersion
XkbListComponents
XkbLockGroup
XkbLockModifiers
XkbLookupKeyBinding
XkbLookupKeySym
XkbNoteDeviceChanges
XkbNoteMapChanges
XkbNoteNameChanges
XkbOpenDisplay
XkbQueryExtension
XkbRefreshKeyboardMapping
XkbResizeDeviceButtonActions
XkbResizeKeyActions
XkbResizeKeySyms
XkbResizeKeyType
XkbSelectEventDetails
XkbSelectEvents
XkbSetAtomFuncs
XkbSetAutoRepeatRate
XkbSetAutoResetControls
XkbSetCompatMap
XkbSetControls
XkbSetDebuggingFlags
XkbSetDetectableAutoRepeat
XkbSetDeviceButtonActions
XkbSetDeviceInfo
XkbSetDeviceLedInfo
XkbSetIgnoreLockMods
XkbSetIndicatorMap
XkbSetMap
XkbSetNamedDeviceIndicator
XkbSetNamedIndicator
XkbSetNames
XkbSetServerInternalMods
XkbSetXlibControls
XkbToControl
XkbTranslateKeyCode
XkbTranslateKeySym
XkbUseExtension
XkbVirtualModsToReal
XmbDrawImageString
XmbDrawString
XmbDrawText
XmbLookupString
XmbResetIC
XmbSetWMProperties
XmbTextEscapement
XmbTextExtents
XmbTextListToTextProperty
XmbTextPerCharExtents
XmbTextPropertyToTextList
Xpermalloc
XrmCombineDatabase
XrmCombineFileDatabase
XrmDestroyDatabase
XrmEnumerateDatabase
XrmGetDatabase
XrmGetFileDatabase
XrmGetResource
XrmGetStringDatabase
XrmInitialize
XrmLocaleOfDatabase
XrmMergeDatabases
XrmParseCommand
XrmPermStringToQuark
XrmPutFileDatabase
XrmPutLineResource
XrmPutResource
XrmPutStringResource
XrmQGetResource
XrmQGetSearchList
XrmQGetSearchResource
XrmQPutResource
XrmQPutStringResource
XrmQuarkToString
XrmSetDatabase
XrmStringToBindingQuarkList
XrmStringToQuark
XrmStringToQuarkList
XrmUniqueQuark
XwcDrawImageString
XwcDrawString
XwcDrawText
XwcFreeStringList
XwcLookupString
XwcResetIC
XwcTextEscapement
XwcTextExtents
XwcTextListToTextProperty
XwcTextPerCharExtents
XwcTextPropertyToTextList
_XAllocID
_XAllocIDs
_XAllocScratch
_XAllocTemp
_XAsyncErrorHandler
_XConnectDisplay
_XDeqAsyncHandler
_XEatData
_XError
_XFlush
_XFlushGCCache
_XFreeTemp
_XGetAsyncData
_XGetAsyncReply
_XIOError
_XInitImageFuncPtrs
_XRead
_XReadEvents
_XReadPad
_XRegisterFilterByMask
_XRegisterFilterByType
_XRegisterInternalConnection
_XReply
_XSend
_XSetLastRequestRead
_XUnknownNativeEvent
_XUnregisterFilter
_XUnregisterInternalConnection
_XVIDtoVisual
_Xlcmbstowcs
_Xlcmbtowc
_Xlcwcstombs
_Xlcwctomb
_Xmblen
_Xmbstowcs
_Xmbtowc
_Xsetlocale
_Xwcscmp
_Xwcscpy
_Xwcslen
_Xwcsncmp
_Xwcsncpy
_Xwcstombs
_Xwctomb

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]