http://bugs.freedesktop.org/show_bug.cgi?id=26574

           Summary: Nouveau Gallium 3D driver fails to be built during
                    building of Mesa from git.
           Product: Mesa
           Version: git
          Platform: x86-64 (AMD64)
        OS/Version: Linux (All)
            Status: NEW
          Severity: blocker
          Priority: medium
         Component: GLX
        AssignedTo: mesa3d-dev@lists.sourceforge.net
        ReportedBy: panosfi...@gmail.com


Created an attachment (id=33308)
 --> (http://bugs.freedesktop.org/attachment.cgi?id=33308)
The output of the building of mesa.

Archlinux x86_64 (PKGBUILD for creating package from Mesa-git and the error
output are included)

While building mesa from git, gallium3d nouveau fails to be built with this
error.

make[4]: Entering directory
`/home/flamelab/Projects/NOUVEAU/mesa-full/src/mesa-build/src/gallium/drivers/nouveau'
gcc -c -I. -I../../../../src/gallium/include
-I../../../../src/gallium/auxiliary -I../../../../src/gallium/drivers
-I/src/gallium/include -I/src/gallium/auxiliary -I/src/gallium/drivers 
-D_GNU_SOURCE -DPTHREADS -DHAVE_POSIX_MEMALIGN -DUSE_XCB -DGLX_USE_TLS
-DPTHREADS -DUSE_EXTERNAL_DXTN_LIB=1 -DIN_DRI_DRIVER -DGLX_DIRECT_RENDERING
-DGLX_INDIRECT_RENDERING -DHAVE_ALIAS -DHAVE_XEXTPROTO_71 -march=x86-64
-mtune=generic -O2 -pipe -Wall -Wmissing-prototypes -std=c99 -ffast-math
-fvisibility=hidden -fno-strict-aliasing  -fPIC  -DUSE_X86_64_ASM -D_GNU_SOURCE
-DPTHREADS -DHAVE_POSIX_MEMALIGN -DUSE_XCB -DGLX_USE_TLS -DPTHREADS
-DUSE_EXTERNAL_DXTN_LIB=1 -DIN_DRI_DRIVER -DGLX_DIRECT_RENDERING
-DGLX_INDIRECT_RENDERING -DHAVE_ALIAS -DHAVE_XEXTPROTO_71  nouveau_screen.c -o
nouveau_screen.o
gcc -c -I. -I../../../../src/gallium/include
-I../../../../src/gallium/auxiliary -I../../../../src/gallium/drivers
-I/src/gallium/include -I/src/gallium/auxiliary -I/src/gallium/drivers 
-D_GNU_SOURCE -DPTHREADS -DHAVE_POSIX_MEMALIGN -DUSE_XCB -DGLX_USE_TLS
-DPTHREADS -DUSE_EXTERNAL_DXTN_LIB=1 -DIN_DRI_DRIVER -DGLX_DIRECT_RENDERING
-DGLX_INDIRECT_RENDERING -DHAVE_ALIAS -DHAVE_XEXTPROTO_71 -march=x86-64
-mtune=generic -O2 -pipe -Wall -Wmissing-prototypes -std=c99 -ffast-math
-fvisibility=hidden -fno-strict-aliasing  -fPIC  -DUSE_X86_64_ASM -D_GNU_SOURCE
-DPTHREADS -DHAVE_POSIX_MEMALIGN -DUSE_XCB -DGLX_USE_TLS -DPTHREADS
-DUSE_EXTERNAL_DXTN_LIB=1 -DIN_DRI_DRIVER -DGLX_DIRECT_RENDERING
-DGLX_INDIRECT_RENDERING -DHAVE_ALIAS -DHAVE_XEXTPROTO_71  nouveau_context.c -o
nouveau_context.o
gcc -c -I. -I../../../../src/gallium/include
-I../../../../src/gallium/auxiliary -I../../../../src/gallium/drivers
-I/src/gallium/include -I/src/gallium/auxiliary -I/src/gallium/drivers 
-D_GNU_SOURCE -DPTHREADS -DHAVE_POSIX_MEMALIGN -DUSE_XCB -DGLX_USE_TLS
-DPTHREADS -DUSE_EXTERNAL_DXTN_LIB=1 -DIN_DRI_DRIVER -DGLX_DIRECT_RENDERING
-DGLX_INDIRECT_RENDERING -DHAVE_ALIAS -DHAVE_XEXTPROTO_71 -march=x86-64
-mtune=generic -O2 -pipe -Wall -Wmissing-prototypes -std=c99 -ffast-math
-fvisibility=hidden -fno-strict-aliasing  -fPIC  -DUSE_X86_64_ASM -D_GNU_SOURCE
-DPTHREADS -DHAVE_POSIX_MEMALIGN -DUSE_XCB -DGLX_USE_TLS -DPTHREADS
-DUSE_EXTERNAL_DXTN_LIB=1 -DIN_DRI_DRIVER -DGLX_DIRECT_RENDERING
-DGLX_INDIRECT_RENDERING -DHAVE_ALIAS -DHAVE_XEXTPROTO_71  nv04_surface_2d.c -o
nv04_surface_2d.o
nv04_surface_2d.c: In function ‘nv04_surface_copy_swizzle’:
nv04_surface_2d.c:182: error:
‘NV03_SCALED_IMAGE_FROM_MEMORY_OUT_POINT_Y_SHIFT’ undeclared (first use in
this function)
nv04_surface_2d.c:182: error: (Each undeclared identifier is reported only once
nv04_surface_2d.c:182: error: for each function it appears in.)
nv04_surface_2d.c:183: error:
‘NV03_SCALED_IMAGE_FROM_MEMORY_OUT_SIZE_H_SHIFT’ undeclared (first use in
this function)
nv04_surface_2d.c:187: error: ‘NV03_SCALED_IMAGE_FROM_MEMORY_SIZE’
undeclared (first use in this function)
nv04_surface_2d.c:188: error: ‘NV03_SCALED_IMAGE_FROM_MEMORY_SIZE_H_SHIFT’
undeclared (first use in this function)
nv04_surface_2d.c:190: error:
‘NV03_SCALED_IMAGE_FROM_MEMORY_FORMAT_ORIGIN_CENTER’ undeclared (first use
in this function)
nv04_surface_2d.c:191: error:
‘NV03_SCALED_IMAGE_FROM_MEMORY_FORMAT_FILTER_POINT_SAMPLE’ undeclared
(first use in this function)
nv04_surface_2d.c: In function ‘nv04_surface_2d_init’:
nv04_surface_2d.c:429: error: ‘NV01_IMAGE_BLIT_OPERATION_SRCCOPY’
undeclared (first use in this function)
nv04_surface_2d.c: In function ‘nv04_surface_wrap_for_render’:
nv04_surface_2d.c:521: warning: unused variable ‘screen’
make[4]: *** [nv04_surface_2d.o] Error 1
make[4]: Leaving directory
`/home/flamelab/Projects/NOUVEAU/mesa-full/src/mesa-build/src/gallium/drivers/nouveau'
make[3]: *** [default] Error 1
make[3]: Leaving directory
`/home/flamelab/Projects/NOUVEAU/mesa-full/src/mesa-build/src/gallium/drivers'
make[2]: *** [default] Error 1
make[2]: Leaving directory
`/home/flamelab/Projects/NOUVEAU/mesa-full/src/mesa-build/src/gallium'
make[1]: *** [subdirs] Error 1
make[1]: Leaving directory
`/home/flamelab/Projects/NOUVEAU/mesa-full/src/mesa-build/src'
make: *** [default] Error 1


-- 
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
------------------------------------------------------------------------------
SOLARIS 10 is the OS for Data Centers - provides features such as DTrace,
Predictive Self Healing and Award Winning ZFS. Get Solaris 10 NOW
http://p.sf.net/sfu/solaris-dev2dev
_______________________________________________
Mesa3d-dev mailing list
Mesa3d-dev@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mesa3d-dev

Reply via email to