Hi,

I checked out a new Xorg recently and found i required the latest Git
release of mesa.

After copyng the headers from xorg/proto/glproto to my mesa tree include/GL
the build of libGL.so GLU GLw and Glut went smoothly.  The dri section moved
on I810 and various other intel parts pass without incident.

It barfs around I915

here is the output from the build

<paste>

makedepend: warning:  ../common/dri_util.c (reading
/usr/X11R6/include/dlfcn.h, line 26): cannot find include file "stddef.h"
    not in ../intel/stddef.h
    not in ../intel/server/stddef.h
    not in ./stddef.h
    not in ../../../../../src/mesa/drivers/dri/common/stddef.h
    not in server/stddef.h
    not in ../../../../../include/stddef.h
    not in ../../../../../include/GL/internal/stddef.h
    not in ../../../../../src/mesa/stddef.h
    not in ../../../../../src/mesa/main/stddef.h
    not in ../../../../../src/mesa/glapi/stddef.h
    not in ../../../../../src/egl/main/stddef.h
    not in ../../../../../src/egl/drivers/dri/stddef.h
    not in /usr/X11R6/include/stddef.h
    not in /usr/X11R6/include/drm/stddef.h
    not in /usr/include/stddef.h
makedepend: warning:  ../common/xmlconfig.c, line 34: cannot find include
file "expat.h"
    not in ../intel/expat.h
    not in ../intel/server/expat.h
    not in ./expat.h
    not in ../../../../../src/mesa/drivers/dri/common/expat.h
    not in server/expat.h
    not in ../../../../../include/expat.h
    not in ../../../../../include/GL/internal/expat.h
    not in ../../../../../src/mesa/expat.h
    not in ../../../../../src/mesa/main/expat.h
    not in ../../../../../src/mesa/glapi/expat.h
    not in ../../../../../src/egl/main/expat.h
    not in ../../../../../src/egl/drivers/dri/expat.h
    not in /usr/X11R6/include/expat.h
    not in /usr/X11R6/include/drm/expat.h
    not in /usr/include/expat.h
makedepend: warning:  i915_program.c (reading /usr/X11R6/include/strings.h,
line 29): cannot find include file "stddef.h"
    not in ../intel/stddef.h
    not in ../intel/server/stddef.h
    not in ./stddef.h
    not in ../../../../../src/mesa/drivers/dri/common/stddef.h
    not in server/stddef.h
    not in ../../../../../include/stddef.h
    not in ../../../../../include/GL/internal/stddef.h
    not in ../../../../../src/mesa/stddef.h
    not in ../../../../../src/mesa/main/stddef.h
    not in ../../../../../src/mesa/glapi/stddef.h
    not in ../../../../../src/egl/main/stddef.h
    not in ../../../../../src/egl/drivers/dri/stddef.h
    not in /usr/X11R6/include/stddef.h
    not in /usr/X11R6/include/drm/stddef.h
    not in /usr/include/stddef.h
makedepend: warning:  intel_decode.c, line 39: cannot find include file "
stdarg.h"
    not in ../intel/stdarg.h
    not in ../intel/server/stdarg.h
    not in ./stdarg.h
    not in ../../../../../src/mesa/drivers/dri/common/stdarg.h
    not in server/stdarg.h
    not in ../../../../../include/stdarg.h
    not in ../../../../../include/GL/internal/stdarg.h
    not in ../../../../../src/mesa/stdarg.h
    not in ../../../../../src/mesa/main/stdarg.h
    not in ../../../../../src/mesa/glapi/stdarg.h
    not in ../../../../../src/egl/main/stdarg.h
    not in ../../../../../src/egl/drivers/dri/stdarg.h
    not in /usr/X11R6/include/stdarg.h
    not in /usr/X11R6/include/drm/stdarg.h
    not in /usr/include/stdarg.h
