Objet : Developers list for StarPU
Archives de la liste
- From: Sreeprakash S <sreeprakash.s@creativegenius.co.in>
- To: Samuel Thibault <samuel.thibault@ens-lyon.org>, Sreeprakash S <sreeprakash.s@creativegenius.co.in>, starpu-devel@lists.gforge.inria.fr
- Subject: Re: [Starpu-devel] Build issues On Windows8.1
- Date: Mon, 16 Feb 2015 20:30:25 +0530
- 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>
Hi Samuel,
Thanks for the swift response. I tried the latest nightly tarball from the link provided. Its giving the same errors as before. I will list out the errors, in detail, here.
In file included from c:\mingw\include\unistd.h:95:0,
from ../../src/common/timing.h:29,
from ../../src/common/timing.c:22:
c:\mingw\include\parts\time.h:65:8: error: redefinition of 'struct timespec'
struct timespec
^
In file included from ../../include/starpu_thread.h:26:0,
from ../../include/starpu.h:44,
from ../../src/common/timing.c:18:
c:\mingw\include\pthread.h:320:8: note: originally defined here
struct timespec {
^
../../src/common/timing.c: In function '_starpu_timing_init':
../../src/common/timing.c:178:3: warning: 'usleep' is deprecated (declared at c:
\mingw\include\unistd.h:129) [-Wdeprecated-declarations]
usleep(500000);
^
../../src/common/timing.c: At top level:
../../src/common/timing.c:224:8: error: conflicting types for 'starpu_timing_tim
espec_delay_us'
double starpu_timing_timespec_delay_us(struct timespec *start, struct timespec
*end)
^
In file included from ../../include/starpu.h:63:0,
from ../../src/common/timing.c:18:
../../include/starpu_profiling.h:167:8: note: previous declaration of 'starpu_ti
ming_timespec_delay_us' was here
double starpu_timing_timespec_delay_us(struct timespec *start, struct timespec
*end);
^
../../src/common/timing.c: In function 'starpu_timing_timespec_delay_us':
../../src/common/timing.c:228:2: warning: passing argument 1 of 'starpu_timespec
_sub' from incompatible pointer type [enabled by default]
starpu_timespec_sub(end, start, &diff);
^
In file included from ../../include/starpu.h:63:0,
from ../../src/common/timing.c:18:
../../include/starpu_profiling.h:150:29: note: expected 'const struct timespec *
' but argument is of type 'struct timespec *'
static __starpu_inline void starpu_timespec_sub(const struct timespec *a,
^
../../src/common/timing.c:228:2: warning: passing argument 2 of 'starpu_timespec
_sub' from incompatible pointer type [enabled by default]
starpu_timespec_sub(end, start, &diff);
^
In file included from ../../include/starpu.h:63:0,
from ../../src/common/timing.c:18:
../../include/starpu_profiling.h:150:29: note: expected 'const struct timespec *
' but argument is of type 'struct timespec *'
static __starpu_inline void starpu_timespec_sub(const struct timespec *a,
^
../../src/common/timing.c:228:2: warning: passing argument 3 of 'starpu_timespec
_sub' from incompatible pointer type [enabled by default]
starpu_timespec_sub(end, start, &diff);
^
In file included from ../../include/starpu.h:63:0,
from ../../src/common/timing.c:18:
../../include/starpu_profiling.h:150:29: note: expected 'struct timespec *' but
argument is of type 'struct timespec *'
static __starpu_inline void starpu_timespec_sub(const struct timespec *a,
^
../../src/common/timing.c: At top level:
../../src/common/timing.c:235:8: error: conflicting types for 'starpu_timing_tim
espec_to_us'
double starpu_timing_timespec_to_us(struct timespec *ts)
^
In file included from ../../include/starpu.h:63:0,
from ../../src/common/timing.c:18:
../../include/starpu_profiling.h:168:8: note: previous declaration of 'starpu_ti
ming_timespec_to_us' was here
double starpu_timing_timespec_to_us(struct timespec *ts);
^
make[2]: *** [libstarpu_1.1_la-timing.lo] Error 1
make[2]: Leaving directory `/d/works/mine/opencl/starpu_1_1_3/Build/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/d/works/mine/opencl/starpu_1_1_3/Build/src'
make: *** [all-recursive] Error 1
Along with the timespec issue, there's an all-recursive error as well.
Thanks in Advance,
Sreeprakash
On Mon, Feb 16, 2015 at 7:54 PM, Samuel Thibault <samuel.thibault@ens-lyon.org> wrote:
Hello,
Sreeprakash S, le Mon 16 Feb 2015 19:45:00 +0530, a écrit :
> "In file included from ../../include/starpu.h:63:0,
> from ../../src/common/timing.c:18:
> ../../include/starpu_profiling.h:150:29: note: expected 'struct timespec *' but
> argument is of type 'struct timespec *'
> static __starpu_inline void starpu_timespec_sub(const struct timespec *a,
You may want to give a try at the latest 1.1 nightly snapshot from
http://starpu.gforge.inria.fr/testing/branches/starpu-1.1/
We have fixed build issues related with timespec on Windows.
Samuel
- [Starpu-devel] Build issues On Windows8.1, Sreeprakash S, 16/02/2015
- Re: [Starpu-devel] Build issues On Windows8.1, Samuel Thibault, 16/02/2015
- Re: [Starpu-devel] Build issues On Windows8.1, Sreeprakash S, 16/02/2015
- Re: [Starpu-devel] Build issues On Windows8.1, Samuel Thibault, 16/02/2015
- Re: [Starpu-devel] Build issues On Windows8.1, Sreeprakash S, 17/02/2015
- Re: [Starpu-devel] Build issues On Windows8.1, Samuel Thibault, 17/02/2015
- Re: [Starpu-devel] Build issues On Windows8.1, Sreeprakash S, 17/02/2015
- Re: [Starpu-devel] Build issues On Windows8.1, Samuel Thibault, 17/02/2015
- Re: [Starpu-devel] Build issues On Windows8.1, Sreeprakash S, 17/02/2015
- Re: [Starpu-devel] Build issues On Windows8.1, Samuel Thibault, 17/02/2015
- Re: [Starpu-devel] Build issues On Windows8.1, Sreeprakash S, 17/02/2015
- Re: [Starpu-devel] Build issues On Windows8.1, Samuel Thibault, 17/02/2015
- Re: [Starpu-devel] Build issues On Windows8.1, Sreeprakash S, 17/02/2015
- Re: [Starpu-devel] Build issues On Windows8.1, Sreeprakash S, 17/02/2015
- Re: [Starpu-devel] Build issues On Windows8.1, Samuel Thibault, 17/02/2015
- Re: [Starpu-devel] Build issues On Windows8.1, Sreeprakash S, 17/02/2015
- Re: [Starpu-devel] Build issues On Windows8.1, Samuel Thibault, 16/02/2015
- Re: [Starpu-devel] Build issues On Windows8.1, Sreeprakash S, 16/02/2015
- Re: [Starpu-devel] Build issues On Windows8.1, Samuel Thibault, 16/02/2015
Archives gérées par MHonArc 2.6.19+.