<div dir="ltr"><div> </div>
<div>Hi, </div>
<div> 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> </div>
<blockquote dir="ltr" style="MARGIN-RIGHT: 0px">
<blockquote style="MARGIN-RIGHT: 0px">
<div> </div>
<div>gmake[3]: Entering directory `/export/home/cmchan/dev/xorp-1.5/libxorp'
<div>/bin/sh ../libtool --tag=CXX --mode=compile /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 -o asyncio.lo asyncio.cc</div>
<div> /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> from ../libxorp/xorp.h:64,</div>
<div> 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 "unsigned"</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 `;' before "unsigned"</div>
<div>In file included from ../libxorp/xorp.h:64,</div>
<div> 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' 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 "unsigned"</div></div></blockquote>
</blockquote>
<div dir="ltr">Thanks,</div>
<div dir="ltr">RT</div>
<div dir="ltr"> </div></div>