graphics/dri

Jean-Sébastien Pédron jean-sebastien.pedron at dumbbell.fr
Mon Dec 9 13:30:55 UTC 2013


On 21.11.2013 01:06, Michael Henze 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.

Did you make sure old graphics/libGL and graphics/dri were removed
before building graphics/dri?

This /usr/ports/UPDATING entry may help you:

20130929:
  AFFECTS: users of graphics/libGL, graphics/dri and other MESA ports
  AUTHOR: zeising at FreeBSD.org

  The graphics/libGL, graphics/dri and related MESA ports have been
  updated to 9.1 when compiled with WITH_NEW_XORG= set.  It is necessary
  to remove the old versions of both ports before updating.

  # pkg_delete -f libGL-\* dri-\*
    or
  # pkg delete -f libGL dri
    followed by
  # portmaster -a

-- 
Jean-Sébastien Pédron

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 261 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freebsd.org/pipermail/freebsd-x11/attachments/20131209/7f132692/attachment.sig>


More information about the freebsd-x11 mailing list