[PATCH] dmx: Fix the build

Jon TURNEY jon.turney at dronecode.org.uk
Fri Aug 28 04:48:24 PDT 2015


On 09/07/2015 01:33, Dave Airlie wrote:
> On 9 July 2015 at 05:57, Adam Jackson <ajax at redhat.com> wrote:
>> Broken since:
>>
>>      commit 4fd81823fafcd103e8d890f4c0f7c2f90e822336
>>      Author: Dave Airlie <airlied at gmail.com>
>>      Date:   Tue Jun 30 14:54:42 2015 +1000
>>
>>          prime: add rotation support for offloaded outputs (v2)
>>
>> Signed-off-by: Adam Jackson <ajax at redhat.com>
>
> tinderbox is gone down, so I missed this.

I'm not sure why this fixes this

To build successfully I needed to place RANDR_LIB after DIX_LIB, so the 
reference to RRTransformCompute in DIX_LIB is satisfied.

Patch attached.

-------------- next part --------------
From f6450694792c367c3e59c73e7f8c76e73175b30a Mon Sep 17 00:00:00 2001
From: Jon TURNEY <jon.turney at dronecode.org.uk>
Date: Fri, 1 May 2015 17:06:47 +0100
Subject: [PATCH] Build fix for DMX

./../dix/.libs/libdix.a(pixmap.o): In function `PixmapStartDirtyTracking':
xorg/xserver/dix/pixmap.c:194: undefined reference to `RRTransformCompute'

I'm not quite sure how 0db457b fixes this

Move RANDR_LIB to after DIX_LIB, so the reference to RRTransformCompute in
DIX_LIB is satisfied.

Signed-off-by: Jon TURNEY <jon.turney at dronecode.org.uk>
---
 configure.ac | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/configure.ac b/configure.ac
index 00aec2b..c8f80a3 100644
--- a/configure.ac
+++ b/configure.ac
@@ -2268,7 +2268,7 @@ if test "x$DMX" = xyes; then
 	fi
 	DMX_INCLUDES="$XEXT_INC $RENDER_INC $RECORD_INC"
 	XDMX_CFLAGS="$DMXMODULES_CFLAGS"
-	XDMX_LIBS="$FB_LIB $MI_LIB $XEXT_LIB $RANDR_LIB $RENDER_LIB $RECORD_LIB $XI_LIB $XKB_LIB $XKB_STUB_LIB  $DRI3_LIB $PRESENT_LIB $MIEXT_SYNC_LIB $MIEXT_SHADOW_LIB $MIEXT_DAMAGE_LIB $COMPOSITE_LIB $DAMAGE_LIB $MAIN_LIB $DIX_LIB $CONFIG_LIB $OS_LIB $FIXES_LIB"
+	XDMX_LIBS="$FB_LIB $MI_LIB $XEXT_LIB $RENDER_LIB $RECORD_LIB $XI_LIB $XKB_LIB $XKB_STUB_LIB $DRI3_LIB $PRESENT_LIB $MIEXT_SYNC_LIB $MIEXT_SHADOW_LIB $MIEXT_DAMAGE_LIB $COMPOSITE_LIB $DAMAGE_LIB $MAIN_LIB $DIX_LIB $RANDR_LIB $CONFIG_LIB $OS_LIB $FIXES_LIB"
 	XDMX_SYS_LIBS="$DMXMODULES_LIBS"
 	AC_SUBST([XDMX_CFLAGS])
 	AC_SUBST([XDMX_LIBS])
-- 
2.4.5



More information about the xorg-devel mailing list