From: Sven M. H. <pe...@gm...> - 2001-03-20 17:25:51
|
On Tue, Mar 20, 2001 at 04:55:24PM +0100, Dirk Reiners wrote: > 1) src/array_cache/libMesaAC_la_SOURCES was missing, I recreated it as > shown in the attachment, I hope that's right. At least it compiles. ;) Completely correct. I had forgotten to add it to the repository. Fixed now. > 2) cc-1101 cc: ERROR File = ss_tritmp.h, Line = 159 > "quad" has already been declared in the current scope. > > static void TAG(quad)( GLcontext *ctx, GLuint v0, > ^ > quad is already defined in bsd_types.h. Renaming quad to quadfunc in > ss_tritmp.h fixed that. Oh, that's ugly. As far as a quick grep indicated the identifier 'quad' is used in a number of places. It would probably be pretty painful to wade through all the source files to eliminate every occurance. Do you have any way of preventing bsd_types.h from being included or quad from being defined in it? > 3) texutil_tmp.h : __FUNCTION__ undefined > Irix CC doesn't define __FUNCTION__. I just killed it by #defining it to > nothing, but that's not a solution. Well, if the compiler doesn't support the feature the only way would be to use some sort of preprocessor kludge or hard-code the function names. Both options seem kind of hard to accept. I'd say we check for the feature and in case it's not available #define __FUNCTION__ to something sensable expressing the lack. > 4) si-glu still used the old ,-MD, for dependencies. Adding the rules for > %.o: %.cc and %.lo: %.cc to common_rules.make fixed that (see attachment). Oh yeah, missed that one, Fixed. > Doing that it apparently compiled, but didn't create the GLUT lib. gmake > all in src-glut does nothing. No idea whats' wrong here?!? Thus I'm not > sure what else it didn't make and I can't run tests or demos. Hm, seems something messed up here. Fixed two minor mistakes, but I don't see how these could have caused glut not being built at all: * Makefile.am: Added src-glut to DIST_SUBDIRS. * src-glut/Makefile.am: Removed NEED_GLUT check for good. I assume you don't have another GLUT already installed, do you? In that case the configure script will use that library instead of the one supplied with Mesa. Look for a warning message from configure. You can tell configure not to look for an external GLUT using --without-glut. Thanks for the feedback, @SVEN_M_HALLBERG@ <$(pesco_gmx.de)> -- "Would the All-Seeing Eye please look in my direction?" [ KeyID........: 0xC297FEAB ] [ Fingerprint..: FEA5 0F93 7320 3F39 66A5 AED3 073F 2D5F C297 FEAB ] |