libpwl not found

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,
I've recently tried cross compiling 4.5 (and trunk) with graphite enabled for Blackfin.  In order to do this I added the latest releases of libppl and cloog-ppl to the appropriate directory, gcc found them and tried to build them as expected.  However, it then bombed out during the building of cloog when it couldn't find the previously built libpwl.  This appears to be because pwl is built, by default, in the ppl/Watchdog sub directory but ppllibs only includes:
ppllibs='-L$$r/$(HOST_SUBDIR)/ppl/interfaces/C/'"$lt_cv_objdir"' -L$$r/$(HOST_SUBDIR)/ppl/src/'"$lt_cv_objdir"

This is easily fixed by applying the patch below, however I can't help but feel I must be doing something wrong that I'm hitting this when it appears to have been the case for quite a while now.

So am I just doing something wrong here, or should the ppllibs path be updated (and presumably only when enable_watchdog is yes)?

Thanks,
Stu

--- a/configure
+++ b/configure
@@ -5559,7 +5559,7 @@ if test x"$with_ppl$with_ppl_include$with_ppl_lib" = x && test -d ${srcdir}/ppl;
   if test x"$enable_watchdog" = xyes; then
     pwllib="-lpwl"
   fi
-  ppllibs='-L$$r/$(HOST_SUBDIR)/ppl/interfaces/C/'"$lt_cv_objdir"' -L$$r/$(HOST_SUBDIR)/ppl/src/'"$lt_cv_objdir"
+  ppllibs='-L$$r/$(HOST_SUBDIR)/ppl/interfaces/C/'"$lt_cv_objdir"' -L$$r/$(HOST_SUBDIR)/ppl/src/'"$lt_cv_objdir"' -L$$r/$(HOST_SUBDIR)/ppl/Watchdog/src/'"$lt_cv_objdir"
   pplinc='-I$$r/$(HOST_SUBDIR)/ppl/src -I$$r/$(HOST_SUBDIR)/ppl/interfaces/C '
   enable_ppl_version_check=no
   with_ppl=yes




[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux