(long time user, first time poster... Hope I don't get anyone too ruffled up :) )

I'm working on an older CompaqSC45 here and having some issues compiling Mesa3d on it.  After some digging, I found that the "int64_t" wasn't being defined in include/GL/glxext.h.  I modified it like so and it compiles now:

(starting ~line 334)
#if defined(__sun__) || defined(__osf__)
#include <inttypes.h>
#if defined(__STDC__)
#if defined(__arch64__)
typedef long int int64_t;
#else
typedef long long int int64_t;
#endif /* __arch64__ */
#endif /* __STDC__ */
#elif defined(__UNIXOS2__) || defined(__SOL64__)
typedef long int int32_t;
typedef long long int int64_t;
#elif defined( __VMS )
#include <inttypes.h>
#elif defined(__SCO__) || defined(__USLC__)
#include <stdint.h>
#elif defined(WIN32) && defined(__GNUC__)
#include <stdint.h>
#endif /* big __sun__ & other OS loop */

I just added the "|| defined(__osf__)" to the first check and it seems to compile just fine now.


--
Randall Hand
Visualization Scientist,
ERDC-MSRC Vicksburg, MS
Homepage: http://www.yeraze.com

Reply via email to