Ariel V Feinerman wrote:
I try to compile mesa-7.0.3 directfb and it was done by error. this part of the out.


------------------------------------------------------------------------

gcc -c -I../../include -I../../src/mesa -I../../src/mesa/main 
-I../../src/mesa/glapi -I../../src/mesa/math -I../../src/mesa/tnl 
-I../../src/mesa/shader -I../../src/mesa/shader/grammar 
-I../../src/mesa/shader/slang -I../../src/mesa/swrast 
-I../../src/mesa/swrast_setup -Wall -O3 -ffast-math -fPIC -std=c99 
-D_GNU_SOURCE -D_POSIX_SOURCE -D_SVID_SOURCE -D_POSIX_C_SOURCE=199309L 
-D_BSD_SOURCE -DPTHREADS -fno-strict-aliasing -DUSE_X86_ASM -DUSE_MMX_ASM 
-DUSE_3DNOW_ASM -DUSE_SSE_ASM x86/common_x86_asm.S -o x86/common_x86_asm.o
x86/common_x86_asm.S:42:21: error: matypes.h: No such file or directory
make[4]: *** [x86/common_x86_asm.o] Error 1
make[4]: Leaving directory `/home/ariel/src/Mesa-7.0.3/src/mesa'
make[3]: *** [default] Error 2
make[3]: Leaving directory `/home/ariel/src/Mesa-7.0.3/src/mesa'
make[2]: *** [subdirs] Error 1
make[2]: Leaving directory `/home/ariel/src/Mesa-7.0.3/src'
make[1]: *** [default] Error 1
make[1]: Leaving directory `/home/ariel/src/Mesa-7.0.3'
make: *** [linux-directfb] Error 2

Can you try this patch?

-Brian
diff --git a/src/mesa/x86/Makefile b/src/mesa/x86/Makefile
index 3c6a6b1..2bd50c1 100644
--- a/src/mesa/x86/Makefile
+++ b/src/mesa/x86/Makefile
@@ -14,7 +14,7 @@ INCLUDE_DIRS = \
 	-I../tnl
 
 
-default: gen_matypes matypes.h
+default: matypes.h
 
 clean:
 	rm -f matypes.h gen_matypes
@@ -24,7 +24,7 @@ gen_matypes: gen_matypes.c
 	$(CC) $(INCLUDE_DIRS) $(CFLAGS) gen_matypes.c -o gen_matypes
 
 # need some special rules here, unfortunately
-matypes.h: ../main/mtypes.h ../tnl/t_context.h gen_matypes
+matypes.h: gen_matypes ../main/mtypes.h ../tnl/t_context.h gen_matypes
 	./gen_matypes > matypes.h
 
 common_x86_asm.o: matypes.h
-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Mesa3d-dev mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mesa3d-dev

Reply via email to