On Tue, 2009-01-20 at 14:30 -0500, Chris Ball wrote:
> http://tinderbox.x.org/builds/2009-01-20-0024/logs/xserver/#build
> 
> ./.libs/libxorg.a(sdksyms.o):(.data.rel+0x308): undefined reference to
> `CreateUnclippedWinSize'
> 
> http://cgit.freedesktop.org/xorg/xserver/commit/?id=20d2117eb82fb7ce91afd4f01fe1b9d4b1bf0459
> 

I'm seeing this also.  It seems like the sdksyms.sh script should try to
pull in this symbol since it isn't decorated with _X_EXPORT.  The
attached patch makes that part of the build work, but
is...eh...unpleasant to my eyes.

With that fixed, I hit the following failure:

kbd.c:148: error: ‘__XKBDEFRULES__’ undeclared here (not in a function)

diff --git a/Xext/mbuf.c b/Xext/mbuf.c
index 8276032..43a905f 100644
--- a/Xext/mbuf.c
+++ b/Xext/mbuf.c
@@ -57,6 +57,8 @@ in this Software without prior written authorization from The Open Group.
 
 #define ValidEventMasks (ExposureMask|MultibufferClobberNotifyMask|MultibufferUpdateNotifyMask)
 
+RegionPtr CreateUnclippedWinSize(WindowPtr);
+
 static int		MultibufferEventBase;
 static int		MultibufferErrorBase;
 static int MultibufferScreenPrivKeyIndex;
diff --git a/Xext/mbufpx.c b/Xext/mbufpx.c
index 01811d9..72de3c9 100644
--- a/Xext/mbufpx.c
+++ b/Xext/mbufpx.c
@@ -49,6 +49,7 @@ in this Software without prior written authorization from The Open Group.
 #define _MULTIBUF_PIXMAP_
 #include <X11/extensions/multibufst.h>
 
+extern RegionPtr CreateUnclippedWinSize(WindowPtr);
 
 static Bool NoopDDA_True() { return TRUE; }
 
diff --git a/include/window.h b/include/window.h
index 8c25799..6fb2f8c 100644
--- a/include/window.h
+++ b/include/window.h
@@ -156,8 +156,6 @@ extern _X_EXPORT void GetWindowAttributes(
     ClientPtr /*client*/,
     xGetWindowAttributesReply* /* wa */);
 
-extern RegionPtr CreateUnclippedWinSize(WindowPtr);
-
 extern _X_EXPORT void GravityTranslate(
     int /*x*/,
     int /*y*/,

Attachment: signature.asc
Description: This is a digitally signed message part

_______________________________________________
xorg mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/xorg

Reply via email to