Accéder au contenu.
Menu Sympa

starpu-devel - Re: [Starpu-devel] Build issues On Windows8.1

Objet : Developers list for StarPU

Archives de la liste

Re: [Starpu-devel] Build issues On Windows8.1


Chronologique Discussions 
  • From: Samuel Thibault <samuel.thibault@ens-lyon.org>
  • To: Sreeprakash S <sreeprakash.s@creativegenius.co.in>
  • Cc: starpu-devel@lists.gforge.inria.fr
  • Subject: Re: [Starpu-devel] Build issues On Windows8.1
  • Date: Wed, 18 Feb 2015 15:21:43 +0100
  • List-archive: <http://lists.gforge.inria.fr/pipermail/starpu-devel/>
  • List-id: "Developers list. For discussion of new features, code changes, etc." <starpu-devel.lists.gforge.inria.fr>

Sreeprakash S, le Wed 18 Feb 2015 19:18:01 +0530, a écrit :
> Tried  replacing <unistd.h> instead of <time.h> and <sys/stat.h>. It gave
> errors in barrier.c
>
>   CC       libstarpu_1.1_la-barrier.lo
> In file included from ../../include/starpu_thread_util.h:21:0,
>                  from ../../include/starpu.h:45,
>                  from ../../src/common/utils.h:21,
>                  from ../../src/common/barrier.c:18:
> ../../include/starpu_util.h:292:8: error: redefinition of 'struct timespec'

Ah, right, we also define it there. So include <unistd.h> there too, and
replace #if !defined(_TIMESPEC_DEFINED) && !defined(HAVE_STRUCT_TIMESPEC)
with #if 0

Samuel




Archives gérées par MHonArc 2.6.19+.

Haut de le page