Re: [PPL-devel] Undefined PPL references attempting to build cloog-ppl

As pointed to in the config.log:
tovrea@siamese%/net/whistler/auto/users/tovrea/local/sol2/bin/m4 --version m4 (GNU M4) 1.4.13
-----Original Message----- From: Roberto Bagnara [mailto:bagnara@cs.unipr.it] Sent: Monday, August 10, 2009 10:18 AM To: Tovrea, George W (US SSA) Cc: The Parma Polyhedra Library developers' list Subject: Re: [PPL-devel] Undefined PPL references attempting to build cloog-ppl
Tovrea, George W (US SSA) wrote:
Sorry, I don't have access to bzip2. Files are attached.
-----Original Message----- From: Roberto Bagnara [mailto:bagnara@cs.unipr.it] Sent: Monday, August 10, 2009 9:37 AM To: Tovrea, George W (US SSA) Cc: ppl-devel@cs.unipr.it Subject: Re: [PPL-devel] Undefined PPL references attempting to build cloog-ppl
Tovrea, George W (US SSA) wrote:
I encountered the following undefined references attempting to
compile
clog-ppl. I could not find any references to these types except in ./interfaces/C/C_interface.dox and some html documentation - none in
the
installed header files.
/net/whistler/auto/users/tovrea/local/sol2/bin/gcc -DHAVE_CONFIG_H
-I.
-I.. -I./include/cloog -I./include -I../include -I/net/whistler/auto/users/tovrea/local/sol2/include -I/net/whistler/auto/users/tovrea/local/sol2/include -I/net/whistler/auto/users/tovrea/local/sol2/include -Wall -fomit-frame-pointer -g -O2 -MT domain.lo -MD -MP -MF
.deps/domain.Tpo
-c ../source/ppl/domain.c -fPIC -DPIC -o .libs/domain.o ../source/ppl/domain.c: In function 'cloog_domain_simplify': ../source/ppl/domain.c:899: error: 'ppl_Pointset_Powerset_C_Polyhedron_t' undeclared (first use in this function) ../source/ppl/domain.c:899: error: (Each undeclared identifier is reported only once ../source/ppl/domain.c:899: error: for each function it appears in.) ../source/ppl/domain.c:899: error: expected ';' before 'ps1' ../source/ppl/domain.c:903: warning: implicit declaration of function 'ppl_new_Pointset_Powerset_C_Polyhedron_from_space_dimension' ../source/ppl/domain.c:903: error: 'ps1' undeclared (first use in
this
function) ../source/ppl/domain.c:909: warning: implicit declaration of function 'ppl_Pointset_Powerset_C_Polyhedron_add_disjunct' ../source/ppl/domain.c:917: error: 'ps2' undeclared (first use in
this
function) ../source/ppl/domain.c:929: warning: implicit declaration of function 'ppl_Pointset_Powerset_C_Polyhedron_simplify_using_context_assign' ../source/ppl/domain.c:932: error: 'ppl_Pointset_Powerset_C_Polyhedron_const_iterator_t' undeclared
(first
use in this function) ../source/ppl/domain.c:932: error: expected ';' before 'i' ../source/ppl/domain.c:933: warning: implicit declaration of function 'ppl_new_Pointset_Powerset_C_Polyhedron_const_iterator' ../source/ppl/domain.c:933: error: 'i' undeclared (first use in this function) ../source/ppl/domain.c:934: error: expected ';' before 'end' ../source/ppl/domain.c:935: error: 'end' undeclared (first use in
this
function) ../source/ppl/domain.c:936: warning: implicit declaration of function 'ppl_Pointset_Powerset_C_Polyhedron_const_iterator_begin' ../source/ppl/domain.c:937: warning: implicit declaration of function 'ppl_Pointset_Powerset_C_Polyhedron_const_iterator_end' ../source/ppl/domain.c:938: warning: implicit declaration of function 'ppl_Pointset_Powerset_C_Polyhedron_const_iterator_equal_test' ../source/ppl/domain.c:939: warning: implicit declaration of function 'ppl_Pointset_Powerset_C_Polyhedron_const_iterator_increment' ../source/ppl/domain.c:942: warning: implicit declaration of function 'ppl_Pointset_Powerset_C_Polyhedron_const_iterator_dereference' ../source/ppl/domain.c:943: warning: passing argument 1 of 'cloog_translate_ppl_polyhedron' discards qualifiers from pointer
target
type ../source/ppl/domain.c:659: note: expected 'ppl_Polyhedron_t' but argument is of type 'ppl_const_Polyhedron_t' ../source/ppl/domain.c:947: warning: implicit declaration of function 'ppl_delete_Pointset_Powerset_C_Polyhedron_const_iterator' ../source/ppl/domain.c:949: warning: implicit declaration of function 'ppl_delete_Pointset_Powerset_C_Polyhedron' make[1]: *** [domain.lo] Error 1 make[1]: Leaving directory `/net/whistler/auto/users/tovrea/GCC_SGI/cloog-ppl-0.15.5/build_sol2' make: *** [all-recursive] Error 1
Hi Bill,
something wrong is happening here. Can I have access to the machine where you are observing this? Or to a machine with the same environment? Otherwise, please send the following files (compressed with bzip2):
- the config.log generated by the configure command you gave for the
PPL; 2) the file ppl_c.h as installed by PPL's `make install'.
It seems a bug in your m4 installation: which version is it?

