From: Gabriel Y. <gg...@ho...> - 2001-04-05 22:24:36
|
Hello, all. I have been attempting to build the mesa-3-5-branch for about a week now, and am not having too much success :). I had the problem where matypes.h was non-existant, but I _did_ have Mesa(trunk) checked out and built. Now when I build DRI I get errors while building gen_matypes.c. Many of the errors are various undefined constants and the like (included at the bottom). I have a feeling that I am doing something wrong, but I don't know what. To build I: checkout Mesa, build it, then checkout DRI and change two things in host.def - set BuildXF86DRM to yes and change MesaSrcDir. Thats all. Am I not doing something? Or is something just wrong? Thanks, Gabe Ycas This is on a 2.4.2 box with gcc 2.95.2 (and a Radeon, but that doesn't matter quite yet :) gen_matypes.c:116: dereferencing pointer to incomplete type <many more deref warnings> gen_matypes.c:152: `VERT_OBJ' undeclared (first use in this function) gen_matypes.c:152: (Each undeclared identifier is reported only once gen_matypes.c:152: for each function it appears in.) gen_matypes.c:153: `VERT_RGBA' undeclared (first use in this function) gen_matypes.c:154: `VERT_NORM' undeclared (first use in this function) gen_matypes.c:155: `VERT_INDEX' undeclared (first use in this function) gen_matypes.c:156: `VERT_EDGE' undeclared (first use in this function) gen_matypes.c:157: `VERT_SPEC_RGB' undeclared (first use in this function) gen_matypes.c:158: `VERT_FOG_COORD' undeclared (first use in this function) gen_matypes.c:159: `VERT_TEX0' undeclared (first use in this function) gen_matypes.c:160: `VERT_TEX1' undeclared (first use in this function) gen_matypes.c:161: `VERT_TEX2' undeclared (first use in this function) gen_matypes.c:162: `VERT_TEX3' undeclared (first use in this function) gen_matypes.c:163: `VERT_EVAL_C1' undeclared (first use in this function) gen_matypes.c:164: `VERT_EVAL_C2' undeclared (first use in this function) gen_matypes.c:165: `VERT_EVAL_P1' undeclared (first use in this function) gen_matypes.c:166: `VERT_EVAL_P2' undeclared (first use in this function) gen_matypes.c:167: `VERT_OBJ_3' undeclared (first use in this function) gen_matypes.c:168: `VERT_OBJ_4' undeclared (first use in this function) gen_matypes.c:169: `VERT_MATERIAL' undeclared (first use in this function) gen_matypes.c:170: `VERT_ELT' undeclared (first use in this function) gen_matypes.c:171: `VERT_BEGIN' undeclared (first use in this function) gen_matypes.c:172: `VERT_END' undeclared (first use in this function) gen_matypes.c:173: `VERT_END_VB' undeclared (first use in this function) gen_matypes.c:174: `VERT_POINT_SIZE' undeclared (first use in this function) gen_matypes.c:175: `VERT_EYE' undeclared (first use in this function) gen_matypes.c:176: `VERT_CLIP' undeclared (first use in this function) gen_matypes.c:186: `GLvector3f' undeclared (first use in this function) gen_matypes.c:186: parse error before `)' gen_matypes.c:187: parse error before `)' gen_matypes.c:188: parse error before `)' gen_matypes.c:189: parse error before `)' gen_matypes.c:190: parse error before `)' gen_matypes.c:197: `GLvector4f' undeclared (first use in this function) gen_matypes.c:197: parse error before `)' gen_matypes.c:198: parse error before `)' gen_matypes.c:199: parse error before `)' gen_matypes.c:200: parse error before `)' gen_matypes.c:201: parse error before `)' gen_matypes.c:202: parse error before `)' gen_matypes.c:206: `VEC_MALLOC' undeclared (first use in this function) gen_matypes.c:207: `VEC_NOT_WRITEABLE' undeclared (first use in this function) gen_matypes.c:208: `VEC_BAD_STRIDE' undeclared (first use in this function) gen_matypes.c:210: `VEC_SIZE_1' undeclared (first use in this function) gen_matypes.c:211: `VEC_SIZE_2' undeclared (first use in this function) gen_matypes.c:212: `VEC_SIZE_3' undeclared (first use in this function) gen_matypes.c:213: `VEC_SIZE_4' undeclared (first use in this function) make[5]: [matypes.h] Error 1 (ignored) |