[Clfs-support] What am i forgetting?

Koornstra, Reinoud koornstra at hp.com
Mon May 5 16:28:25 PDT 2014


Hi Everyone,

Following the recipe from the powerpc crossbook 2.1 I run into a problem compiling clog:

I get: source/isl/domain.c:1697:2: error: unknown type name 'isl_int'

So it doesn't seem to get the libraries from isl that we previously compiled.

Compiling verbose gives me this:

/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 at 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
libtool: compile:  gcc -DPACKAGE_NAME=\"cloog\" -DPACKAGE_TARNAME=\"cloog\" -DPACKAGE_VERSION=\"0.18.1\" "-DPACKAGE_STRING=\"cloog 0.18.1\"" -DPACKAGE_BUGREPORT=\"cloog-development at 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

So it seems the configuration went ok:

LDFLAGS="-Wl,-rpath,/cross-tools/lib" \
    ./configure --prefix=/cross-tools --disable-static \
    --with-gmp-prefix=/cross-tools --with-isl-prefix=/cross-tools

As it contains the /cross-tools/include dir to search in where I did install the isl libraries in.
Despite this, it's still not going well.
Any hints here?
Thanks,

Reinoud.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.clfs.org/pipermail/clfs-support-clfs.org/attachments/20140505/abdb4bd8/attachment.html>


More information about the Clfs-support mailing list