From: Heinz-Ado Arnolds Subject: Problem when compiling libdrm-2.4.20 with seperate obj dir Date: Tue, 06 Apr 2010 12:34:23 +0200 Message-ID: <4BBB0E2F.3060907@MPA-Garching.MPG.DE> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="------------010209070503040806080806" Return-path: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.sourceforge.net To: dri-devel@lists.sourceforge.net List-Id: dri-devel@lists.freedesktop.org This is a multi-part message in MIME format. --------------010209070503040806080806 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Hi, there is a slight problem when compiling libdrm-2.4.20 with separate source and object dirs. When compiling "libkms/linux.c" the header file "xf86drm.h" will not be found since headers are only searched for in top_builddir but not in top_sourcedir. The attached patch is required to fix this. Thanks a lot for your great work. (I'm not a member in this list.) Kind regards, H.-A. Arnolds --------------010209070503040806080806 Content-Type: text/plain; name="libdrm-2.4.20-include.patch" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="libdrm-2.4.20-include.patch" diff -cr libdrm-2.4.20.orig/libkms/Makefile.in libdrm-2.4.20/libkms/Makefile.in *** libdrm-2.4.20.orig/libkms/Makefile.in Fri Apr 2 22:53:29 2010 --- libdrm-2.4.20/libkms/Makefile.in Tue Apr 6 12:24:59 2010 *************** *** 84,90 **** libkms_la_LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) \ $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \ $(libkms_la_LDFLAGS) $(LDFLAGS) -o $@ ! DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir) depcomp = $(SHELL) $(top_srcdir)/depcomp am__depfiles_maybe = depfiles am__mv = mv -f --- 84,90 ---- libkms_la_LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) \ $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \ $(libkms_la_LDFLAGS) $(LDFLAGS) -o $@ ! DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir) -I$(top_srcdir) depcomp = $(SHELL) $(top_srcdir)/depcomp am__depfiles_maybe = depfiles am__mv = mv -f --------------010209070503040806080806 Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev --------------010209070503040806080806 Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline -- _______________________________________________ Dri-devel mailing list Dri-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dri-devel --------------010209070503040806080806--