<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Tahoma
}
--></style></head>
<body class='hmmessage'><div dir='ltr'>
That was always my problem, i could NEVER compile any version of PPL on my ASUS RT-N16 router.<BR> <BR>[root@proxy root]$ uname -a<br>Linux proxy.server 2.6.22.19 #1 Thu Aug 30 00:03:26 CEST 2012 mips GNU/Linux<br>[root@proxy root]$ gcc -v<br>Using built-in specs.<br>Target: mipsel-linux-uclibc<br>Configured with: /home/slug/optware/oleg/toolchain/buildroot/toolchain_build_mipsel/gcc-4.1.1/configure --prefix=/opt --build=i386-pc-linux-gnu --host=mipsel-linux-uclibc --target=mipsel-linux-uclibc --enable-languages=c,c++ --with-gxx-include-dir=/opt/include/c++ --disable-__cxa_atexit --enable-target-optspace --with-gnu-ld --enable-shared --enable-threads --disable-multilib<br>Thread model: posix<br>gcc version 4.1.1<br><BR>Thank you,<br>Hugo Gomes<br> <BR><div><div id="SkyDrivePlaceholder"></div>> Date: Wed, 5 Sep 2012 19:51:46 +0200<br>> From: bagnara@cs.unipr.it<br>> To: ppl-devel@cs.unipr.it<br>> CC: hggomes@hotmail.com<br>> Subject: Re: [PPL-devel] compilation error<br>> <br>> On 09/05/12 19:23, Roberto Bagnara wrote:<br>> > On 09/05/12 14:45, Hugo Gomes wrote:<br>> >> Hi Roberto,<br>> >><br>> >> Here it is the new error:<br>> >><br>> >> make  all-am<br>> >> make[3]: Entering directory `/opt/ppl-1.1pre3/src'<br>> >> /opt/bin/bash ../libtool  --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I. -I..  -I.. -I../src -I/opt/include   -g -O2 -frounding-math  -W -Wall -MT PIP_Tree.lo -MD -MP -MF .deps/PIP_Tree.Tpo -c -o PIP_Tree.lo PIP_Tree.cc<br>> >> libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I.. -I.. -I../src -I/opt/include -g -O2 -frounding-math -W -Wall -MT PIP_Tree.lo -MD -MP -MF .deps/PIP_Tree.Tpo -c PIP_Tree.cc  -fPIC -DPIC -o .libs/PIP_Tree.o<br>> >> Linear_Expression_inlines.hh: In constructor 'Parma_Polyhedra_Library::PIP_Tree_Node::Artificial_Parameter::Artificial_Parameter(const Parma_Polyhedra_Library::Linear_Expression&, const Parma_Polyhedra_Library::GMP_Integer&)':<br>> >> Linear_Expression_inlines.hh:445: error: 'Parma_Polyhedra_Library::Coefficient Parma_Polyhedra_Library::Linear_Expression::gcd(Parma_Polyhedra_Library::dimension_type, Parma_Polyhedra_Library::dimension_type) const' is private<br>> >> PIP_Tree.cc:897: error: within this context<br>> >> Linear_Expression_inlines.hh:452: error: 'void Parma_Polyhedra_Library::Linear_Expression::exact_div_assign(const Parma_Polyhedra_Library::GMP_Integer&, Parma_Polyhedra_Library::dimension_type, Parma_Polyhedra_Library::dimension_type)' is private<br>> >> PIP_Tree.cc:912: error: within this context<br>> >> make[3]: *** [PIP_Tree.lo] Error 1<br>> >> make[3]: Leaving directory `/opt/ppl-1.1pre3/src'<br>> >> make[2]: *** [all] Error 2<br>> >> make[2]: Leaving directory `/opt/ppl-1.1pre3/src'<br>> >> make[1]: *** [all-recursive] Error 1<br>> >> make[1]: Leaving directory `/opt/ppl-1.1pre3'<br>> >> make: *** [all] Error 2<br>> ><br>> > Dear Hugo,<br>> ><br>> > I am afraid you stumbled upon a bug of GCC 4.1.1.<br>> > Can you please upgrade to a later GCC version and<br>> > retry?<br>> <br>> Alternatively, you could try to downgrade PPL<br>> (say, PPL 0.11.2).<br>> <br>> -- <br>> Prof. Roberto Bagnara<br>> Applied Formal Methods Laboratory<br>> Department of Mathematics and Computer Science, University of Parma, Italy<br>> http://www.cs.unipr.it/~bagnara/<br>> mailto:bagnara@cs.unipr.it<br></div>                                          </div></body>
</html>