Dear all,
I am new in the slurm community.
I just want to know if somebody have experience in compiling slurm on recent
OsX.
I tried to ./configure and then make using the clang based gcc and the
following error occurs.
Is there any way to solve these problems
Thanks in adavnace
Rémi Marchal
hostlist.c:87:32: error: conflicting types for 'slurm_hostlist_create'
strong_alias(hostlist_create, slurm_hostlist_create);
^
../../src/common/macros.h:271:18: note: expanded from macro 'strong_alias'
extern void aliasname(int name)
^
../../slurm/slurm.h:836:19: note: previous declaration is here
extern hostlist_t slurm_hostlist_create PARAMS((const char *hostlist));
^
hostlist.c:89:31: error: conflicting types for 'slurm_hostlist_count'
strong_alias(hostlist_count, slurm_hostlist_count);
^
../../src/common/macros.h:271:18: note: expanded from macro 'strong_alias'
extern void aliasname(int name)
^
../../slurm/slurm.h:842:12: note: previous declaration is here
extern int slurm_hostlist_count PARAMS((hostlist_t hl));
^
hostlist.c:102:33: error: conflicting types for 'slurm_hostlist_destroy'
strong_alias(hostlist_destroy, slurm_hostlist_destroy);
^
../../src/common/macros.h:271:18: note: expanded from macro 'strong_alias'
extern void aliasname(int name)
^
../../slurm/slurm.h:849:13: note: previous declaration is here
extern void slurm_hostlist_destroy PARAMS((hostlist_t hl));
^
hostlist.c:103:30: error: conflicting types for 'slurm_hostlist_find'
strong_alias(hostlist_find, slurm_hostlist_find);
^
../../src/common/macros.h:271:18: note: expanded from macro 'strong_alias'
extern void aliasname(int name)
^
../../slurm/slurm.h:859:12: note: previous declaration is here
extern int slurm_hostlist_find PARAMS((hostlist_t hl, const char *hostname));
^
hostlist.c:112:30: error: conflicting types for 'slurm_hostlist_push'
strong_alias(hostlist_push, slurm_hostlist_push);
^
../../src/common/macros.h:271:18: note: expanded from macro 'strong_alias'
extern void aliasname(int name)
^
../../slurm/slurm.h:870:12: note: previous declaration is here
extern int slurm_hostlist_push PARAMS((hostlist_t hl, const char *hosts));
^
hostlist.c:114:34: error: conflicting types for 'slurm_hostlist_push_host'
strong_alias(hostlist_push_host, slurm_hostlist_push_host);
^
../../src/common/macros.h:271:18: note: expanded from macro 'strong_alias'
extern void aliasname(int name)
^
../../slurm/slurm.h:880:12: note: previous declaration is here
extern int slurm_hostlist_push_host PARAMS((hostlist_t hl, const char *host));
^
hostlist.c:118:38: error: conflicting types for 'slurm_hostlist_ranged_string'
strong_alias(hostlist_ranged_string, slurm_hostlist_ranged_string);
^
../../src/common/macros.h:271:18: note: expanded from macro 'strong_alias'
extern void aliasname(int name)
^
../../slurm/slurm.h:893:16: note: previous declaration is here
extern ssize_t slurm_hostlist_ranged_string PARAMS((hostlist_t hl,
^
hostlist.c:120:6: error: conflicting types for
'slurm_hostlist_ranged_string_malloc'
slurm_hostlist_ranged_string_malloc);
^
../../src/common/macros.h:271:18: note: expanded from macro 'strong_alias'
extern void aliasname(int name)
^
../../slurm/slurm.h:902:14: note: previous declaration is here
extern char *slurm_hostlist_ranged_string_malloc PARAMS((hostlist_t hl));
^
hostlist.c:124:6: error: conflicting types for
'slurm_hostlist_ranged_string_xmalloc'
slurm_hostlist_ranged_string_xmalloc);
^
../../src/common/macros.h:271:18: note: expanded from macro 'strong_alias'
extern void aliasname(int name)
^
../../slurm/slurm.h:912:14: note: previous declaration is here
extern char *slurm_hostlist_ranged_string_xmalloc PARAMS((hostlist_t hl));
^
hostlist.c:126:31: error: conflicting types for 'slurm_hostlist_shift'
strong_alias(hostlist_shift, slurm_hostlist_shift);
^
../../src/common/macros.h:271:18: note: expanded from macro 'strong_alias'
extern void aliasname(int name)
^
../../slurm/slurm.h:923:15: note: previous declaration is here
extern char * slurm_hostlist_shift PARAMS((hostlist_t hl));
^
hostlist.c:130:30: error: conflicting types for 'slurm_hostlist_uniq'
strong_alias(hostlist_uniq, slurm_hostlist_uniq);
^
../../src/common/macros.h:271:18: note: expanded from macro 'strong_alias'
extern void aliasname(int name)
^
../../slurm/slurm.h:930:13: note: previous declaration is here
extern void slurm_hostlist_uniq PARAMS((hostlist_t hl));
^
11 errors generated.
make[5]: *** [hostlist.lo] Error 1
make[4]: *** [../../src/common/libcommon.la] Error 2
make[3]: *** [../../src/api/libslurmhelper.la] Error 2
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
----------------------
Rémi MARCHAL
Ingénieur d'étude
Institut des sciences chimiques de Rennes
Equipe Chimie Théorique Inorganique
Campus de Beaulieu- Batiment 10B -
F-35043 RENNES Cedex
Mail: [email protected]
Tel: +33 (0)2 23 23 80 33