Tovrea, George W (US SSA) wrote:
As pointed to in the config.log:
tovrea@siamese%/net/whistler/auto/users/tovrea/local/sol2/bin/m4 --version m4 (GNU M4) 1.4.13
Strange: this is the same version I use. I don't know what to say: in ppl_c.h you should end up with
PPL_TYPE_DECLARATION(Polyhedron) PPL_TYPE_DECLARATION(Grid) PPL_TYPE_DECLARATION(Rational_Box) PPL_TYPE_DECLARATION(BD_Shape_mpz_class) PPL_TYPE_DECLARATION(BD_Shape_mpq_class) PPL_TYPE_DECLARATION(Octagonal_Shape_mpz_class) PPL_TYPE_DECLARATION(Octagonal_Shape_mpq_class) PPL_TYPE_DECLARATION(Constraints_Product_C_Polyhedron_Grid) PPL_TYPE_DECLARATION(Pointset_Powerset_C_Polyhedron) PPL_TYPE_DECLARATION(Pointset_Powerset_NNC_Polyhedron)
whereas you have
PPL_TYPE_DECLARATION(Polyhedron) PPL_TYPE_DECLARATION(Grid) PPL_TYPE_DECLARATION(Rational_Box) PPL_TYPE_DECLARATION(BD_Shape_mpz_class) PPL_TYPE_DECLARATION(_BD_Shape_mpq_class) PPL_TYPE_DECLARATION(_Octagonal_Shape_mpz_class) PPL_TYPE_DECLARATION(_Octagonal_Shape_mpq_class) PPL_TYPE_DECLARATION(_Constraints_Product_C_Polyhedron_Grid) PPL_TYPE_DECLARATION(_Pointset_Powerset_C_Polyhedron) PPL_TYPE_DECLARATION(_Pointset_Powerset_NNC_Polyhedron)
This file is created automatically, with m4 and Perl: I have no idea where the spurious underscores are coming from. If you can discover that, the problem will be solved. Otherwise we should find a way to reproduce the problem on a machine we can have access to. All the best,
Roberto

On Mon, Aug 10, 2009 at 13:26, Roberto Bagnarabagnara@cs.unipr.it wrote:
Tovrea, George W (US SSA) wrote:
As pointed to in the config.log:
tovrea@siamese%/net/whistler/auto/users/tovrea/local/sol2/bin/m4 --version m4 (GNU M4) 1.4.13
Could you please send us the output of # echo $PATH
If you have your system m4 in the path before your local gnu M4, that could be the reason for the incompatible output.
Sebastian
Strange: this is the same version I use. I don't know what to say: in ppl_c.h you should end up with
PPL_TYPE_DECLARATION(Polyhedron) PPL_TYPE_DECLARATION(Grid) PPL_TYPE_DECLARATION(Rational_Box) PPL_TYPE_DECLARATION(BD_Shape_mpz_class) PPL_TYPE_DECLARATION(BD_Shape_mpq_class) PPL_TYPE_DECLARATION(Octagonal_Shape_mpz_class) PPL_TYPE_DECLARATION(Octagonal_Shape_mpq_class) PPL_TYPE_DECLARATION(Constraints_Product_C_Polyhedron_Grid) PPL_TYPE_DECLARATION(Pointset_Powerset_C_Polyhedron) PPL_TYPE_DECLARATION(Pointset_Powerset_NNC_Polyhedron)
whereas you have
PPL_TYPE_DECLARATION(Polyhedron) PPL_TYPE_DECLARATION(Grid) PPL_TYPE_DECLARATION(Rational_Box) PPL_TYPE_DECLARATION(BD_Shape_mpz_class) PPL_TYPE_DECLARATION(_BD_Shape_mpq_class) PPL_TYPE_DECLARATION(_Octagonal_Shape_mpz_class) PPL_TYPE_DECLARATION(_Octagonal_Shape_mpq_class) PPL_TYPE_DECLARATION(_Constraints_Product_C_Polyhedron_Grid) PPL_TYPE_DECLARATION(_Pointset_Powerset_C_Polyhedron) PPL_TYPE_DECLARATION(_Pointset_Powerset_NNC_Polyhedron)
This file is created automatically, with m4 and Perl: I have no idea where the spurious underscores are coming from. If you can discover that, the problem will be solved. Otherwise we should find a way to reproduce the problem on a machine we can have access to. All the best,
Roberto
-- Prof. Roberto Bagnara Computer Science Group Department of Mathematics, University of Parma, Italy http://www.cs.unipr.it/~bagnara/ mailto:bagnara@cs.unipr.it _______________________________________________ PPL-devel mailing list PPL-devel@cs.unipr.it http://www.cs.unipr.it/mailman/listinfo/ppl-devel
participants (3)
-
Roberto Bagnara
-
Sebastian Pop
-
Tovrea, George W (US SSA)