| Summary: | Conversion error in t_vertex.c when compiling MesaLib-6.5 on Darwin | ||
|---|---|---|---|
| Product: | Mesa | Reporter: | Raymond Queneau <queneaur> |
| Component: | Mesa core | Assignee: | mesa-dev |
| Status: | RESOLVED WONTFIX | QA Contact: | |
| Severity: | major | ||
| Priority: | high | CC: | queneaur |
| Version: | 6.5 | ||
| Hardware: | PowerPC | ||
| OS: | Mac OS X (All) | ||
| Whiteboard: | |||
| i915 platform: | i915 features: | ||
|
Description
Raymond Queneau
2006-06-26 18:17:32 UTC
OK, I've checked in a fix to CVS. Conversion error of tnl_attr_type* to tnl_clipspace_fastpath (line 91 of ./src/mesa/tnl/t_vertex.c). After replacement of version 1.41 with version 1.42 of file t_vertex.c, the command root # make darwin still abort with the following message c++ -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/shader/slang/OSDependent/Linux -I../../src/mesa/shader/slang/ OGLCompilersDLL -I../../src/mesa/swrast -I../../src/mesa/swrast_setup -I/usr/X11R6/include -O3 -fPIC -fno-common -ffast-math -funroll-loops -fexpensive-optimizations -no-cpp-precomp -dynamic -Ddarwin tnl/t_vertex.c -o tnl/t_vertex.o tnl/t_vertex.c: In function `void _tnl_register_fastpath(tnl_clipspace*, unsigned char)': tnl/t_vertex.c:91: error: cannot convert `tnl_attr_type*' to ` tnl_clipspace_fastpath::attr_type*' in assignment make[4]: *** [tnl/t_vertex.o] Erreur 1 make[4]: Leaving directory `/usr/local/share/doc/mesa/Mesa-6.5/Mesa-6.5/src/mesa' make[3]: *** [default] Erreur 2 make[3]: Leaving directory `/usr/local/share/doc/mesa/Mesa-6.5/Mesa-6.5/src/mesa' make[2]: *** [subdirs] Erreur 1 make[2]: Leaving directory `/usr/local/share/doc/mesa/Mesa-6.5/Mesa-6.5/src' make[1]: *** [default] Erreur 1 make[1]: Leaving directory `/usr/local/share/doc/mesa/Mesa-6.5/Mesa-6.5' make: *** [darwin] Erreur 2 -- rq You also need t_context.h With Mesa-6.5, tnl/t_vertex.c (revision 1.42) and tnl/t_context.h (revision 1.85) root # make darwin now abort on a conflict related to x86/gen_matypes.c (revision 1.16): make[5]: Entering directory `/usr/local/share/doc/mesa/Mesa-6.5/Mesa-6.5/src/mesa/x86' c++ -I../../../include/GL -I../../../include -I.. -I../main -I../math -I../glapi -I../tnl -I/usr/X11R6/ include -O3 -fPIC -fno-common -ffast-math -funroll-loops -fexpensive-optimizations -no-cpp- precomp -dynamic -Ddarwin gen_matypes.c -o gen_matypes In file included from gen_matypes.c:37: ../tnl/t_context.h:419: error: `MAX_VARYING_VECTORS' was not declared in this scope ../tnl/t_context.h:776: error: `render_inputs_bitset' was not declared in this scope ../tnl/t_context.h:776: error: invalid data member initialization ../tnl/t_context.h:776: error: (use `=' to initialize static data members) ../tnl/t_context.h:776: warning: ISO C++ forbids declaration of ` BITSET64_DECLARE' with no type make[5]: *** [gen_matypes] Erreur 1 -- rq If you're trying to patch the 6.5 release, that probably won't work. You'd be best off getting a fresh copy of the code from CVS. Mesa 6.5 is no longer supported. If you're still experiencing build errors on Darwin with more recent versions of Mesa, please submit a new bug report. Thanks. |
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.