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: Tue, 17 Feb 2015 20:50:19 +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,
Including <time.h> just after <sys/types.h> didn't help. Gave the same errors with struct timespec. I have attached the make output. As you mentioned the macro guard change may be the culprit. I guess I'll move to the older mingw version till this gets fixed in the StarPu trunk. I can help you with testing out the required changes.
Thanks And Regards,
Sreeprakash
On Tue, Feb 17, 2015 at 8:34 PM, Samuel Thibault <samuel.thibault@ens-lyon.org> wrote:
Sreeprakash S, le Tue 17 Feb 2015 20:30:29 +0530, a écrit :
> #if defined __need_struct_timespec && ! __struct_timespec_defined
So they changed the guard. I'll have a look at improving our detection.
Samuel
In file included from C:/StarPu/Cuda/v6.5/include/builtin_types.h:60:0,
from C:/StarPu/Cuda/v6.5/include/cuda_runtime.h:67,
from ../../include/starpu_data_interfaces.h:29,
from ../../include/starpu.h:48,
from ../../src/common/utils.h:21,
from ../../src/common/barrier.c:18:
C:/StarPu/Cuda/v6.5/include/vector_types.h:73:0: warning: ignoring #pragma
warni
ng [-Wunknown-pragmas]
#pragma warning(push)
^
C:/StarPu/Cuda/v6.5/include/vector_types.h:74:0: warning: ignoring #pragma
warni
ng [-Wunknown-pragmas]
#pragma warning(disable: 4201 4408)
^
C:/StarPu/Cuda/v6.5/include/vector_types.h:350:0: warning: ignoring #pragma
warn
ing [-Wunknown-pragmas]
#pragma warning(pop)
^
CC libstarpu_1.1_la-bitmap.lo
In file included from C:/StarPu/Cuda/v6.5/include/device_types.h:53:0,
from C:/StarPu/Cuda/v6.5/include/builtin_types.h:56,
from C:/StarPu/Cuda/v6.5/include/cuda_runtime.h:67,
from ../../include/starpu_data_interfaces.h:29,
from ../../include/starpu.h:48,
from ../../src/common/bitmap.c:17:
C:/StarPu/Cuda/v6.5/include/host_defines.h:79:0: warning: "__cdecl" redefined
[e
nabled by default]
#define __cdecl
^
../../src/common/bitmap.c:1:0: note: this is the location of the previous
defini
tion
/* StarPU --- Runtime system for heterogeneous multicore architectures.
^
In file included from C:/StarPu/Cuda/v6.5/include/builtin_types.h:60:0,
from C:/StarPu/Cuda/v6.5/include/cuda_runtime.h:67,
from ../../include/starpu_data_interfaces.h:29,
from ../../include/starpu.h:48,
from ../../src/common/bitmap.c:17:
C:/StarPu/Cuda/v6.5/include/vector_types.h:73:0: warning: ignoring #pragma
warni
ng [-Wunknown-pragmas]
#pragma warning(push)
^
C:/StarPu/Cuda/v6.5/include/vector_types.h:74:0: warning: ignoring #pragma
warni
ng [-Wunknown-pragmas]
#pragma warning(disable: 4201 4408)
^
C:/StarPu/Cuda/v6.5/include/vector_types.h:350:0: warning: ignoring #pragma
warn
ing [-Wunknown-pragmas]
#pragma warning(pop)
^
CC libstarpu_1.1_la-barrier_counter.lo
In file included from C:/StarPu/Cuda/v6.5/include/device_types.h:53:0,
from C:/StarPu/Cuda/v6.5/include/builtin_types.h:56,
from C:/StarPu/Cuda/v6.5/include/cuda_runtime.h:67,
from ../../include/starpu_data_interfaces.h:29,
from ../../include/starpu.h:48,
from ../../src/common/utils.h:21,
from ../../src/common/barrier_counter.h:20,
from ../../src/common/barrier_counter.c:17:
C:/StarPu/Cuda/v6.5/include/host_defines.h:79:0: warning: "__cdecl" redefined
[e
nabled by default]
#define __cdecl
^
../../src/common/barrier_counter.c:1:0: note: this is the location of the
previo
us definition
/* StarPU --- Runtime system for heterogeneous multicore architectures.
^
In file included from C:/StarPu/Cuda/v6.5/include/builtin_types.h:60:0,
from C:/StarPu/Cuda/v6.5/include/cuda_runtime.h:67,
from ../../include/starpu_data_interfaces.h:29,
from ../../include/starpu.h:48,
from ../../src/common/utils.h:21,
from ../../src/common/barrier_counter.h:20,
from ../../src/common/barrier_counter.c:17:
C:/StarPu/Cuda/v6.5/include/vector_types.h:73:0: warning: ignoring #pragma
warni
ng [-Wunknown-pragmas]
#pragma warning(push)
^
C:/StarPu/Cuda/v6.5/include/vector_types.h:74:0: warning: ignoring #pragma
warni
ng [-Wunknown-pragmas]
#pragma warning(disable: 4201 4408)
^
C:/StarPu/Cuda/v6.5/include/vector_types.h:350:0: warning: ignoring #pragma
warn
ing [-Wunknown-pragmas]
#pragma warning(pop)
^
CC libstarpu_1.1_la-hash.lo
In file included from C:/StarPu/Cuda/v6.5/include/device_types.h:53:0,
from C:/StarPu/Cuda/v6.5/include/builtin_types.h:56,
from C:/StarPu/Cuda/v6.5/include/cuda_runtime.h:67,
from ../../include/starpu_data_interfaces.h:29,
from ../../include/starpu.h:48,
from ../../src/common/hash.c:18:
C:/StarPu/Cuda/v6.5/include/host_defines.h:79:0: warning: "__cdecl" redefined
[e
nabled by default]
#define __cdecl
^
../../src/common/hash.c:1:0: note: this is the location of the previous
definiti
on
/* StarPU --- Runtime system for heterogeneous multicore architectures.
^
In file included from C:/StarPu/Cuda/v6.5/include/builtin_types.h:60:0,
from C:/StarPu/Cuda/v6.5/include/cuda_runtime.h:67,
from ../../include/starpu_data_interfaces.h:29,
from ../../include/starpu.h:48,
from ../../src/common/hash.c:18:
C:/StarPu/Cuda/v6.5/include/vector_types.h:73:0: warning: ignoring #pragma
warni
ng [-Wunknown-pragmas]
#pragma warning(push)
^
C:/StarPu/Cuda/v6.5/include/vector_types.h:74:0: warning: ignoring #pragma
warni
ng [-Wunknown-pragmas]
#pragma warning(disable: 4201 4408)
^
C:/StarPu/Cuda/v6.5/include/vector_types.h:350:0: warning: ignoring #pragma
warn
ing [-Wunknown-pragmas]
#pragma warning(pop)
^
CC libstarpu_1.1_la-rwlock.lo
In file included from C:/StarPu/Cuda/v6.5/include/device_types.h:53:0,
from C:/StarPu/Cuda/v6.5/include/builtin_types.h:56,
from C:/StarPu/Cuda/v6.5/include/cuda_runtime.h:67,
from ../../include/starpu_data_interfaces.h:29,
from ../../include/starpu.h:48,
from ../../src/common/rwlock.h:22,
from ../../src/common/rwlock.c:22:
C:/StarPu/Cuda/v6.5/include/host_defines.h:79:0: warning: "__cdecl" redefined
[e
nabled by default]
#define __cdecl
^
../../src/common/rwlock.c:1:0: note: this is the location of the previous
defini
tion
/* StarPU --- Runtime system for heterogeneous multicore architectures.
^
In file included from C:/StarPu/Cuda/v6.5/include/builtin_types.h:60:0,
from C:/StarPu/Cuda/v6.5/include/cuda_runtime.h:67,
from ../../include/starpu_data_interfaces.h:29,
from ../../include/starpu.h:48,
from ../../src/common/rwlock.h:22,
from ../../src/common/rwlock.c:22:
C:/StarPu/Cuda/v6.5/include/vector_types.h:73:0: warning: ignoring #pragma
warni
ng [-Wunknown-pragmas]
#pragma warning(push)
^
C:/StarPu/Cuda/v6.5/include/vector_types.h:74:0: warning: ignoring #pragma
warni
ng [-Wunknown-pragmas]
#pragma warning(disable: 4201 4408)
^
C:/StarPu/Cuda/v6.5/include/vector_types.h:350:0: warning: ignoring #pragma
warn
ing [-Wunknown-pragmas]
#pragma warning(pop)
^
CC libstarpu_1.1_la-starpu_spinlock.lo
In file included from C:/StarPu/Cuda/v6.5/include/device_types.h:53:0,
from C:/StarPu/Cuda/v6.5/include/builtin_types.h:56,
from C:/StarPu/Cuda/v6.5/include/cuda_runtime.h:67,
from ../../include/starpu_data_interfaces.h:29,
from ../../include/starpu.h:48,
from ../../src/common/thread.h:21,
from ../../src/common/starpu_spinlock.h:24,
from ../../src/common/starpu_spinlock.c:18:
C:/StarPu/Cuda/v6.5/include/host_defines.h:79:0: warning: "__cdecl" redefined
[e
nabled by default]
#define __cdecl
^
../../src/common/starpu_spinlock.c:1:0: note: this is the location of the
previo
us definition
/* StarPU --- Runtime system for heterogeneous multicore architectures.
^
In file included from C:/StarPu/Cuda/v6.5/include/builtin_types.h:60:0,
from C:/StarPu/Cuda/v6.5/include/cuda_runtime.h:67,
from ../../include/starpu_data_interfaces.h:29,
from ../../include/starpu.h:48,
from ../../src/common/thread.h:21,
from ../../src/common/starpu_spinlock.h:24,
from ../../src/common/starpu_spinlock.c:18:
C:/StarPu/Cuda/v6.5/include/vector_types.h:73:0: warning: ignoring #pragma
warni
ng [-Wunknown-pragmas]
#pragma warning(push)
^
C:/StarPu/Cuda/v6.5/include/vector_types.h:74:0: warning: ignoring #pragma
warni
ng [-Wunknown-pragmas]
#pragma warning(disable: 4201 4408)
^
C:/StarPu/Cuda/v6.5/include/vector_types.h:350:0: warning: ignoring #pragma
warn
ing [-Wunknown-pragmas]
#pragma warning(pop)
^
CC libstarpu_1.1_la-timing.lo
In file included from C:/StarPu/Cuda/v6.5/include/device_types.h:53:0,
from C:/StarPu/Cuda/v6.5/include/builtin_types.h:56,
from C:/StarPu/Cuda/v6.5/include/cuda_runtime.h:67,
from ../../include/starpu_data_interfaces.h:29,
from ../../include/starpu.h:48,
from ../../src/common/timing.c:18:
C:/StarPu/Cuda/v6.5/include/host_defines.h:79:0: warning: "__cdecl" redefined
[e
nabled by default]
#define __cdecl
^
../../src/common/timing.c:1:0: note: this is the location of the previous
defini
tion
/* StarPU --- Runtime system for heterogeneous multicore architectures.
^
In file included from C:/StarPu/Cuda/v6.5/include/builtin_types.h:60:0,
from C:/StarPu/Cuda/v6.5/include/cuda_runtime.h:67,
from ../../include/starpu_data_interfaces.h:29,
from ../../include/starpu.h:48,
from ../../src/common/timing.c:18:
C:/StarPu/Cuda/v6.5/include/vector_types.h:73:0: warning: ignoring #pragma
warni
ng [-Wunknown-pragmas]
#pragma warning(push)
^
C:/StarPu/Cuda/v6.5/include/vector_types.h:74:0: warning: ignoring #pragma
warni
ng [-Wunknown-pragmas]
#pragma warning(disable: 4201 4408)
^
C:/StarPu/Cuda/v6.5/include/vector_types.h:350:0: warning: ignoring #pragma
warn
ing [-Wunknown-pragmas]
#pragma warning(pop)
^
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:
d:/works/mine/opencl/starpu_1_1_3/build/../include/pthread_win32/pthread.h:277: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
- [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, Samuel Thibault, 17/02/2015
- Re: [Starpu-devel] Build issues On Windows8.1, Sreeprakash S, 18/02/2015
- Re: [Starpu-devel] Build issues On Windows8.1, Samuel Thibault, 18/02/2015
- Re: [Starpu-devel] Build issues On Windows8.1, Sreeprakash S, 18/02/2015
- Re: [Starpu-devel] Build issues On Windows8.1, Samuel Thibault, 18/02/2015
- Re: [Starpu-devel] Build issues On Windows8.1, Sreeprakash S, 18/02/2015
- Re: [Starpu-devel] Build issues On Windows8.1, Samuel Thibault, 18/02/2015
- Re: [Starpu-devel] Build issues On Windows8.1, Samuel Thibault, 18/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+.