repopen 304338 thanks Thank you for the new upload.
Unfortunately the Build-Depends on libxerces26-dev is still missing. Additionally, when building 'ogre' on amd64/unstable with gcc-4.0, I still get the following error: In file included from ../../OgreMain/include/OgrePrerequisites.h:88, from ../../OgreMain/include/OgreAnimation.h:29, from OgreAnimation.cpp:26: ../../OgreMain/include/OgreStdHeaders.h:30:23: error: hash_set: No such file or directory ../../OgreMain/include/OgreStdHeaders.h:31:23: error: hash_map: No such file or directory ../../OgreMain/include/OgreString.h:64: error: expected initializer before '<' token ../../OgreMain/include/OgreString.h:172: error: expected initializer before '<' token ../../OgreMain/include/OgreNode.h:64: error: ISO C++ forbids declaration of 'hash_map' with no type ../../OgreMain/include/OgreNode.h:64: error: typedef name may not be a nested-name-specifier ../../OgreMain/include/OgreNode.h:64: error: expected ';' before '<' token ../../OgreMain/include/OgreNode.h:65: error: 'ChildNodeMap' was not declared in this scope ../../OgreMain/include/OgreNode.h:65: error: template argument 1 is invalid ../../OgreMain/include/OgreNode.h:71: error: 'ChildNodeMap' does not name a type make[3]: *** [OgreAnimation.lo] Error 1 make[3]: Leaving directory `/ogre-1.0.1/build-tree/ogre-free/OgreMain/src' With the attached patch 'ogre' can be compiled on amd64 using gcc-4.0. Regards Andreas Jochens diff -urN ../tmp-orig/ogre-1.0.1/debian/control ./debian/control --- ../tmp-orig/ogre-1.0.1/debian/control 2005-04-18 23:26:26.199837432 +0200 +++ ./debian/control 2005-04-18 23:26:22.538542546 +0200 @@ -2,7 +2,7 @@ Priority: optional Section: libs Maintainer: Federico Di Gregorio <[EMAIL PROTECTED]> -Build-Depends: dbs, debhelper (>> 4.0.0), libdevil-dev, libfreetype6-dev, libjpeg62-dev, liblcms1-dev, libmng-dev, libpng-dev, libtiff-dev, zlib1g-dev, libopenexr-dev, xlibs-dev, doxygen, texi2html, libtool, automake1.9, autoconf, pkg-config, libxaw7-dev, libsdl1.2-dev, libzzip-dev, libcegui-mk2-dev +Build-Depends: dbs, debhelper (>> 4.0.0), libxerces26-dev, libdevil-dev, libfreetype6-dev, libjpeg62-dev, liblcms1-dev, libmng-dev, libpng-dev, libtiff-dev, zlib1g-dev, libopenexr-dev, xlibs-dev, doxygen, texi2html, libtool, automake1.9, autoconf, pkg-config, libxaw7-dev, libsdl1.2-dev, libzzip-dev, libcegui-mk2-dev Standards-Version: 3.6.1.0 Package: libogre5 diff -urN ../tmp-orig/ogre-1.0.1/debian/patches/gcc4_fix.diff ./debian/patches/gcc4_fix.diff --- ../tmp-orig/ogre-1.0.1/debian/patches/gcc4_fix.diff 1970-01-01 01:00:00.000000000 +0100 +++ ./debian/patches/gcc4_fix.diff 2005-04-18 22:21:53.000000000 +0200 @@ -0,0 +1,27 @@ +diff -urN tmp/OgreMain/include/OgrePlatform.h ogre-free/OgreMain/include/OgrePlatform.h +--- tmp/OgreMain/include/OgrePlatform.h 2005-04-12 13:03:15.670449105 +0000 ++++ ogre-free/OgreMain/include/OgrePlatform.h 2005-04-12 13:09:24.565540326 +0000 +@@ -51,6 +51,11 @@ + # define OGRE_COMPILER OGRE_COMPILER_GNUC + # define OGRE_COMP_VER (((__GNUC__)*100)+__GNUC_MINOR__) + ++# if __GNUC__ >= 3 ++# define GCC_3_1 ++# define EXT_HASH ++# endif ++ + #elif defined( __BORLANDC__ ) + # define OGRE_COMPILER OGRE_COMPILER_BORL + # define OGRE_COMP_VER __BCPLUSPLUS__ +diff -urN ../ogre-free/OgreMain/src/OgreSerializer.cpp ogre-free/OgreMain/src/OgreSerializer.cpp +--- ../ogre-free/OgreMain/src/OgreSerializer.cpp 2005-04-18 18:00:51.666913000 +0200 ++++ ogre-free/OgreMain/src/OgreSerializer.cpp 2005-04-18 22:02:01.280269578 +0200 +@@ -320,7 +320,7 @@ + for(unsigned int byteIndex = 0; byteIndex < size/2; byteIndex++) + { + swapByte = *(char *)((long)pData + byteIndex); +- *(char *)((long)pData + byteIndex) = *(char *)((int)pData + size - byteIndex - 1); ++ *(char *)((long)pData + byteIndex) = *(char *)((long)pData + size - byteIndex - 1); + *(char *)((long)pData + size - byteIndex - 1) = swapByte; + } + } -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]