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

Roberto Bagnara bagnara at cs.unipr.it
Mon Aug 10 18:37:19 CEST 2009


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):

1) 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'.

Cheers,

    Roberto

-- 
Prof. Roberto Bagnara
Computer Science Group
Department of Mathematics, University of Parma, Italy
http://www.cs.unipr.it/~bagnara/
mailto:bagnara at cs.unipr.it



More information about the PPL-devel mailing list