From: Dieter <Die...@ha...> - 2001-04-30 01:16:29
|
> > cd src/X86 > > gcc gen_matypes.c -I.. -I../../include -o gen_matypes > > ./gen_matypes > matypes.h > > > > I don't know how to make configure do this. When I make the MesaLib-3.5 > > tarballs I'll include matypes.h so it won't be a problem for typical end > > users. We developers and CVS users just have to remember to regenerate > > matypes.h whenever src/mtypes.h changes. > > > > I'll check in my updates ASAP. > > > > -Brian This haven't worked for me ever:-( SunWave1>cd /opt/Mesa/ Directory: /opt/Mesa SunWave1>cd src/X86 Directory: /opt/Mesa/src/X86 SunWave1>gcc gen_matypes.c -I.. -I../../include -o gen_matypes gcc: /opt/Mesa/src/X86/include: Datei oder Verzeichnis nicht gefunden In file included from gen_matypes.c:41: ../mtypes.h:52: warning: `CHAN_MAX' redefined ../config.h:160: warning: this is the location of the previous definition ../mtypes.h:53: warning: `CHAN_MAXF' redefined ../config.h:161: warning: this is the location of the previous definition In file included from gen_matypes.c:41: ../mtypes.h:115: redefinition of `GLcontext' ../config.h:197: `GLcontext' previously declared here In file included from ../mtypes.h:1378, from gen_matypes.c:41: ../dd.h:798: parse error before `points_func' ../dd.h:798: warning: no semicolon at end of struct or union ../dd.h:799: warning: data definition has no type or storage class ../dd.h:800: parse error before `TriangleFunc' ../dd.h:800: warning: data definition has no type or storage class ../dd.h:801: parse error before `QuadFunc' ../dd.h:801: warning: data definition has no type or storage class ../dd.h:802: parse error before `RectFunc' ../dd.h:802: warning: data definition has no type or storage class ../dd.h:828: parse error before `*' ../dd.h:828: warning: data definition has no type or storage class ../dd.h:829: parse error before `*' ../dd.h:829: warning: data definition has no type or storage class ../dd.h:830: parse error before `*' ../dd.h:830: warning: data definition has no type or storage class ../dd.h:899: warning: `struct gl_pipeline' declared inside parameter list ../dd.h:899: warning: its scope is only this definition or declaration, which is probably not what you want. ../dd.h:900: warning: `struct gl_pipeline' declared inside parameter list ../dd.h:958: parse error before `}' In file included from gen_matypes.c:41: ../mtypes.h:1389: parse error before `GLvertexformat' ../mtypes.h:1389: warning: no semicolon at end of struct or union ../mtypes.h:1394: `GLvertexformat' undeclared here (not in a function) ../mtypes.h:1396: parse error before `}' ../mtypes.h:1427: field `Driver' has incomplete type ../mtypes.h:1569: field `TnlModule' has incomplete type In file included from gen_matypes.c:42: ../tnl/t_context.h:513: parse error before `GLvertexformat' ../tnl/t_context.h:513: warning: no semicolon at end of struct or union ../tnl/t_context.h:515: warning: data definition has no type or storage class SunWave1>./gen_matypes > matypes.h ./gen_matypes: Befehl nicht gefunden. Brian can you send me a copy, plese? Thank you very much. -Dieter |