This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Problems Building ppl-0.10.2 with g++-4.4.0 on Open Solaris 2008.11
- From: Tom Browder <tom dot browder at gmail dot com>
- To: GCC-help <gcc-help at gcc dot gnu dot org>
- Date: Sat, 25 Apr 2009 20:58:32 -0500
- Subject: Problems Building ppl-0.10.2 with g++-4.4.0 on Open Solaris 2008.11
I first built g++ 4.4.0 without ppl and cloog using gcc 3.4.3 that
comes with Open Solaris.
>From g++-4.4.0 -v:
<quote>
Using built-in specs.
Target: i386-pc-solaris2.11
Configured with: ../gcc-4.4.0/configure
--enable-languages=c,c++,fortran --disable-multilib
--program-suffix=-4.4.0t --disable-nls --with-gnu-as
--with-as=/usr/sfw/bin/gas --without-gnu-ld --with-ld=/usr/ccs/bin/ld
Thread model: posix
gcc version 4.4.0 (GCC)
</quote>
Then I rebuilt gmp and mpfr. All checks passed okay.
When I tried to build ppl (same configuration as gmp) things went fine
until a cascade of errors started with:
<quote>
/bin/sh ../libtool --tag=CXX --mode=compile g++-4.4.0t
-DHAVE_CONFIG_H -I. -I.. -I.. -I../src -fexceptions
-I/usr/local/include -g -O2 -frounding-math -W -Wall -MT
C_Polyhedron.lo -MD -MP -MF .deps/C_Polyhedron.Tpo -c -o
C_Polyhedron.lo C_Polyhedron.cc
libtool: compile: g++-4.4.0t -DHAVE_CONFIG_H -I. -I.. -I.. -I../src
-fexceptions -I/usr/local/include -g -O2 -frounding-math -W -Wall -MT
C_Polyhedron.lo -MD -MP -MF .deps/C_Polyhedron.Tpo -c C_Polyhedron.cc
-fPIC -DPIC -o .libs/C_Polyhedron.o
In file included from algorithms.hh:27,
from C_Polyhedron.cc:28:
Pointset_Powerset.defs.hh:68: error: expected unqualified-id before
numeric constant
Pointset_Powerset.defs.hh:69: error: type/value mismatch at argument 1
in template parameter list for 'template<class D> class
Parma_Polyhedra_Library::Powerset'
Pointset_Powerset.defs.hh:69: error: expected a type, got '15'
Pointset_Powerset.defs.hh:1234: error: 'Base' is not a class or namespace
Pointset_Powerset.defs.hh:1235: error: 'Base' is not a class or namespace
Pointset_Powerset.defs.hh:1236: error: 'Base' is not a class or namespace
Pointset_Powerset.defs.hh:1237: error: 'Base' is not a class or namespace
Pointset_Powerset.defs.hh:1238: error: 'Base' is not a class or namespace
Pointset_Powerset.defs.hh:1239: error: 'Base' is not a class or namespace
Pointset_Powerset.defs.hh:1251: error: 'Base' is not a class or namespace
Pointset_Powerset.defs.hh:1252: error: 'Base' is not a class or namespace
Pointset_Powerset.defs.hh:1253: error: 'Base' is not a class or namespace
In file included from Pointset_Powerset.defs.hh:1446,
from algorithms.hh:27,
from C_Polyhedron.cc:28:
Pointset_Powerset.inlines.hh: In constructor
'Parma_Polyhedra_Library::Pointset_Powerset<PH>::Pointset_Powerset(Parma_Polyhedra_Library::dimension_type,
Parma_Polyhedra_Library::Degenerate_Element)':
Pointset_Powerset.inlines.hh:55: error: 'typedef int
Parma_Polyhedra_Library::Pointset_Powerset<PH>::Base' is not a
non-static data member of
'Parma_Polyhedra_Library::Pointset_Powerset<PH>'
Pointset_Powerset.inlines.hh: In copy constructor
'Parma_Polyhedra_Library::Pointset_Powerset<PH>::Pointset_Powerset(const
Parma_Polyhedra_Library::Pointset_Powerset<PH>&,
Parma_Polyhedra_Library::Complexity_Class)':
Pointset_Powerset.inlines.hh:66: error: 'typedef int
Parma_Polyhedra_Library::Pointset_Powerset<PH>::Base' is not a
non-static data me
<etc>
</quote>
It seems like a "Catch 22" situation!
I appreciate any help.
-Tom
Tom Browder
Niceville, Florida
USA