make[6]: Leaving directory `/usr/src/xorg/mesa/src/mesa/drivers/dri/i915'
make[6]: Entering directory `/usr/src/xorg/mesa/src/mesa/drivers/dri/i915'
gcc -c -I. -I../../../../../src/mesa/drivers/dri/common -Iserver
-I../../../../../include -I../../../../../include/GL/internal
-I../../../../../src/mesa -I../../../../../src/mesa/main
-I../../../../../src/mesa/glapi -I../../../../../src/egl/main
-I../../../../../src/egl/drivers/dri `pkg-config --cflags libdrm`  -Wall
-Wmissing-prototypes -std=c99 -ffast-math -O -g -fPIC -m32 -D_POSIX_SOURCE
-D_POSIX_C_SOURCE=199309L -D_SVID_SOURCE -D_BSD_SOURCE -D_GNU_SOURCE
-DPTHREADS -DUSE_EXTERNAL_DXTN_LIB=1 -DIN_DRI_DRIVER -DGLX_DIRECT_RENDERING
-DGLX_INDIRECT_RENDERING -DHAVE_ALIAS -DHAVE_POSIX_MEMALIGN -DUSE_X86_ASM
-DUSE_MMX_ASM -DUSE_3DNOW_ASM -DUSE_SSE_ASM -fno-strict-aliasing -I../intel
-I../intel/server -DI915  ../common/dri_bufmgr.c -o ../common/dri_bufmgr.o
../common/dri_bufmgr.c: In function 'dri_bo_alloc':
../common/dri_bufmgr.c:43: error: 'DRM_BO_FLAG_MEM_PRIV0' undeclared (first
use in this function)
../common/dri_bufmgr.c:43: error: (Each undeclared identifier is reported
only once
../common/dri_bufmgr.c:43: error: for each function it appears in.)
../common/dri_bufmgr.c:43: error: 'DRM_BO_FLAG_MEM_PRIV1' undeclared (first
use in this function)
../common/dri_bufmgr.c:43: error: 'DRM_BO_FLAG_MEM_PRIV2' undeclared (first
use in this function)
../common/dri_bufmgr.c:43: error: 'DRM_BO_FLAG_MEM_PRIV3' undeclared (first
use in this function)
../common/dri_bufmgr.c:43: error: 'DRM_BO_FLAG_MEM_PRIV4' undeclared (first
use in this function)
../common/dri_bufmgr.c:43: error: 'DRM_BO_FLAG_CACHED_MAPPED' undeclared
(first use in this function)
../common/dri_bufmgr.c: In function 'dri_bo_alloc_static':
../common/dri_bufmgr.c:56: error: 'DRM_BO_FLAG_MEM_PRIV0' undeclared (first
use in this function)
../common/dri_bufmgr.c:56: error: 'DRM_BO_FLAG_MEM_PRIV1' undeclared (first
use in this function)
../common/dri_bufmgr.c:56: error: 'DRM_BO_FLAG_MEM_PRIV2' undeclared (first
use in this function)
../common/dri_bufmgr.c:56: error: 'DRM_BO_FLAG_MEM_PRIV3' undeclared (first
use in this function)
../common/dri_bufmgr.c:56: error: 'DRM_BO_FLAG_MEM_PRIV4' undeclared (first
use in this function)
make[6]: *** [../common/dri_bufmgr.o] Error 1
make[6]: Leaving directory `/usr/src/xorg/mesa/src/mesa/drivers/dri/i915'
make[5]: *** [subdirs] Error 1
make[5]: Leaving directory `/usr/src/xorg/mesa/src/mesa/drivers/dri'
make[4]: *** [linux-solo] Error 2
make[4]: Leaving directory `/usr/src/xorg/mesa/src/mesa'
make[3]: *** [default] Error 2
make[3]: Leaving directory `/usr/src/xorg/mesa/src/mesa'
make[2]: *** [subdirs] Error 1
make[2]: Leaving directory `/usr/src/xorg/mesa/src'
make[1]: *** [default] Error 1
make[1]: Leaving directory `/usr/src/xorg/mesa'
make: *** [linux-dri-x86] Error 2


</paste>

Hope this helps

I did make sure at this time to do a git fetch from
git.freedesktop.orgvarious changes were added but this one still
remians.

Regards and thanks

Nigel Sollars
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Mesa3d-dev mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mesa3d-dev

Reply via email to