[Mesa-dev] Mesa 7.11 release candidate 2

Brian Paul brianp at vmware.com
Wed Jul 20 06:57:57 PDT 2011


On 07/20/2011 07:38 AM, Matt Turner wrote:
> On Wed, Jul 20, 2011 at 1:08 AM, Sebastian H.<vand2 at gmx.de>  wrote:
>> Hello list
>>
>>> Mesa 7.11-rc2 has been released.  This is a release candidate for the
>>> 7.11 development release.
>>
>> I've tried to compile this one
>>
>>> 996aea3cca40bb34c0a9027411924879  MesaGLUT-7.11-rc2.tar.bz2
>>
>> After unpacking
>>
>> ./configure --prefix=/opt/mesa PKG_CONFIG_PATH=/opt/mesa/lib/pkgconfig
>> LC_ALL=C make -j8
>>
>> Make fails here
>>
>> gcc -c -I. -I../../../../../src/mesa/drivers/dri/common -Iserver
>> -I../../../../../include -I../../../../../src/mapi -I../../../../../src/mesa
>> -I../../../../../src/egl/main -I../../../../../src/egl/drivers/dri
>> -I/opt/mesa/include -I/opt/mesa/include/libdrm    -DFEATURE_GL=1
>> -I/opt/mesa/include -I/opt/mesa/include/libdrm -I/usr/include/libdrm
>> -I/usr/include/nouveau   -g -O2 -Wall -Wmissing-prototypes -std=c99
>> -ffast-math -fno-strict-aliasing  -fPIC  -DUSE_X86_64_ASM -D_GNU_SOURCE
>> -DPTHREADS -DHAVE_POSIX_MEMALIGN -DUSE_EXTERNAL_DXTN_LIB=1 -DIN_DRI_DRIVER
>> -DGLX_DIRECT_RENDERING -DGLX_INDIRECT_RENDERING -DHAVE_ALIAS
>> -DGALLIUM_LLVMPIPE -D__STDC_CONSTANT_MACROS -DHAVE_LLVM=0x0206
>> -fvisibility=hidden  nouveau_bo_state.c -o nouveau_bo_state.o
>> In file included from nouveau_fbo.c:27:
>> nouveau_driver.h:49:26: error: nv04_pushbuf.h: No such file or directory
>> In file included from nouveau_state.c:27:
>> nouveau_driver.h:49:26: error: nv04_pushbuf.h: No such file or directory
>> In file included from nouveau_state.c:30:
>> nouveau_util.h: In function 'OUT_RINGb':
>> nouveau_util.h:169: warning: implicit declaration of function 'OUT_RING'
>> nouveau_util.h: In function 'OUT_RINGm':
>> nouveau_util.h:179: warning: implicit declaration of function 'OUT_RINGf'
>> In file included from nouveau_screen.c:27:
>> nouveau_driver.h:49:26: error: nv04_pushbuf.h: No such file or directory
>> make[6]: *** [nouveau_fbo.o] Error 1
>> make[6]: *** Waiting for unfinished jobs....
>> In file included from nouveau_context.c:27:
>> nouveau_driver.h:49:26: error: nv04_pushbuf.h: No such file or directory
>> make[6]: *** [nouveau_state.o] Error 1
>> make[6]: *** [nouveau_screen.o] Error 1
>> In file included from nouveau_driver.c:29:
>> nouveau_driver.h:49:26: error: nv04_pushbuf.h: No such file or directory
>> In file included from nouveau_span.c:27:
>> nouveau_driver.h:49:26: error: nv04_pushbuf.h: No such file or directory
>> In file included from nouveau_bufferobj.c:27:
>> nouveau_driver.h:49:26: error: nv04_pushbuf.h: No such file or directory
>> In file included from nouveau_driver.c:32:
>> nouveau_util.h: In function 'OUT_RINGb':
>> nouveau_util.h:169: warning: implicit declaration of function 'OUT_RING'
>> nouveau_util.h: In function 'OUT_RINGm':
>> nouveau_util.h:179: warning: implicit declaration of function 'OUT_RINGf'
>> nouveau_driver.c: In function 'nouveau_flush':
>> nouveau_driver.c:62: warning: implicit declaration of function 'FIRE_RING'
>> make[6]: *** [nouveau_bufferobj.o] Error 1
>> In file included from nouveau_bo_state.c:27:
>> nouveau_driver.h:49:26: error: nv04_pushbuf.h: No such file or directory
>> nouveau_bo_state.c: In function 'nouveau_bo_marker_emit':
>> nouveau_bo_state.c:40: warning: implicit declaration of function 'MARK_RING'
>> nouveau_bo_state.c:46: warning: implicit declaration of function
>> 'nouveau_pushbuf_emit_reloc'
>> nouveau_bo_state.c:46: error: 'struct nouveau_channel' has no member named
>> 'cur'
>> nouveau_bo_state.c:54: error: 'struct nouveau_channel' has no member named
>> 'cur'
>> nouveau_bo_state.c:57: error: 'struct nouveau_channel' has no member named
>> 'cur'
>> nouveau_bo_state.c:65: warning: implicit declaration of function 'MARK_UNDO'
>> make[6]: *** [nouveau_driver.o] Error 1
>> make[6]: *** [nouveau_bo_state.o] Error 1
>> make[6]: *** [nouveau_span.o] Error 1
>> nouveau_context.c: In function 'nouveau_context_init':
>> nouveau_context.c:133: warning: passing argument 4 of
>> 'nouveau_channel_alloc' makes pointer from integer without a cast
>> /usr/include/nouveau/nouveau_channel.h:50: note: expected 'struct
>> nouveau_channel **' but argument is of type 'int'
>> nouveau_context.c:133: error: too many arguments to function
>> 'nouveau_channel_alloc'
>> nouveau_context.c: In function 'update_framebuffer':
>> nouveau_context.c:282: warning: implicit declaration of function 'FIRE_RING'
>> make[6]: *** [nouveau_context.o] Error 1
>> make[6]: Leaving directory
>> `/home/sebastian/source/Mesa-7.11-rc2/src/mesa/drivers/dri/nouveau'
>> make[5]: *** [lib] Error 2
>> make[5]: Leaving directory
>> `/home/sebastian/source/Mesa-7.11-rc2/src/mesa/drivers/dri/nouveau'
>> make[4]: *** [subdirs] Error 1
>> make[4]: Leaving directory
>> `/home/sebastian/source/Mesa-7.11-rc2/src/mesa/drivers/dri'
>> make[3]: *** [default] Error 1
>> make[3]: Leaving directory
>> `/home/sebastian/source/Mesa-7.11-rc2/src/mesa/drivers'
>> make[2]: *** [driver_subdirs] Error 2
>> make[2]: Leaving directory `/home/sebastian/source/Mesa-7.11-rc2/src/mesa'
>> make[1]: *** [subdirs] Error 1
>> make[1]: Leaving directory `/home/sebastian/source/Mesa-7.11-rc2/src'
>> make: *** [default] Error 1
>
> nv04_pushbuf.h is included in libdrm/nouveau. It doesn't look like you
> have it installed.

I've run into this too, actually.  I think the problem is the libdrm 
'make install' rule isn't actually installing the nouveau/*.h headers. 
  Last time I upgraded my libdrm I had to manually copy them to my 
/usr/local/include/ dir.

Maybe one of the libdrm maintainers can comment on this or fix it?

-Brian


More information about the mesa-dev mailing list