Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 2 May 2010 11:04:42 +0200
From:      Demelier David <demelier.david@gmail.com>
To:        freebsd-ports@freebsd.org
Subject:   graphics/dri fails to build.
Message-ID:  <20100502090442.GA2548@Abricot.malikania.fr>

next in thread | raw e-mail | index | archive | help
Hi freebsd-ports,

   I have two machines one running 8.0-RELEASE and one using 8.0-STABLE, the
   stable one successfully update xorg to 7.5 but the other one do not :

   cc -c -I. -I../../../../../src/mesa/drivers/dri/common -Iserver -I../../../../../include -I../../../../../src/mesa -I../../../../../src/egl/main -I../../../../../src/egl/drivers/dri -I/usr/local/include -I/usr/local/include/drm    -I/usr/local/include -O2 -pipe -fno-strict-aliasing -Wall -Wmissing-prototypes -std=c99 -ffast-math -fno-strict-aliasing  -fPIC  -DUSE_X86_ASM -DUSE_MMX_ASM -DUSE_3DNOW_ASM -DUSE_SSE_ASM -DHAVE_POSIX_MEMALIGN -DUSE_XCB -DPTHREADS -DUSE_EXTERNAL_DXTN_LIB=1 -DIN_DRI_DRIVER -DHAVE_ALIAS -DGLX_INDIRECT_RENDERING -DGLX_DIRECT_RENDERING -I../intel -I../intel/server -DI915 -DDRM_VBLANK_FLIP=DRM_VBLANK_FLIP i830_context.c -o i830_context.o
   In file included from i830_context.h:31,
                    from i830_context.c:28:
   ../intel/intel_context.h:38:26: error: intel_bufmgr.h: No such file or directory
   In file included from ../intel/intel_context.h:40,
                    from i830_context.h:31,
                    from i830_context.c:28:
   ../intel/intel_screen.h:81: error: expected specifier-qualifier-list before 'dri_bufmgr'
   In file included from i830_context.h:31,
                    from i830_context.c:28:
   ../intel/intel_context.h:93: error: expected specifier-qualifier-list before 'drm_intel_bo'
   ../intel/intel_context.h:166: error: expected declaration specifiers or '...' before 'dri_bo'
   ../intel/intel_context.h:183: error: expected specifier-qualifier-list before 'dri_bufmgr'
   In file included from i830_context.c:28:
   i830_context.h:133: error: expected specifier-qualifier-list before 'dri_bo'
   i830_context.c: In function 'i830CreateContext':
   i830_context.c:75: error: 'struct intel_context' has no member named 'ViewportMatrix'
   i830_context.c:85: error: 'struct intel_context' has no member named 'no_rast'
   i830_context.c:108: error: 'struct intel_context' has no member named 'verts'
   gmake[5]: *** [i830_context.o] Error 1
   gmake[5]: Leaving directory `/usr/ports/graphics/dri/work/Mesa-7.6.1/src/mesa/drivers/dri/i915'
   gmake[4]: *** [subdirs] Error 1
   gmake[4]: Leaving directory `/usr/ports/graphics/dri/work/Mesa-7.6.1/src/mesa/drivers/dri'
   gmake[3]: *** [default] Error 1
   gmake[3]: Leaving directory `/usr/ports/graphics/dri/work/Mesa-7.6.1/src/mesa/drivers'
   gmake[2]: *** [driver_subdirs] Error 2
   gmake[2]: Leaving directory `/usr/ports/graphics/dri/work/Mesa-7.6.1/src/mesa'
   gmake[1]: *** [subdirs] Error 1
   gmake[1]: Leaving directory `/usr/ports/graphics/dri/work/Mesa-7.6.1/src'
   gmake: *** [default] Error 1
   *** Error code 1

   I have the same make.conf on the both, only WITHOUT_NOUVEAU=YES defined. What
   can I try ?

   King regards.
   David.




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20100502090442.GA2548>