[mapguide-users] Build Oem error on fc4

Walt Welton-Lair walt.welton-lair at autodesk.com
Fri Mar 24 19:30:31 EST 2006


g++ 3.4 - that's what I suspected.  Another user had the same error just yesterday.  Here's a copy of my response.
 
It looks like errors due to templates.  You're not the first one encountering this:
 
http://gcc.gnu.org/ml/gcc-help/2004-12/msg00077.html
http://gcc.gnu.org/ml/gcc-help/2004-11/msg00093.html
 
At this point I can only recommend upgrading your gcc / g++ to version 4.0.2.
 
Walt

	-----Original Message----- 
	From: Dennis Megarry [mailto:dennis at myairplane.com] 
	Sent: Fri 3/24/2006 7:20 PM 
	To: users at mapguide.osgeo.org 
	Cc: 
	Subject: Re: [mapguide-users] Build Oem error on fc4
	
	
	[root at srv4 mapguide-1.0.0]# gcc -v
	Reading specs from /usr/lib/gcc/i386-redhat-linux/3.4.3/specs
	Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --enable-shared --enable-threads=posix --disable-checking --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-java-awt=gtk --host=i386-redhat-linux
	Thread model: posix
	gcc version 3.4.3 20041212 (Red Hat 3.4.3-9.EL4)
	

		----- Original Message ----- 
		From: Walt Welton-Lair <mailto:walt.welton-lair at autodesk.com>  
		To: users at mapguide.osgeo.org 
		Sent: Friday, March 24, 2006 6:16 PM
		Subject: RE: [mapguide-users] Build Oem error on fc4

		You need to tell us the version of g++ you're using...

			-----Original Message----- 
			From: Dennis Megarry [mailto:dennis at myairplane.com] 
			Sent: Fri 3/24/2006 5:57 PM 
			To: users at mapguide.osgeo.org 
			Cc: 
			Subject: [mapguide-users] Build Oem error on fc4
			
			

			I'm trying to run the build_oem script but it gives me this error:
			
			ACE 5.4: Configuration / Building ..................
			make[1]: Entering directory
			`/home/admin/auto/mapguide-1.0.0/Oem/ACE/ACE_wrappers/ace'
			
			Makefile:
			/home/admin/auto/mapguide-1.0.0/Oem/ACE/ACE_wrappers/ace/Makefile.ace
			
			g++ -W -Wall -Wpointer-arith -pipe -O3 -g    -D_REENTRANT -DACE_HAS_AIO_CALL
			S -D_GNU_SOURCE   -I/home/admin/auto/mapguide-1.0.0/Oem/ACE/ACE_wrappers -DA
			CE_HAS_EXCEPTIONS -D__ACE_INLINE__ -DACE_BUILD_DLL -DACE_OS_BUILD_DLL  -c -f
			PIC -o .shobj/ARGV.o ARGV.cpp
			In file included from
			/home/admin/auto/mapguide-1.0.0/Oem/ACE/ACE_wrappers/ace/Unbounded_Queue.h:2
			86,
			                 from
			/home/admin/auto/mapguide-1.0.0/Oem/ACE/ACE_wrappers/ace/ARGV.h:24,
			                 from ARGV.cpp:6:
			/home/admin/auto/mapguide-1.0.0/Oem/ACE/ACE_wrappers/ace/Unbounded_Queue.cpp
			: In member function `void ACE_Unbounded_Queue<T>::delete_nodes()':
			/home/admin/auto/mapguide-1.0.0/Oem/ACE/ACE_wrappers/ace/Unbounded_Queue.cpp
			:133: error: expected class-name before '(' token
			/home/admin/auto/mapguide-1.0.0/Oem/ACE/ACE_wrappers/ace/Unbounded_Queue.cpp
			: In destructor `ACE_Unbounded_Queue<T>::~ACE_Unbounded_Queue()':
			/home/admin/auto/mapguide-1.0.0/Oem/ACE/ACE_wrappers/ace/Unbounded_Queue.cpp
			:153: error: expected class-name before '(' token
			/home/admin/auto/mapguide-1.0.0/Oem/ACE/ACE_wrappers/ace/Unbounded_Queue.cpp
			: In member function `int ACE_Unbounded_Queue<T>::dequeue_head(T&)':
			/home/admin/auto/mapguide-1.0.0/Oem/ACE/ACE_wrappers/ace/Unbounded_Queue.cpp
			:223: error: expected class-name before '(' token
			make[1]: *** [.shobj/ARGV.o] Error 1
			make[1]: Leaving directory
			`/home/admin/auto/mapguide-1.0.0/Oem/ACE/ACE_wrappers/ace'
			make: *** [all] Error 2
			ACE 5.4: Build Successful ..........................
			
			I tried building mapguide afterwards (because it actualy said it was
			successful) but got the same error there as well.. Anyone know what I'm
			missing?
			
			Dennis
			
			
			
			---------------------------------------------------------------------
			To unsubscribe, e-mail: users-unsubscribe at mapguide.osgeo.org
			For additional commands, e-mail: users-help at mapguide.osgeo.org
			
			

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/mapguide_users/attachments/20060324/18ebb9b7/attachment.html


More information about the Mapguide_users mailing list