From: Sedat D. <sed...@go...> - 2010-01-07 23:26:23
|
Indeed, I discovered a failure in both cases. But, I always do a clean checkout (build-from-scratch) and clean/clear the cache of ccache. $ grep libmesagallium.a mesa/src/mesa/Makefile default: depend asm_subdirs glsl_builtin libmesa.a libmesagallium.a \ libmesagallium.a: $(MESA_GALLIUM_OBJECTS) $(GLSL_LIBS) driver_subdirs: libmesa.a libmesagallium.a libglapi.a In case of failure I have... $ grep libmesa build.log removed `mesa/src/mesa/libmesa.a' + PATCH=0001-Build-libmesagallium.a-before-descending-into-driver.patch + patch -Np1 -i ../patches/0001-Build-libmesagallium.a-before-descending-into-driver.patch mklib: Making Linux static library: libmesa.a ar: creating libmesa.a mklib: Making Linux static library: libmesagallium.a ar: creating libmesagallium.a ranlib: 'libmesagallium.a': No such file ../common/utils.o ../common/vblank.o ../common/dri_util.o ../common/xmlconfig.o ../../common/driverfuncs.o ../common/texmem.o ../common/drirenderbuffer.o ../common/dri_metaops.o radeon_screen.o r300_blit.o r300_context.o r300_draw.o r300_cmdbuf.o r300_state.o r300_render.o r300_tex.o r300_texcopy.o r300_texstate.o r300_vertprog.o r300_fragprog_common.o r300_shader.o radeon_mesa_to_rc.o r300_emit.o r300_swtcl.o radeon_bo_legacy.o radeon_buffer_objects.o radeon_common_context.o radeon_common.o radeon_cs_legacy.o radeon_dma.o radeon_debug.o radeon_fbo.o radeon_lock.o radeon_mipmap_tree.o radeon_span.o radeon_queryobj.o radeon_texture.o ../../../../../src/mesa/libmesa.a compiler/libr300compiler.a \ ../../common/driverfuncs.o ../common/utils.o swrast.o swrast_span.o ../../../../../src/mesa/libmesa.a \ make[5]: *** No rule to make target `../../../../../../src/mesa/libmesagallium.a', needed by `radeon_dri.so'. Stop. $ find mesa/ -name libmesa* mesa/src/mesa/libmesa.a Strange. - Sedat - On Thu, Jan 7, 2010 at 11:51 PM, Dan Nicholson <dbn...@gm...> wrote: > On Thu, Jan 7, 2010 at 2:40 PM, Sedat Dilek <sed...@go...> wrote: >> Hi Dan, >> >> [src/mesa/Makefile] >> ... >> -driver_subdirs: libmesa.a libglapi.a >> +driver_subdirs: libmesa.a libmesagallium.a libglapi.a >> >> This one works :-). >> >> $ find mesa/ -name libmesa* >> mesa/src/mesa/libmesa.a >> mesa/src/mesa/libmesagallium.a >> >> $ find mesa/ -name libglapi* >> mesa/src/mesa/libglapi.a >> >> Can you please, push that, Thanks. > > That should be exactly the same as the patch I sent, so I don't know > why mine would fail. Can you try a few more times to make sure it > works right? Run "make realclean && ./config.status" between runs to > get back to a clean state. Thanks. > > -- > Dan > |