[PlanetCCRMA] Fedora Core 5 build error / tinyxml

Fernando Lopez-Lezcano nando@ccrma.Stanford.EDU
Thu Apr 6 10:46:02 2006


--=-gpGkPmMEo1Rjl9/s9cd1
Content-Type: text/plain
Content-Transfer-Encoding: 7bit

On Thu, 2006-04-06 at 13:17 -0400, blindman jones wrote:
> Hello all... I am trying to get Hydrgen-0.9.3 to build on a FC5
> install... got jack running fine and have all the dependencies
> installed... but I am getting an error here...
> 
> make[1]: Entering directory `/home/blindman/build/hydrogen-0.9.3'
> g++ -c -pipe -g -w -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2
> -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32
> -march=i386 -mtune=generic -fasynchronous-unwind-tables -D_REENTRANT 
> -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -DQT_SHARED
> -I/usr/lib/qt-3.3/mkspecs/default -I. -I. -Isrc
> -I/usr/lib/qt-3.3/include -o src/tinystr.o src/lib/xml/tinystr.cpp
> src/lib/xml/tinyxml.h:828: error: extra qualification
> 'TiXmlDeclaration::' on member 'TiXmlDeclaration'
> make[1]: *** [src/tinystr.o] Error 1
> make[1]: Leaving directory `/home/blindman/build/hydrogen-0.9.3'
> make: *** [hydrogenPlayer] Error 2

The attached patch solves this, I managed to build it yesterday. 
You should wait a bit :-), a week or so...
-- Fernando


> I am documenting the process on my google page...
> http://erleichda.googlepages.com/home2
> 
> I downloaded tinyxml_2_4_3.tar.gz and tried using those files in
> hydrogen-0.9.3/src/lib/xml and the build gets a lot further but still
> fails, again the log is on my page.
> http://erleichda.googlepages.com/build-002.log.txt
> 
> I tried compling with both gcc4 (default FC5) & gcc32 (compat rpms
> installed) but no difference... the logs are from the gcc32 & g++32
> tries... but the errors are 100% identical
> 
> What else can I try to get hydrogen to compile on FC5? Am I missing
> any dependencies? Is FC5 just not ready for the beats of hydrogen?


--=-gpGkPmMEo1Rjl9/s9cd1
Content-Disposition: attachment; filename=hydrogen-0.9.3-tinyxml.patch
Content-Type: text/x-patch; name=hydrogen-0.9.3-tinyxml.patch; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit

--- hydrogen-0.9.3/src/lib/xml/tinyxml.h~	2005-10-17 15:32:04.000000000 -0700
+++ hydrogen-0.9.3/src/lib/xml/tinyxml.h	2006-04-05 12:17:42.665967520 -0700
@@ -823,7 +823,7 @@
 #endif
 
 	/// Construct.
-	TiXmlDeclaration::TiXmlDeclaration( const char * _version,
+	TiXmlDeclaration( const char * _version,
 										const char * _encoding,
 										const char * _standalone );
 

--=-gpGkPmMEo1Rjl9/s9cd1--