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: Wed, 18 Feb 2015 12:24:54 +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,
Tried including sys/stat.h instead of time.h but got the same errors as before
configure:20848: gcc -c -g -O2 -I/d/works/mine/opencl/starpu_1_1_3/build/../include/pthread_win32 conftest.c >&5
In file included from conftest.c:33:0:
d:/works/mine/opencl/starpu_1_1_3/build/../include/pthread_win32/pthread.h:294:104: warning: 'struct timespec' declared inside parameter list [enabled by default]
static __inline int pthread_cond_timedwait (pthread_cond_t *cond, pthread_mutex_t *mutex, const struct timespec *time) {
^
d:/works/mine/opencl/starpu_1_1_3/build/../include/pthread_win32/pthread.h:294:104: warning: its scope is only this definition or declaration, which is probably not what you want [enabled by default]
d:/works/mine/opencl/starpu_1_1_3/build/../include/pthread_win32/pthread.h: In function 'pthread_cond_timedwait':
d:/works/mine/opencl/starpu_1_1_3/build/../include/pthread_win32/pthread.h:300:46: error: dereferencing pointer to incomplete type
switch (WaitForSingleObject(cond->sem, time->tv_sec*1000+time->tv_nsec/1000)) {
^
d:/works/mine/opencl/starpu_1_1_3/build/../include/pthread_win32/pthread.h:300:64: error: dereferencing pointer to incomplete type
switch (WaitForSingleObject(cond->sem, time->tv_sec*1000+time->tv_nsec/1000)) {
Looks like its not picking upon the timespec struct definition from parts/time.h. I tried explicitly setting the macro __need_struct_timespec before including time.h, but its still not picking it up. I am completely out of ideas on how to get this working.
Regards,
Sreeprakash
On Tue, Feb 17, 2015 at 9:59 PM, Samuel Thibault <samuel.thibault@ens-lyon.org> wrote:
Sreeprakash S, le Tue 17 Feb 2015 21:13:53 +0530, a écrit :
> pthread.h:294:104: warning: 'struct timespec' declared inside parameter list
> [enabled by default]
Ew, I hadn't realize that time.h was using a __need_struct_timespec
logic.
Could you try to #include <sys/stat.h> instead of <time.h>?
Samuel
- Re: [Starpu-devel] Build issues On Windows8.1, (suite)
- 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, 18/02/2015
- Re: [Starpu-devel] Build issues On Windows8.1, Sreeprakash S, 19/02/2015
- Re: [Starpu-devel] Build issues On Windows8.1, Samuel Thibault, 19/02/2015
- Re: [Starpu-devel] Build issues On Windows8.1, Samuel Thibault, 19/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
Archives gérées par MHonArc 2.6.19+.