Hi all,

It's a bit of a long story, but I'm working on adding autoconf support
to the g200/riva glx module, which integrates a hardware-accelerated
mesa into XFree86 3.3.3. We've run into a hitch with src/asm_mmx.c,
which #includes no header files, stalling compilation with -DMMX.

I don't understand how this works under the the normal build system
(maybe it's broken there too?) but the included patch against cvs adds
the missing headers and fixes our build process. :)

Reading list archive, it appears the asm stuff if about to be
reorganized anyway, but I'd appreciate it if someone could check this
in for the time being. We're using compile time flags for the asm
extensions and our configure script sets them based on the the cap. of
the host processor (on Linux, anyway). So far this is the only thing
keeping it from working "out of the box".

Thanks,
-ralph

P.S. Please cc me on replies; I'm not subscribed from the list.

     For info on the glx module see http://www.on.openprojects.net/glx/

---
[EMAIL PROTECTED]
information design? what's that?
Index: src/asm_mmx.c
===================================================================
RCS file: /cvs/mesa3d/src/asm_mmx.c,v
retrieving revision 1.4
diff -u -r1.4 asm_mmx.c
--- src/asm_mmx.c       1999/03/31 20:18:38     1.4
+++ src/asm_mmx.c       1999/06/06 18:15:34
@@ -30,6 +30,9 @@
 
 #ifdef MMX
 
+#include <assert.h>
+#include "macros.h"
+#include "types.h"
 
 void gl_mmx_blend_transparency( GLcontext *ctx, GLuint n, const GLubyte mask[],
                                 GLubyte rgba[][4], const GLubyte dest[][4] )

Reply via email to