<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:#0563C1;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:#954F72;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri","sans-serif";}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-US" link="#0563C1" vlink="#954F72">
<div class="WordSection1">
<p class="MsoNormal">Hi Everyone,<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Following the recipe from the powerpc crossbook 2.1 I run into a problem compiling clog:<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">I get: source/isl/domain.c:1697:2: error: unknown type name 'isl_int'<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">So it doesn’t seem to get the libraries from isl that we previously compiled.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Compiling verbose gives me this:<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">/bin/sh ./libtool  --tag=CC   --mode=compile gcc -DPACKAGE_NAME=\"cloog\" -DPACKAGE_TARNAME=\"cloog\" -DPACKAGE_VERSION=\"0.18.1\" -DPACKAGE_STRING=\"cloog\ 0.18.1\" -DPACKAGE_BUGREPORT=\"cloog-development@googlegroups.com\" -DPACKAGE_URL=\"\"
 -DPACKAGE=\"cloog\" -DVERSION=\"0.18.1\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\"
 -DSTDC_HEADERS=1 -DHAVE_STRTOL=1 -DHAVE_GETRUSAGE=1 -DCLOOG_RUSAGE=/\*\*/ -DHAVE_DECL_MP_GET_MEMORY_FUNCTIONS=1 -DCLOOG_INT_GMP=1 -I.  -I. -I./include -I./include -I/cross-tools/include  -I/cross-tools/include  -Wall -O3 -fomit-frame-pointer -malign-double
 -fstrict-aliasing -ffast-math -march=pentiumpro -MT libcloog_isl_la-domain.lo -MD -MP -MF .deps/libcloog_isl_la-domain.Tpo -c -o libcloog_isl_la-domain.lo `test -f 'source/isl/domain.c' || echo './'`source/isl/domain.c<o:p></o:p></p>
<p class="MsoNormal">libtool: compile:  gcc -DPACKAGE_NAME=\"cloog\" -DPACKAGE_TARNAME=\"cloog\" -DPACKAGE_VERSION=\"0.18.1\" "-DPACKAGE_STRING=\"cloog 0.18.1\"" -DPACKAGE_BUGREPORT=\"cloog-development@googlegroups.com\" -DPACKAGE_URL=\"\" -DPACKAGE=\"cloog\"
 -DVERSION=\"0.18.1\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DSTDC_HEADERS=1
 -DHAVE_STRTOL=1 -DHAVE_GETRUSAGE=1 "-DCLOOG_RUSAGE=/**/" -DHAVE_DECL_MP_GET_MEMORY_FUNCTIONS=1 -DCLOOG_INT_GMP=1 -I. -I. -I./include -I./include -I/cross-tools/include -I/cross-tools/include -Wall -O3 -fomit-frame-pointer -malign-double -fstrict-aliasing -ffast-math
 -march=pentiumpro -MT libcloog_isl_la-domain.lo -MD -MP -MF .deps/libcloog_isl_la-domain.Tpo -c source/isl/domain.c  -fPIC -DPIC -o .libs/libcloog_isl_la-domain.o<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">So it seems the configuration went ok:<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">LDFLAGS="-Wl,-rpath,/cross-tools/lib" \<o:p></o:p></p>
<p class="MsoNormal">    ./configure --prefix=/cross-tools --disable-static \<o:p></o:p></p>
<p class="MsoNormal">    --with-gmp-prefix=/cross-tools --with-isl-prefix=/cross-tools<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">As it contains the /cross-tools/include dir to search in where I did install the isl libraries in.<o:p></o:p></p>
<p class="MsoNormal">Despite this, it’s still not going well.<o:p></o:p></p>
<p class="MsoNormal">Any hints here?<o:p></o:p></p>
<p class="MsoNormal">Thanks,<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Reinoud.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
</body>
</html>