Hi,

After updating Mesa git just now, building it fails for a Unichrome:

make[6]: Entering directory 
`/home/ben/Sources/Mesa-6.5.x/src/mesa/drivers/dri/unichrome'
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  -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  ../../common/driverfuncs.c -o 
../../common/driverfuncs.o
../../common/driverfuncs.c:31:21: program.h: No such file or directory
../../common/driverfuncs.c:32:26: prog_execute.h: No such file or directory
../../common/driverfuncs.c:47:24: shader_api.h: No such file or directory
../../common/driverfuncs.c: In function `_mesa_init_driver_functions':
../../common/driverfuncs.c:129: error: `_mesa_new_program' undeclared (first 
use in this function)
../../common/driverfuncs.c:129: error: (Each undeclared identifier is reported 
only once
../../common/driverfuncs.c:129: error: for each function it appears in.)
../../common/driverfuncs.c:130: error: `_mesa_delete_program' undeclared (first 
use in this function)
../../common/driverfuncs.c:132: error: `_mesa_get_program_register' undeclared 
(first use in this function)
../../common/driverfuncs.c: In function `_mesa_init_glsl_driver_functions':
../../common/driverfuncs.c:266: error: `_mesa_attach_shader' undeclared (first 
use in this function)
../../common/driverfuncs.c:267: error: `_mesa_bind_attrib_location' undeclared 
(first use in this function)
../../common/driverfuncs.c:268: error: `_mesa_compile_shader' undeclared (first 
use in this function)
../../common/driverfuncs.c:269: error: `_mesa_create_program' undeclared (first 
use in this function)
../../common/driverfuncs.c:270: error: `_mesa_create_shader' undeclared (first 
use in this function)
../../common/driverfuncs.c:271: error: `_mesa_delete_program2' undeclared 
(first use in this function)
../../common/driverfuncs.c:272: error: `_mesa_delete_shader' undeclared (first 
use in this function)
../../common/driverfuncs.c:273: error: `_mesa_detach_shader' undeclared (first 
use in this function)
../../common/driverfuncs.c:274: error: `_mesa_get_active_attrib' undeclared 
(first use in this function)
../../common/driverfuncs.c:275: error: `_mesa_get_active_uniform' undeclared 
(first use in this function)
../../common/driverfuncs.c:276: error: `_mesa_get_attached_shaders' undeclared 
(first use in this function)
../../common/driverfuncs.c:277: error: `_mesa_get_attrib_location' undeclared 
(first use in this function)
../../common/driverfuncs.c:278: error: `_mesa_get_handle' undeclared (first use 
in this function)
../../common/driverfuncs.c:279: error: `_mesa_get_programiv' undeclared (first 
use in this function)
../../common/driverfuncs.c:280: error: `_mesa_get_program_info_log' undeclared 
(first use in this function)
../../common/driverfuncs.c:281: error: `_mesa_get_shaderiv' undeclared (first 
use in this function)
../../common/driverfuncs.c:282: error: `_mesa_get_shader_info_log' undeclared 
(first use in this function)
../../common/driverfuncs.c:283: error: `_mesa_get_shader_source' undeclared 
(first use in this function)
../../common/driverfuncs.c:284: error: `_mesa_get_uniformfv' undeclared (first 
use in this function)
../../common/driverfuncs.c:285: error: `_mesa_get_uniform_location' undeclared 
(first use in this function)
../../common/driverfuncs.c:286: error: `_mesa_is_program' undeclared (first use 
in this function)
../../common/driverfuncs.c:287: error: `_mesa_is_shader' undeclared (first use 
in this function)
../../common/driverfuncs.c:288: error: `_mesa_link_program' undeclared (first 
use in this function)
../../common/driverfuncs.c:289: error: `_mesa_shader_source' undeclared (first 
use in this function)
../../common/driverfuncs.c:290: error: `_mesa_uniform' undeclared (first use in 
this function)
../../common/driverfuncs.c:291: error: `_mesa_uniform_matrix' undeclared (first 
use in this function)
../../common/driverfuncs.c:292: error: `_mesa_use_program' undeclared (first 
use in this function)
../../common/driverfuncs.c:293: error: `_mesa_validate_program' undeclared 
(first use in this function)
make[6]: *** [../../common/driverfuncs.o] Error 1
make[6]: Leaving directory 
`/home/ben/Sources/Mesa-6.5.x/src/mesa/drivers/dri/unichrome'
make[5]: *** [subdirs] Error 1
make[5]: Leaving directory `/home/ben/Sources/Mesa-6.5.x/src/mesa/drivers/dri'
make[4]: *** [linux-solo] Error 2
make[4]: Leaving directory `/home/ben/Sources/Mesa-6.5.x/src/mesa'
make[3]: *** [default] Error 2
make[3]: Leaving directory `/home/ben/Sources/Mesa-6.5.x/src/mesa'
make[2]: *** [subdirs] Error 1
make[2]: Leaving directory `/home/ben/Sources/Mesa-6.5.x/src'
make[1]: *** [default] Error 1
make[1]: Leaving directory `/home/ben/Sources/Mesa-6.5.x'
make: *** [linux-dri-x86] Error 2


The relevant part of the diff with the previous git update is this:

--- Mesaold/src/mesa/drivers/dri/Makefile.template 2007-05-11 11:15:28
+++ Mesanew/src/mesa/drivers/dri/Makefile.template 2007-09-11 19:39:48
@@ -49,11 +49,6 @@
         -I$(TOP)/src/mesa \
         -I$(TOP)/src/mesa/main \
         -I$(TOP)/src/mesa/glapi \
-        -I$(TOP)/src/mesa/math \
-        -I$(TOP)/src/mesa/transform \
-        -I$(TOP)/src/mesa/shader \
-        -I$(TOP)/src/mesa/swrast \
-        -I$(TOP)/src/mesa/swrast_setup \
         -I$(TOP)/src/egl/main \
         -I$(TOP)/src/egl/drivers/dri \
         $(LIBDRM_CFLAGS)

When I put just the -I$(TOP)/src/mesa/shader line back, Mesa builds again.


Benno

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
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