Am Samstag, 30. Oktober 2004 19:01 schrieb Brian Paul: > To fix this, somebody just has to add mesa/src/shaders/shaderobjects.c > to the Makefiles.
For XFree86 DRI it could looks like this: --- xc/lib/GL/mesa/shader/Imakefile.inc 2004-10-30 22:14:42.735599211 +0200 +++ xc/lib/GL/mesa/shader/Imakefile.inc.Dieter 2004-10-30 20:26:44.000000000 +0200 @@ -15,7 +15,8 @@ $(MESASHADERBUILDDIR)nvfragparse.c \ $(MESASHADERBUILDDIR)nvvertexec.c \ $(MESASHADERBUILDDIR)nvvertparse.c \ - $(MESASHADERBUILDDIR)program.c + $(MESASHADERBUILDDIR)program.c \ + $(MESASHADERBUILDDIR)shaderobjects.c #ifdef NeedToLinkMesaSrc LinkSourceFile(arbprogparse.c, $(MESASRCDIR)/src/mesa/shader) @@ -44,6 +45,9 @@ LinkSourceFile(grammar_syn.h, $(MESASRCDIR)/src/mesa/shader) LinkSourceFile(program.c, $(MESASRCDIR)/src/mesa/shader) LinkSourceFile(program.h, $(MESASRCDIR)/src/mesa/shader) +LinkSourceFile(shaderobjects.c, $(MESASRCDIR)/src/mesa/shader) +LinkSourceFile(shaderobjects.h, $(MESASRCDIR)/src/mesa/shader) + #endif MESA_SHADER_OBJS = $(MESASHADERBUILDDIR)arbprogparse.o \ @@ -55,7 +59,8 @@ $(MESASHADERBUILDDIR)nvfragparse.o \ $(MESASHADERBUILDDIR)nvvertexec.o \ $(MESASHADERBUILDDIR)nvvertparse.o \ - $(MESASHADERBUILDDIR)program.o + $(MESASHADERBUILDDIR)program.o \ + $(MESASHADERBUILDDIR)shaderobjects.o #if defined(DoSharedLib) && DoSharedLib MESA_SHADER_UOBJS = $(MESASHADERBUILDDIR)unshared/arbprogparse.o \ @@ -67,7 +72,8 @@ $(MESASHADERBUILDDIR)unshared/nvfragparse.o \ $(MESASHADERBUILDDIR)unshared/nvvertexec.o \ $(MESASHADERBUILDDIR)unshared/nvvertparse.o \ - $(MESASHADERBUILDDIR)unshared/program.o + $(MESASHADERBUILDDIR)unshared/program.o \ + $(MESASHADERBUILDDIR)shaderobjects.o #else MESA_SHADER_UOBJS = $(MESA_SHADER_OBJS) #endif @@ -81,7 +87,8 @@ $(MESASHADERBUILDDIR)debugger/nvfragparse.o \ $(MESASHADERBUILDDIR)debugger/nvvertexec.o \ $(MESASHADERBUILDDIR)debugger/nvvertparse.o \ - $(MESASHADERBUILDDIR)debugger/program.o + $(MESASHADERBUILDDIR)debugger/program.o \ + $(MESASHADERBUILDDIR)shaderobjects.o MESA_SHADER_POBJS = $(MESASHADERBUILDDIR)profiled/arbprogparse.o \ $(MESASHADERBUILDDIR)profiled/arbprogram.o \ @@ -92,4 +99,5 @@ $(MESASHADERBUILDDIR)profiled/nvfragparse.o \ $(MESASHADERBUILDDIR)profiled/nvvertexec.o \ $(MESASHADERBUILDDIR)profiled/nvvertparse.o \ - $(MESASHADERBUILDDIR)profiled/program.o + $(MESASHADERBUILDDIR)profiled/program.o \ + $(MESASHADERBUILDDIR)shaderobjects.o Cheers, Dieter > Sérgio Monteiro Basto wrote: > > Sorry I have to correct this information but > > with last Mesa CVS this is not correct and I can't compile Mesa anymore. > > > > I get this error that can't workaround > > > > GL/mesa/GLcore/libGLcore.a(state.o)(.text+0xf7c): In function > > > > `_mesa_init_exec_table': > > : undefined reference to `_mesa_DeleteObjectARB' ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_idU88&alloc_id065&op=click -- _______________________________________________ Dri-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/dri-devel