Re: [Mesa-dev] Mesa 7.11 release candidate 2

2011-07-20 Thread Matt Turner
On Wed, Jul 20, 2011 at 1:08 AM, Sebastian H. va...@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 

Re: [Mesa-dev] Mesa 7.11 release candidate 2

2011-07-20 Thread Brian Paul

On 07/20/2011 07:38 AM, Matt Turner wrote:

On Wed, Jul 20, 2011 at 1:08 AM, Sebastian H.va...@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 

Re: [Mesa-dev] Mesa 7.11 release candidate 2

2011-07-20 Thread Sebastian H.
 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

 nv04_pushbuf.h is included in libdrm/nouveau. It doesn't look like you
 have it installed.

Indeed it isn't installed anywhere in /opt (also not in /usr).
Btw. the latest git mesa main compiles without it beeing there.

Alright, on the same system in ~/source/libdrm-2.4.26/

./configure --prefix=/opt/mesa \
LDFLAGS=-L/opt/mesa/lib \
PKG_CONFIG_PATH=/opt/mesa/lib/pkgconfig

finishes with

...
libdrm 2.4.26 will be compiled with:

  libkms yes
  Intel API  yes
  vmwgfx API no
  Radeon API yes
  Nouveau APIno
...

The Noveau API doesn't get installed after the autodetection.
This is a Debian/Squeeze system with a self-compiled
2.6.38 kernel and a RV570 card.
Maybe something is missing or too old for Nouveau.

Sebastian
___
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/mesa-dev


Re: [Mesa-dev] Mesa 7.11 release candidate 2

2011-07-20 Thread Marek Olšák
On Wed, Jul 20, 2011 at 4:39 PM, Sebastian H. va...@gmx.de wrote:
 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

 nv04_pushbuf.h is included in libdrm/nouveau. It doesn't look like you
 have it installed.

 Indeed it isn't installed anywhere in /opt (also not in /usr).
 Btw. the latest git mesa main compiles without it beeing there.

 Alright, on the same system in ~/source/libdrm-2.4.26/

 ./configure --prefix=/opt/mesa \
        LDFLAGS=-L/opt/mesa/lib \
        PKG_CONFIG_PATH=/opt/mesa/lib/pkgconfig

 finishes with

 ...
 libdrm 2.4.26 will be compiled with:

  libkms         yes
  Intel API      yes
  vmwgfx API     no
  Radeon API     yes
  Nouveau API    no
 ...

 The Noveau API doesn't get installed after the autodetection.

I don't think there is any autodetection involved. You must add the
--enable-nouveau-experimental-api option, otherwise none of the
nouveau stuff is compiled/installed.

Marek

 This is a Debian/Squeeze system with a self-compiled
 2.6.38 kernel and a RV570 card.
 Maybe something is missing or too old for Nouveau.

 Sebastian
 ___
 mesa-dev mailing list
 mesa-dev@lists.freedesktop.org
 http://lists.freedesktop.org/mailman/listinfo/mesa-dev

___
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/mesa-dev


Re: [Mesa-dev] Mesa 7.11 release candidate 2

2011-07-20 Thread Sebastian H.

 Indeed it isn't installed anywhere in /opt (also not in /usr).
 Btw. the latest git mesa main compiles without it beeing there.

 Alright, on the same system in ~/source/libdrm-2.4.26/

 ./configure --prefix=/opt/mesa \
LDFLAGS=-L/opt/mesa/lib \
PKG_CONFIG_PATH=/opt/mesa/lib/pkgconfig

 finishes with

 ...
 libdrm 2.4.26 will be compiled with:

  libkms yes
  Intel API  yes
  vmwgfx API no
  Radeon API yes
  Nouveau APIno
 ...

 The Noveau API doesn't get installed after the autodetection.
 
 I don't think there is any autodetection involved. You must add the
 --enable-nouveau-experimental-api option, otherwise none of the
 nouveau stuff is compiled/installed.

Ok, with that flag activated the Nouveau headers get installed and
Mesa compiles.

Thanks for the help!

Sebastian
___
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/mesa-dev


Re: [Mesa-dev] Mesa 7.11 release candidate 2

2011-07-19 Thread Sebastian H.

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


Cheers,
Sebastian
___
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/mesa-dev