Re: xc does not compile: not any rule to build target `grammar_mesa.o'
If other people has got to compile it, the problem should be in my computer. Where could be the problem? hardware? compiler? kernel? a corrupted file in my CVS tree? which one? try this patch (works for me): I've just checked this in to X.org tree.. Thanks, Dave. -- David Airlie, Software Engineer http://www.skynet.ie/~airlied / airlied at skynet.ie Linux kernel - DRI, VAX / pam_smb / ILUG --- SF.Net email is Sponsored by the Better Software Conference EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile Plan-Driven Development * Managing Projects Teams * Testing QA Security * Process Improvement Measurement * http://www.sqe.com/bsce5sf -- ___ Dri-devel mailing list Dri-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dri-devel
Re: xc does not compile: not any rule to build target `grammar_mesa.o'
On 9/7/05, Dave Airlie [EMAIL PROTECTED] wrote: If other people has got to compile it, the problem should be in my computer. Where could be the problem? hardware? compiler? kernel? a corrupted file in my CVS tree? which one? try this patch (works for me): I've just checked this in to X.org tree.. This doesn't seem to have worked 100%. See: https://bugs.freedesktop.org/show_bug.cgi?id=4349 Alex Thanks, Dave. -- David Airlie, Software Engineer http://www.skynet.ie/~airlied / airlied at skynet.ie Linux kernel - DRI, VAX / pam_smb / ILUG --- SF.Net email is Sponsored by the Better Software Conference EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile Plan-Driven Development * Managing Projects Teams * Testing QA Security * Process Improvement Measurement * http://www.sqe.com/bsce5sf -- ___ Dri-devel mailing list Dri-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dri-devel
Re: xc does not compile: not any rule to build target `grammar_mesa.o'
Alex Deucher [EMAIL PROTECTED] writes: This doesn't seem to have worked 100%. See: https://bugs.freedesktop.org/show_bug.cgi?id=4349 try this patch on top of the new one: Index: grammar/Imakefile.inc === RCS file: /cvs/xorg/xc/lib/GL/mesa/shader/grammar/Imakefile.inc,v retrieving revision 1.3 diff -u -r1.3 Imakefile.inc --- grammar/Imakefile.inc 7 Sep 2005 08:49:04 - 1.3 +++ grammar/Imakefile.inc 7 Sep 2005 17:24:44 - @@ -18,3 +18,12 @@ MESA_GRAMMAR_OBJS = $(MESAGRAMMARBUILDDIR)grammar_mesa.o +#if defined(DoSharedLib) DoSharedLib + MESA_GRAMMAR_UOBJS = $(MESAGRAMMARBUILDDIR)unshared/grammar_mesa.o +#else + MESA_GRAMMAR_UOBJS = $(MESA_GRAMMAR_OBJS) +#endif + + MESA_GRAMMAR_DOBJS = $(MESAGRAMMARBUILDDIR)debugger/grammar_mesa.o + + MESA_GRAMMAR_POBJS = $(MESAGRAMMARBUILDDIR)profiled/grammar_mesa.o Index: slang/Imakefile.inc === RCS file: /cvs/xorg/xc/lib/GL/mesa/shader/slang/Imakefile.inc,v retrieving revision 1.3 diff -u -r1.3 Imakefile.inc --- slang/Imakefile.inc 7 Sep 2005 08:49:04 - 1.3 +++ slang/Imakefile.inc 7 Sep 2005 17:24:44 - @@ -52,3 +52,39 @@ $(MESASLANGBUILDDIR)slang_storage.o \ $(MESASLANGBUILDDIR)slang_utility.o +#if defined(DoSharedLib) DoSharedLib + MESA_SLANG_UOBJS = $(MESASLANGBUILDDIR)unshared/slang_assemble_assignment.o \ +$(MESASLANGBUILDDIR)unshared/slang_assemble.o \ +$(MESASLANGBUILDDIR)unshared/slang_assemble_conditional.o \ +$(MESASLANGBUILDDIR)unshared/slang_assemble_constructor.o \ +$(MESASLANGBUILDDIR)unshared/slang_assemble_typeinfo.o \ +$(MESASLANGBUILDDIR)unshared/slang_compile.o \ +$(MESASLANGBUILDDIR)unshared/slang_execute.o \ +$(MESASLANGBUILDDIR)unshared/slang_preprocess.o \ +$(MESASLANGBUILDDIR)unshared/slang_storage.o \ +$(MESASLANGBUILDDIR)unshared/slang_utility.o +#else + MESA_SLANG_UOBJS = $(MESA_SLANG_OBJS) +#endif + + MESA_SLANG_DOBJS = $(MESASLANGBUILDDIR)debuggerslang_assemble_assignment.o \ +$(MESASLANGBUILDDIR)debuggerslang_assemble.o \ +$(MESASLANGBUILDDIR)debuggerslang_assemble_conditional.o \ +$(MESASLANGBUILDDIR)debuggerslang_assemble_constructor.o \ +$(MESASLANGBUILDDIR)debuggerslang_assemble_typeinfo.o \ +$(MESASLANGBUILDDIR)debuggerslang_compile.o \ +$(MESASLANGBUILDDIR)debuggerslang_execute.o \ +$(MESASLANGBUILDDIR)debuggerslang_preprocess.o \ +$(MESASLANGBUILDDIR)debuggerslang_storage.o \ +$(MESASLANGBUILDDIR)debuggerslang_utility.o + + MESA_SLANG_POBJS = $(MESASLANGBUILDDIR)profiled/slang_assemble_assignment.o \ +$(MESASLANGBUILDDIR)profiled/slang_assemble.o \ +$(MESASLANGBUILDDIR)profiled/slang_assemble_conditional.o \ +$(MESASLANGBUILDDIR)profiled/slang_assemble_constructor.o \ +$(MESASLANGBUILDDIR)profiled/slang_assemble_typeinfo.o \ +$(MESASLANGBUILDDIR)profiled/slang_compile.o \ +$(MESASLANGBUILDDIR)profiled/slang_execute.o \ +$(MESASLANGBUILDDIR)profiled/slang_preprocess.o \ +$(MESASLANGBUILDDIR)profiled/slang_storage.o \ +$(MESASLANGBUILDDIR)profiled/slang_utility.o --alex-- -- | I believe the moment is at hand when, by a paranoiac and active | | advance of the mind, it will be possible (simultaneously with | | automatism and other passive states) to systematize confusion | | and thus to help to discredit completely the world of reality. | --- SF.Net email is Sponsored by the Better Software Conference EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile Plan-Driven Development * Managing Projects Teams * Testing QA Security * Process Improvement Measurement * http://www.sqe.com/bsce5sf -- ___ Dri-devel mailing list Dri-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dri-devel
Re: xc does not compile: not any rule to build target `grammar_mesa.o'
Alex Romosan [EMAIL PROTECTED] writes: Alex Deucher [EMAIL PROTECTED] writes: This doesn't seem to have worked 100%. See: https://bugs.freedesktop.org/show_bug.cgi?id=4349 try this patch on top of the new one: ^^^ of course i meant old one. sorry for the confusion, i just woke up. --alex-- -- | I believe the moment is at hand when, by a paranoiac and active | | advance of the mind, it will be possible (simultaneously with | | automatism and other passive states) to systematize confusion | | and thus to help to discredit completely the world of reality. | --- SF.Net email is Sponsored by the Better Software Conference EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile Plan-Driven Development * Managing Projects Teams * Testing QA Security * Process Improvement Measurement * http://www.sqe.com/bsce5sf -- ___ Dri-devel mailing list Dri-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dri-devel
Re: xc does not compile: not any rule to build target `grammar_mesa.o'
Dave Airlie [EMAIL PROTECTED] dijo: If other people has got to compile it, the problem should be in my computer. Where could be the problem? hardware? compiler? kernel? a corrupted file in my CVS tree? which one? try this patch (works for me): I've just checked this in to X.org tree.. Thanks, Dave. -- David Airlie, Software Engineer http://www.skynet.ie/~airlied / airlied at skynet.ie Linux kernel - DRI, VAX / pam_smb / ILUG Thank you. Now it compiles without errors in my system. Here I report data about my system. I hope it helps to know why it fails in other systems: ATI Rage Mobility-M (mach64 chip) 8 MB in a Dell Inspiron 3700 laptop, pentium III. Mandrake 10.1 kernel 2.6.8.1-25 --- SF.Net email is Sponsored by the Better Software Conference EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile Plan-Driven Development * Managing Projects Teams * Testing QA Security * Process Improvement Measurement * http://www.sqe.com/bsce5sf -- ___ Dri-devel mailing list Dri-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dri-devel
Re: xc does not compile: not any rule to build target `grammar_mesa.o'
Sergio [EMAIL PROTECTED] dijo: [EMAIL PROTECTED] a écrit : I try to build following http://dri.freedesktop.org/wiki/Building. I succeeded before, but now xc compilation stops with this: make[5]: *** There is not any rule to build target `grammar_mesa.o' necessary to `DONE'. Halt. make[5]: Leaving directory `/descargas/xorg/xc/lib/GL/mesa/drivers/osmesa' make[4]: *** [all] Error 2 make[4]: Leaving directory `/descargas/xorg/xc/lib/GL' make[3]: *** [all] Error 2 make[3]: Leaving directory `/descargas/xorg/xc/lib' make[2]: *** [all] Error 2 make[2]: Leaving directory `/descargas/xorg/xc' make[1]: *** [World] Error 2 make[1]: Leaving directory `/descargas/xorg/xc' make: *** [World] Error 2 Under rule, it mean that it doesn't find in the directory one ore more files necessary to build the .o (target). It can be : - one or more headers (e.g. grammar_mesa.h, grammar.h or similar), but normally it complains only reading the source file ; - the source file (files) itself : grammar_mesa.c or grammar_mesa.cpp. Sergio Thank you for your answer. I have deleted all my files from xc/lib/GL/mesa/shader/grammar/ xc/extras/Mesa/src/mesa/shader/grammar/ and xc/programs/Xserver/GL/mesa/shader/grammar/, then updated my CVS files and the problem is the same. Their ./CVS/Entries folder contents match the entries of the folder. I have no knowledge to de able to see what fails. If other people has got to compile it, the problem should be in my computer. Where could be the problem? hardware? compiler? kernel? a corrupted file in my CVS tree? which one? Here are last lines just above the error lines I reported before: gcc -m32 -c -O2 -gstabs+ -pipe -ansi -Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls -Wnested-externs -Wundef -I../../../../../exports/include/X11 -I../../../../../include/extensions -I../../../../../extras/Mesa/src/mesa -I../../../../../extras/Mesa/src/mesa/glapi -I../../../../../extras/Mesa/src/mesa/shader -I../../../../../extras/Mesa/src/mesa/main -I../../../../../extras/Mesa/include -I../../../../../lib/GL/include -I../../../../.. -I../../../../../exports/include -I/usr/X11R6/include -Dlinux -D__i386__ -D_POSIX_C_SOURCE=199309L-D_POSIX_SOURCE -D_XOPEN_SOURCE-D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64-D_GNU_SOURCE -DFUNCPROTO=15 -DNARROWPROTO -DXTHREADS -D_REENTRANT -DXUSE_MTSAFE_API -DMALLOC_0_RETURNS_NULLdriverfuncs.c make[5]: *** There is not any rule to build target `grammar_mesa.o' necessary to `DONE'. Halt. --- SF.Net email is Sponsored by the Better Software Conference EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile Plan-Driven Development * Managing Projects Teams * Testing QA Security * Process Improvement Measurement * http://www.sqe.com/bsce5sf -- ___ Dri-devel mailing list Dri-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dri-devel
Re: xc does not compile: not any rule to build target `grammar_mesa.o'
[EMAIL PROTECTED] wrote: Sergio [EMAIL PROTECTED] dijo: [EMAIL PROTECTED] a écrit : I try to build following http://dri.freedesktop.org/wiki/Building. I succeeded before, but now xc compilation stops with this: make[5]: *** There is not any rule to build target `grammar_mesa.o' necessary to `DONE'. Halt. make[5]: Leaving directory `/descargas/xorg/xc/lib/GL/mesa/drivers/osmesa' make[4]: *** [all] Error 2 make[4]: Leaving directory `/descargas/xorg/xc/lib/GL' make[3]: *** [all] Error 2 make[3]: Leaving directory `/descargas/xorg/xc/lib' make[2]: *** [all] Error 2 make[2]: Leaving directory `/descargas/xorg/xc' make[1]: *** [World] Error 2 make[1]: Leaving directory `/descargas/xorg/xc' make: *** [World] Error 2 Under rule, it mean that it doesn't find in the directory one ore more files necessary to build the .o (target). It can be : - one or more headers (e.g. grammar_mesa.h, grammar.h or similar), but normally it complains only reading the source file ; - the source file (files) itself : grammar_mesa.c or grammar_mesa.cpp. Sergio Thank you for your answer. I have deleted all my files from xc/lib/GL/mesa/shader/grammar/ xc/extras/Mesa/src/mesa/shader/grammar/ and xc/programs/Xserver/GL/mesa/shader/grammar/, then updated my CVS files and the problem is the same. Their ./CVS/Entries folder contents match the entries of the folder. I have no knowledge to de able to see what fails. If other people has got to compile it, the problem should be in my computer. It's not your computer, as it fails for me, too. I've opened a bug for it in the freedesktop tracker: https://bugs.freedesktop.org/show_bug.cgi?id=4349 Adam --- SF.Net email is Sponsored by the Better Software Conference EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile Plan-Driven Development * Managing Projects Teams * Testing QA Security * Process Improvement Measurement * http://www.sqe.com/bsce5sf -- ___ Dri-devel mailing list Dri-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dri-devel
Re: xc does not compile: not any rule to build target `grammar_mesa.o'
[EMAIL PROTECTED] writes: If other people has got to compile it, the problem should be in my computer. Where could be the problem? hardware? compiler? kernel? a corrupted file in my CVS tree? which one? try this patch (works for me): Index: grammar/Imakefile.inc === RCS file: /cvs/xorg/xc/lib/GL/mesa/shader/grammar/Imakefile.inc,v retrieving revision 1.2 diff -u -r1.2 Imakefile.inc --- grammar/Imakefile.inc 2 Sep 2005 19:21:51 - 1.2 +++ grammar/Imakefile.inc 5 Sep 2005 22:17:41 - @@ -1,7 +1,12 @@ XCOMM $XFree86$ +#ifndef MesaGrammarBuildDir +#define MesaGrammarBuildDir $(GLXLIBSRC)/mesa/shader/grammar/ +#endif + +MESAGRAMMARBUILDDIR=MesaGrammarBuildDir - MESA_GRAMMAR_SRCS = grammar_mesa.c + MESA_GRAMMAR_SRCS = $(MESAGRAMMARBUILDDIR)grammar_mesa.c #ifdef NeedToLinkMesaSrc LinkSourceFile(grammar.c, $(MESASRCDIR)/src/mesa/shader/grammar) @@ -11,5 +16,5 @@ LinkSourceFile(grammar_mesa.h, $(MESASRCDIR)/src/mesa/shader/grammar) #endif - MESA_GRAMMAR_OBJS = grammar_mesa.o + MESA_GRAMMAR_OBJS = $(MESAGRAMMARBUILDDIR)grammar_mesa.o Index: slang/Imakefile.inc === RCS file: /cvs/xorg/xc/lib/GL/mesa/shader/slang/Imakefile.inc,v retrieving revision 1.2 diff -u -r1.2 Imakefile.inc --- slang/Imakefile.inc 2 Sep 2005 19:21:51 - 1.2 +++ slang/Imakefile.inc 5 Sep 2005 22:17:41 - @@ -1,15 +1,21 @@ XCOMM $XFree86$ - MESA_SLANG_SRCS =slang_assemble_assignment.c \ -slang_assemble.c \ -slang_assemble_conditional.c \ -slang_assemble_constructor.c \ -slang_assemble_typeinfo.c \ -slang_compile.c \ -slang_execute.c \ -slang_preprocess.c \ -slang_storage.c \ -slang_utility.c +#ifndef MesaSlangBuildDir +#define MesaSlangBuildDir $(GLXLIBSRC)/mesa/shader/slang/ +#endif + +MESASLANGBUILDDIR=MesaSlangBuildDir + + MESA_SLANG_SRCS =$(MESASLANGBUILDDIR)slang_assemble_assignment.c \ +$(MESASLANGBUILDDIR)slang_assemble.c \ +$(MESASLANGBUILDDIR)slang_assemble_conditional.c \ +$(MESASLANGBUILDDIR)slang_assemble_constructor.c \ +$(MESASLANGBUILDDIR)slang_assemble_typeinfo.c \ +$(MESASLANGBUILDDIR)slang_compile.c \ +$(MESASLANGBUILDDIR)slang_execute.c \ +$(MESASLANGBUILDDIR)slang_preprocess.c \ +$(MESASLANGBUILDDIR)slang_storage.c \ +$(MESASLANGBUILDDIR)slang_utility.c #ifdef NeedToLinkMesaSrc LinkSourceFile(slang_assemble_assignment.c, $(MESASRCDIR)/src/mesa/shader/slang) @@ -35,14 +41,14 @@ LinkSourceFile(traverse_wrap.h, $(MESASRCDIR)/src/mesa/shader/slang) #endif - MESA_SLANG_OBJS =slang_assemble_assignment.o \ -slang_assemble.o \ -slang_assemble_conditional.o \ -slang_assemble_constructor.o \ -slang_assemble_typeinfo.o \ -slang_compile.o \ -slang_execute.o \ -slang_preprocess.o \ -slang_storage.o \ -slang_utility.o + MESA_SLANG_OBJS =$(MESASLANGBUILDDIR)slang_assemble_assignment.o \ +$(MESASLANGBUILDDIR)slang_assemble.o \ +$(MESASLANGBUILDDIR)slang_assemble_conditional.o \ +$(MESASLANGBUILDDIR)slang_assemble_constructor.o \ +$(MESASLANGBUILDDIR)slang_assemble_typeinfo.o \ +$(MESASLANGBUILDDIR)slang_compile.o \ +$(MESASLANGBUILDDIR)slang_execute.o \ +$(MESASLANGBUILDDIR)slang_preprocess.o \ +$(MESASLANGBUILDDIR)slang_storage.o \ +$(MESASLANGBUILDDIR)slang_utility.o --alex-- -- | I believe the moment is at hand when, by a paranoiac and active | | advance of the mind, it will be possible (simultaneously with | | automatism and other passive states) to systematize confusion | | and thus to help to discredit completely the world of reality. | --- SF.Net email is Sponsored by the Better Software Conference EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile Plan-Driven Development * Managing Projects Teams * Testing QA Security * Process Improvement Measurement * http://www.sqe.com/bsce5sf -- ___ Dri-devel mailing list Dri-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dri-devel
Re: xc does not compile: not any rule to build target `grammar_mesa.o'
[EMAIL PROTECTED] a écrit : I try to build following http://dri.freedesktop.org/wiki/Building. I succeeded before, but now xc compilation stops with this: make[5]: *** There is not any rule to build target `grammar_mesa.o' necessary to `DONE'. Halt. make[5]: Leaving directory `/descargas/xorg/xc/lib/GL/mesa/drivers/osmesa' make[4]: *** [all] Error 2 make[4]: Leaving directory `/descargas/xorg/xc/lib/GL' make[3]: *** [all] Error 2 make[3]: Leaving directory `/descargas/xorg/xc/lib' make[2]: *** [all] Error 2 make[2]: Leaving directory `/descargas/xorg/xc' make[1]: *** [World] Error 2 make[1]: Leaving directory `/descargas/xorg/xc' make: *** [World] Error 2 Under rule, it mean that it doesn't find in the directory one ore more files necessary to build the .o (target). It can be : - one or more headers (e.g. grammar_mesa.h, grammar.h or similar), but normally it complains only reading the source file ; - the source file (files) itself : grammar_mesa.c or grammar_mesa.cpp. Sergio --- SF.Net email is Sponsored by the Better Software Conference EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile Plan-Driven Development * Managing Projects Teams * Testing QA Security * Process Improvement Measurement * http://www.sqe.com/bsce5sf -- ___ Dri-devel mailing list Dri-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dri-devel