Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 21 Nov 2013 06:48:40 -0500
From:      tzoi516 <tzoi516@gmail.com>
To:        freebsd-x11@freebsd.org
Subject:   Re: graphics/dri
Message-ID:  <FC46C4B4-033E-4BD6-B742-22296271BAB8@gmail.com>
In-Reply-To: <CAN6yY1voHzCGYLhzqeeycVpznK0nM_T=XPROSOmXBjpscuGuAQ@mail.gmail.com>
References:  <CADp1fDNwARA0s=DG--wwY4xm-sccVzO5_FLf6GK70g3_j2ueOw@mail.gmail.com> <CAN6yY1voHzCGYLhzqeeycVpznK0nM_T=XPROSOmXBjpscuGuAQ@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help


On 20 Nov 2013, at 7:13 PM, Kevin Oberman <> wrote:

> [Private mail... list removed]
> Just to be sure this is clear, you have "WITH_NEW_XORG=YES" and "WITH_KMS=YES" in /etc/make/.conf. The "WITH_" is needed, but I'm not sure that it is there from your post. (The "YES" text can be anything, even "NO”.)

Yes, here are my /etc/make.conf settings:

WITH_PKGNG=yes
#CCACHE_CPP2=1
CC=clang
CXX=clang++
CPP=clang-cpp
WRKDIRPREFIX=/ram
WITH_CCACHE_BUILD=yes
WITH_NEW_XORG=yes
WITH_KMS=yes
MAKE_JOBS_UNSAFE=yes

Per the Wiki, I also tried using “true” for both.


> 
> 
> On Wed, Nov 20, 2013 at 4:06 PM, Michael Henze <tzoi516@gmail.com> wrote:
> I have updated gcc and clang, and have tried various /etc/make.conf options
> but I still can't compile graphics/dri for an Intel HD Graphics 3000 laptop
> with the NEW_XORG and KMS options. Here are the errors:
> 
> In file included from i830_context.c:28:
> In file included from ./i830_context.h:31:
> ../../../../../src/mesa/drivers/dri/intel/intel_context.h:249:4: error:
> unknown type name 'drm_intel_context'
>    drm_intel_context *hw_ctx;
>    ^
> 1 error generated.
> gmake[6]: *** [i830_context.lo] Error 1
> gmake[6]: Leaving directory
> `/ram/usr/ports/graphics/dri/work/Mesa-9.1.6/src/mesa/drivers/dri/i915'
> gmake[5]: *** [all-recursive] Error 1
> gmake[5]: Leaving directory
> `/ram/usr/ports/graphics/dri/work/Mesa-9.1.6/src/mesa/drivers/dri'
> gmake[4]: *** [all-recursive] Error 1
> gmake[4]: Leaving directory
> `/ram/usr/ports/graphics/dri/work/Mesa-9.1.6/src/mesa/drivers'
> gmake[3]: *** [all-recursive] Error 1
> gmake[3]: Leaving directory
> `/ram/usr/ports/graphics/dri/work/Mesa-9.1.6/src/mesa'
> gmake[2]: *** [all] Error 2
> gmake[2]: Leaving directory
> `/ram/usr/ports/graphics/dri/work/Mesa-9.1.6/src/mesa'
> gmake[1]: *** [all-recursive] Error 1
> gmake[1]: Leaving directory
> `/ram/usr/ports/graphics/dri/work/Mesa-9.1.6/src'
> gmake: *** [all-recursive] Error 1
> *** [do-build] Error code 1
> 
> Stop in /usr/ports/graphics/dri.
> 
> ===>>> make failed for graphics/dri
> 
> Any suggestions is greatly appreciated. I do use ccache, but I have tried
> compiling without it and still get the same errors.
> _______________________________________________
> freebsd-x11@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-x11
> To unsubscribe, send any mail to "freebsd-x11-unsubscribe@freebsd.org"
> 
> 
> 
> -- 
> R. Kevin Oberman, Network Engineer
> E-mail: rkoberman@gmail.com




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?FC46C4B4-033E-4BD6-B742-22296271BAB8>