<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=utf-8">
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD><TITLE>[mapguide-users] Build Oem error on fc4</TITLE>

<META content="MSHTML 6.00.2800.1528" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY dir=ltr bgColor=#ffffff>
<DIV>g++ 3.4 - that's what I suspected.&nbsp; Another user had the same error 
just yesterday.&nbsp; Here's a copy of my response.</DIV>
<DIV>&nbsp;</DIV>
<DIV>
<DIV dir=ltr align=left><SPAN class=336014315-23032006><FONT face=Arial 
color=#0000ff size=2>It looks like errors due to templates.&nbsp; You're not the 
first one encountering this:</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=336014315-23032006><FONT face=Arial 
color=#0000ff size=2></FONT></SPAN>&nbsp;</DIV>
<DIV dir=ltr align=left><SPAN class=336014315-23032006><FONT face=Arial 
color=#0000ff size=2><A 
href="http://gcc.gnu.org/ml/gcc-help/2004-12/msg00077.html" 
target=_BLANK>http://gcc.gnu.org/ml/gcc-help/2004-12/msg00077.html</A></FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=336014315-23032006><FONT face=Arial 
color=#0000ff size=2><A 
href="http://gcc.gnu.org/ml/gcc-help/2004-11/msg00093.html" 
target=_BLANK>http://gcc.gnu.org/ml/gcc-help/2004-11/msg00093.html</A></FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=336014315-23032006><FONT face=Arial 
color=#0000ff size=2></FONT></SPAN>&nbsp;</DIV>
<DIV dir=ltr align=left><SPAN class=336014315-23032006><FONT face=Arial 
color=#0000ff size=2>At this point I can only recommend upgrading your gcc / g++ 
to version 4.0.2.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=336014315-23032006><FONT face=Arial 
color=#0000ff size=2></FONT></SPAN>&nbsp;</DIV>
<DIV dir=ltr align=left><SPAN class=336014315-23032006><FONT face=Arial 
color=#0000ff size=2>Walt</FONT></SPAN></DIV></DIV>
<BLOCKQUOTE dir=ltr style="MARGIN-RIGHT: 0px">
  <DIV><FONT size=2>-----Original Message----- <BR><B>From:</B> Dennis Megarry 
  [mailto:dennis@myairplane.com] <BR><B>Sent:</B> Fri 3/24/2006 7:20 PM 
  <BR><B>To:</B> users@mapguide.osgeo.org <BR><B>Cc:</B> <BR><B>Subject:</B> Re: 
  [mapguide-users] Build Oem error on fc4<BR><BR></FONT></DIV>
  <DIV><FONT face=Arial size=2>[root@srv4 mapguide-1.0.0]# gcc -v<BR>Reading 
  specs from /usr/lib/gcc/i386-redhat-linux/3.4.3/specs<BR>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<BR>Thread model: posix<BR>gcc version 3.4.3 20041212 
  (Red Hat 3.4.3-9.EL4)<BR></FONT></DIV>
  <BLOCKQUOTE dir=ltr 
  style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
    <DIV style="FONT: 10pt arial">----- Original Message ----- </DIV>
    <DIV style="BACKGROUND: #e4e4e4; FONT: 10pt arial"><B>From:</B> <A 
    title=walt.welton-lair@autodesk.com 
    href="mailto:walt.welton-lair@autodesk.com">Walt Welton-Lair</A> </DIV>
    <DIV style="FONT: 10pt arial"><B>To:</B> <A title=users@mapguide.osgeo.org 
    href="mailto:users@mapguide.osgeo.org">users@mapguide.osgeo.org</A> </DIV>
    <DIV style="FONT: 10pt arial"><B>Sent:</B> Friday, March 24, 2006 6:16 
    PM</DIV>
    <DIV style="FONT: 10pt arial"><B>Subject:</B> RE: [mapguide-users] Build Oem 
    error on fc4</DIV>
    <DIV><BR></DIV>
    <DIV>You need to tell us&nbsp;the version of g++ you're using...</DIV>
    <BLOCKQUOTE dir=ltr style="MARGIN-RIGHT: 0px">
      <DIV><FONT size=2>-----Original Message----- <BR><B>From:</B> Dennis 
      Megarry [mailto:dennis@myairplane.com] <BR><B>Sent:</B> Fri 3/24/2006 5:57 
      PM <BR><B>To:</B> <A 
      href="mailto:users@mapguide.osgeo.org">users@mapguide.osgeo.org</A> 
      <BR><B>Cc:</B> <BR><B>Subject:</B> [mapguide-users] Build Oem error on 
      fc4<BR><BR></FONT></DIV>
      <P><FONT size=2>I'm trying to run the build_oem script but it gives me 
      this error:<BR><BR>ACE 5.4: Configuration / Building 
      ..................<BR>make[1]: Entering 
      directory<BR>`/home/admin/auto/mapguide-1.0.0/Oem/ACE/ACE_wrappers/ace'<BR><BR>Makefile:<BR>/home/admin/auto/mapguide-1.0.0/Oem/ACE/ACE_wrappers/ace/Makefile.ace<BR><BR>g++ 
      -W -Wall -Wpointer-arith -pipe -O3 -g&nbsp;&nbsp;&nbsp; -D_REENTRANT 
      -DACE_HAS_AIO_CALL<BR>S -D_GNU_SOURCE&nbsp;&nbsp; 
      -I/home/admin/auto/mapguide-1.0.0/Oem/ACE/ACE_wrappers 
      -DA<BR>CE_HAS_EXCEPTIONS -D__ACE_INLINE__ -DACE_BUILD_DLL 
      -DACE_OS_BUILD_DLL&nbsp; -c -f<BR>PIC -o .shobj/ARGV.o ARGV.cpp<BR>In file 
      included 
      from<BR>/home/admin/auto/mapguide-1.0.0/Oem/ACE/ACE_wrappers/ace/Unbounded_Queue.h:2<BR>86,<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
      from<BR>/home/admin/auto/mapguide-1.0.0/Oem/ACE/ACE_wrappers/ace/ARGV.h:24,<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
      from 
      ARGV.cpp:6:<BR>/home/admin/auto/mapguide-1.0.0/Oem/ACE/ACE_wrappers/ace/Unbounded_Queue.cpp<BR>: 
      In member function `void 
      ACE_Unbounded_Queue&lt;T&gt;::delete_nodes()':<BR>/home/admin/auto/mapguide-1.0.0/Oem/ACE/ACE_wrappers/ace/Unbounded_Queue.cpp<BR>:133: 
      error: expected class-name before '(' 
      token<BR>/home/admin/auto/mapguide-1.0.0/Oem/ACE/ACE_wrappers/ace/Unbounded_Queue.cpp<BR>: 
      In destructor 
      `ACE_Unbounded_Queue&lt;T&gt;::~ACE_Unbounded_Queue()':<BR>/home/admin/auto/mapguide-1.0.0/Oem/ACE/ACE_wrappers/ace/Unbounded_Queue.cpp<BR>:153: 
      error: expected class-name before '(' 
      token<BR>/home/admin/auto/mapguide-1.0.0/Oem/ACE/ACE_wrappers/ace/Unbounded_Queue.cpp<BR>: 
      In member function `int 
      ACE_Unbounded_Queue&lt;T&gt;::dequeue_head(T&amp;)':<BR>/home/admin/auto/mapguide-1.0.0/Oem/ACE/ACE_wrappers/ace/Unbounded_Queue.cpp<BR>:223: 
      error: expected class-name before '(' token<BR>make[1]: *** 
      [.shobj/ARGV.o] Error 1<BR>make[1]: Leaving 
      directory<BR>`/home/admin/auto/mapguide-1.0.0/Oem/ACE/ACE_wrappers/ace'<BR>make: 
      *** [all] Error 2<BR>ACE 5.4: Build Successful 
      ..........................<BR><BR>I tried building mapguide afterwards 
      (because it actualy said it was<BR>successful) but got the same error 
      there as well.. Anyone know what 
      I'm<BR>missing?<BR><BR>Dennis<BR><BR><BR><BR>---------------------------------------------------------------------<BR>To 
      unsubscribe, e-mail: users-unsubscribe@mapguide.osgeo.org<BR>For 
      additional commands, e-mail: 
      users-help@mapguide.osgeo.org<BR><BR></FONT></P></BLOCKQUOTE></BLOCKQUOTE></BLOCKQUOTE></BODY></HTML>