On Sat, Oct 22, 2005 at 02:35:45AM +0200, Frank Lichtenheld <[EMAIL PROTECTED]> was heard to say: > >From > >http://buildd.debian.org/fetch.php?&pkg=kdebindings&ver=4%3A3.4.2-2&arch=alpha&stamp=1129937211&file=log&as=raw > > Making all in utilsgl > make[3]: Entering directory `/build/buildd/criticalmass-0.9.12/utilsgl' > g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../utils -I../utilssdl -W -Wall > -fno-exceptions -O2 -I/usr/include/SDL -D_REENTRANT -I/usr/X11R6/include -c > -o GLBitmapCollection.o GLBitmapCollection.cpp > ./gl++.hpp:35: error: conflicting declaration 'typedef int GLintptrARB' > /usr/X11R6/include/GL/glext.h:2861: error: 'GLintptrARB' has a previous > declaration as 'typedef ptrdiff_t GLintptrARB' > ./gl++.hpp:36: error: conflicting declaration 'typedef int GLsizeiptrARB' > /usr/X11R6/include/GL/glext.h:2862: error: 'GLsizeiptrARB' has a previous > declaration as 'typedef ptrdiff_t GLsizeiptrARB' > make[3]: *** [GLBitmapCollection.o] Error 1 > make[3]: Leaving directory `/build/buildd/criticalmass-0.9.12/utilsgl' > make[2]: *** [all-recursive] Error 1 > make[2]: Leaving directory `/build/buildd/criticalmass-0.9.12' > make[1]: *** [all] Error 2 > make[1]: Leaving directory `/build/buildd/criticalmass-0.9.12' > make: *** [build-stamp] Error 2 > > The following patch seems to fix that: > diff -Naur criticalmass-0.9.12/utilsgl/gl++.hpp > criticalmass-0.9.12-test/utilsgl/gl++.hpp > --- criticalmass-0.9.12/utilsgl/gl++.hpp 2004-12-18 02:41:34.000000000 > +0000 > +++ criticalmass-0.9.12-test/utilsgl/gl++.hpp 2005-10-22 00:18:23.000000000 > +0000 > @@ -28,7 +28,7 @@ > # if defined(_WIN64) > typedef __int64 GLintptrARB; > typedef __int64 GLsizeiptrARB; > -# elif defined(__ia64__) || defined(__x86_64__) > +# elif defined(__ia64__) || defined(__x86_64__) || defined(__alpha__) > typedef long int GLintptrARB; > typedef long int GLsizeiptrARB; > # else
This looks like a disaster waiting to happen when the real typedef of GLintptrARB changes again on some platform. Since it appears that the type in question has a proper definition in glext.h, I just #if 0'd out this block and added a #include of glext.h. Daniel
signature.asc
Description: Digital signature