<div dir="ltr"><div>&nbsp;</div>
<div>Hi, </div>
<div>&nbsp;I just downloaded the XORP 1.5 and was trying to compile it. I was able to compile it with no problem on native Linux EL3 using GCC 3.4.5</div>
<div>But when I try to cross compile it for mips64 using GCC 3.4.3 (that is the tool chain that we are using on the embedded system).</div>
<div>I got the following compilatin errors and hope if anyone knows how to address it:</div>
<div>&nbsp;</div>
<blockquote dir="ltr" style="MARGIN-RIGHT: 0px">
<blockquote style="MARGIN-RIGHT: 0px">
<div>&nbsp;</div>
<div>gmake[3]: Entering directory `/export/home/cmchan/dev/xorp-1.5/libxorp&#39; 
<div>/bin/sh ../libtool --tag=CXX&nbsp;&nbsp; --mode=compile /export/crosstools/mvl40/mips64/fp_be/bin/mips64_fp_be-g++ -DHAVE_CONFIG_H -I. -I.. -I..&nbsp; -I/export/crosstools/mvl40/mips64/fp_be/include -mtune=sb1 -mabi=n32&nbsp; -I/export/crosstools/mvl40/mips64/fp_be/include -mtune=sb1 -mabi=n32 -g -Werror -W -Wall -Wwrite-strings -Wcast-qual -Wpointer-arith -Wcast-align -Woverloaded-virtual -ftemplate-depth-25 -pipe -MT asyncio.lo -MD -MP -MF .deps/asyncio.Tpo -c -o asyncio.lo asyncio.cc</div>

<div>&nbsp;/export/crosstools/mvl40/mips64/fp_be/bin/mips64_fp_be-g++ -DHAVE_CONFIG_H -I. -I.. -I.. -I/export/crosstools/mvl40/mips64/fp_be/include -mtune=sb1 -mabi=n32 -I/export/crosstools/mvl40/mips64/fp_be/include -mtune=sb1 -mabi=n32 -g -Werror -W -Wall -Wwrite-strings -Wcast-qual -Wpointer-arith -Wcast-align -Woverloaded-virtual -ftemplate-depth-25 -pipe -MT asyncio.lo -MD -MP -MF .deps/asyncio.Tpo -c asyncio.cc -o asyncio.o</div>

<div>In file included from /export/crosstools/mvl40/mips64/fp_be/bin/../lib/gcc/mips64-montavista-linux/3.4.3/../../../../target/usr/include/c++/3.4.3/new:41,</div>
<div>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; from ../libxorp/xorp.h:64,</div>
<div>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; from asyncio.cc:22:</div>
<div>/export/crosstools/mvl40/mips64/fp_be/bin/../lib/gcc/mips64-montavista-linux/3.4.3/../../../../target/usr/include/c++/3.4.3/cstddef:53: error: expected unqualified-id before &quot;unsigned&quot;</div>
<div>/export/crosstools/mvl40/mips64/fp_be/bin/../lib/gcc/mips64-montavista-linux/3.4.3/../../../../target/usr/include/c++/3.4.3/cstddef:53: error: expected `;&#39; before &quot;unsigned&quot;</div>
<div>In file included from ../libxorp/xorp.h:64,</div>
<div>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; from asyncio.cc:22:</div>
<div>/export/crosstools/mvl40/mips64/fp_be/bin/../lib/gcc/mips64-montavista-linux/3.4.3/../../../../target/usr/include/c++/3.4.3/new:84: error: declaration of `operator new&#39; as non-function</div>
<div>/export/crosstools/mvl40/mips64/fp_be/bin/../lib/gcc/mips64-montavista-linux/3.4.3/../../../../target/usr/include/c++/3.4.3/new:84: error: expected unqualified-id before &quot;unsigned&quot;</div></div></blockquote>
</blockquote>
<div dir="ltr">Thanks,</div>
<div dir="ltr">RT</div>
<div dir="ltr">&nbsp;</div></div>